General OFT utilities for mesh generation and manipulation.
- Authors
- Chris Hansen
- Date
- July 2026
| write_native_mesh |
( |
| filename, |
|
|
| mesh_type, |
|
|
| r, |
|
|
| lc, |
|
|
| reg, |
|
|
| nodesets = None, |
|
|
| sidesets = None, |
|
|
| ho_info = None, |
|
|
| periodic_info = None, |
|
|
| reg_attrs = None, |
|
|
| reg_names = None ) |
Create a native HDF5 mesh file for OFT from the given mesh information
@param filename Filename for mesh file
@param mesh_type Mesh type string ( "tri", "quad", "tet", "hex")
@param r Points list [np,3]
@param lc Cell list [nc,np_per_cell] (0-based)
@param reg Region list [nc]
@param nodesets List of node sets (0-based)
@param sidesets List of side sets (0-based)
@param ho_info High-order grid information
@param periodic_info Information for mesh periodicity
@param reg_attrs List of region attributes
@param block_names List of block names