mesh_part_prep Package¶
mesh_part_prep Package¶
A preprocessort for the mesh partitioner
cli Module¶
The command line interface for mesh_part_prep allows you to run preperatory
steps needed to transform the output files generated by the Triangle program into METIS compatible input
files.
After installation, you can use:
mesh_part_prep --help
usage: mesh_part_prep [-h] [-l {DEBUG,INFO,WARNING,ERROR,CRITICAL}] mesh_dir
positional arguments:
mesh_dir Path to the unpartioned mesh directory
optional arguments:
-h, --help show this help message and exit
-l {DEBUG,INFO,WARNING,ERROR,CRITICAL}, --log {DEBUG,INFO,WARNING,ERROR,CRITICAL}
Set the logging level
The only required argument is the path to the mesh:
mesh_part_prep /some/path/goes/here
In this case, the level information is prepended to the aux3d.out file.
mesh_part_prep Module¶
The Python module allows you to prepare a Triangle output for use with the mesh partitioner.
A minimal example:
>>> from mesh_part_prep import RawMesh
>>> path = "/some/path/with/a/triangle/output"
>>> rm = RawMesh(path)
>>> rm.process()