MeshImporter#
- Full name
pylith.topology.MeshImporter- Journal name
meshimporter
Base class for reading a finite-element mesh from files.
Implements MeshGenerator.
Pyre Facilities#
distributor: Distributes mesh among processes.current value: ‘mesh_distributor’, from {default}
configurable as: mesh_distributor, distributor
reader: Reader for mesh files.current value: ‘meshioascii’, from {default}
configurable as: meshioascii, reader
refiner: Performs uniform global mesh refinement after distribution among processes (default is no refinement).current value: ‘refiner’, from {default}
configurable as: refiner
Pyre Properties#
debug=<bool>: Debugging flag for mesh.default value: False
current value: False, from {file=’/software/unix/py39-venv/pylith-debug/lib/python3.9/site-packages/pythia/pyre/inventory/ConfigurableClass.py’, line=26, function=’set’}
interpolate=<bool>: Build intermediate mesh topology elementsdefault value: True
current value: True, from {file=’/software/unix/py39-venv/pylith-debug/lib/python3.9/site-packages/pythia/pyre/inventory/ConfigurableClass.py’, line=26, function=’set’}
reorder_mesh=<bool>: Reorder mesh using reverse Cuthill-McKee.default value: True
current value: True, from {default}
Example#
Example of setting MeshImporter Pyre properties and facilities in a parameter file.
[pylithapp.meshimporter]
reorder_mesh = True
reader = pylith.meshio.MeshIOCubit
refiner = pylith.topology.RefineUniform