MeshIOLagrit#
- Full name
pylith.meshio.MeshIOLagrit
- Journal name
meshiolagrit
Reader for finite-element meshes generated by LaGriT.
Warning
The coordinate system associated with the mesh must be a Cartesian coordinate system, such as a generic Cartesian coordinate system or a geographic projection.
Danger
The PyLith developers have not used LaGriT since around 2008 and there have been a few releases since then so the interface may not be up to date.
Implements MeshIOObj
.
Pyre Facilities#
coordsys
: Coordinate system associated with mesh.current value: ‘cscart’, from {default}
configurable as: cscart, coordsys
Pyre Properties#
filename_gmv
=<str>: Name of mesh GMV file.default value: ‘mesh.gmv’
current value: ‘mesh.gmv’, from {default}
validator: <function validateFilenameGmv at 0x1248ef0d0>
filename_pset
=<str>: Name of mesh PSET file.default value: ‘mesh.pset’
current value: ‘mesh.pset’, from {default}
validator: <function validateFilenamePset at 0x1248ef160>
flip_endian
=<bool>: Flip endian type when reading/writing binary files.default value: False
current value: False, from {default}
io_int32
=<bool>: PSTE files use 32-bit integers.default value: True
current value: True, from {default}
record_header_32bit
=<bool>: Fortran record header is 32-bit.default value: True
current value: True, from {default}
Example#
Example of setting MeshIOLagrit
Pyre properties and facilities in a parameter file.
[pylithapp.mesh_generator.reader]
filename_gmv = mesh_tet.gmv
filename_pset = mesh_tet.pset
coordsys.space_dim = 3