Mordicus.Modules.sorbonne.IO.GmshMeshReader module¶
- Mordicus.Modules.sorbonne.IO.GmshMeshReader.CheckAndConvertMeshFFtoGMSH(meshFileName, meshFileNameGMSH, dimension)[source]¶
Functional API
Convert the mesh from FreeFem++ to Gmsh mesh format “meshFileName” (.msh)
- Parameters
meshFileName (str) – Gmsh or FF++ mesh file
- Returns
mesh of the HF computation
- Return type
GMSH mesh
- Mordicus.Modules.sorbonne.IO.GmshMeshReader.ConvertFFtoGMSH(meshFileName, meshFileNameGMSH, dimension)[source]¶
- class Mordicus.Modules.sorbonne.IO.GmshMeshReader.GmshMeshReader(meshFileName)[source]¶
Bases:
MeshReaderBase
Class containing a reader for Z-set mesh file
- meshFileName¶
name of the GMSH mesh file (.msh)
- Type
str
- Mordicus.Modules.sorbonne.IO.GmshMeshReader.ReadGMSHBase(meshFileName)[source]¶
Functional API
Reads the file “meshFileName” VTK (.vtu)
- Parameters
meshFileName (str) – VTK mesh and fields file
- Returns
mesh and fields of the HF computation
- Return type
VTK data structure (UnstructuredMesh)