Usage
GeoTEQpy can perform 3 main tasks:
Structured mesh extrusion in any direction
Computation of the medial axis of an arbitrary 3D shape
Export data from pTatin3d to SeisSol using the format required by ASAGI
Mesh extrusion
Mesh extrusion can be performed using the executable scripts/mesh_extrude.py.
This executable reads a YAML file containing the parameters needed for the extrusion.
Use the following command to run the executable:
python scripts/mesh_extrude.py -f path/to/parameters.yaml
Use the following command to see the available options:
python scripts/mesh_extrude.py -h
Medial axis computation
The medial axis of a 3D shape can be computed using the executable scripts/get_medial_axis.py.
This executable reads a YAML file containing the parameters needed for the computation.
Use the following command to run the executable:
python scripts/get_medial_axis.py -f path/to/parameters.yaml
Use the following command to see the available options:
python scripts/get_medial_axis.py -h
Export data from pTatin3d to SeisSol
Exporting data from pTatin3d to SeisSol can be performed using the executable scripts/ptatin2asagi.py.
This executable reads a YAML file containing the parameters needed for the export.
Use the following command to run the executable:
python scripts/ptatin2asagi.py -f path/to/parameters.yaml
Use the following command to see the available options:
python scripts/ptatin2asagi.py -h
Additional executable
In addition to the previous functionalities, GeoTEQpy provides an executable to rotate faults surface from a coordinate system where \(y\) is the vertical direction (e.g. pTatin3d) to a coordinate system where \(z\) is the vertical direction (e.g. SeisSol). This executable reads a YAML file containing the parameters needed for the export. Use the following command to run the executable:
python scripts/fault_surface_rotation.py -f path/to/parameters.yaml
Use the following command to see the available options:
python scripts/fault_surface_rotation.py -h