Muscat.IO.GmshReader module¶
Gmsh file reader (gmsh mesh files)
- class GmshReader[source]¶
Bases:
ReaderBase
Class to read Gmsh files into a Mesh
- Parameters:
readGeoTags (Bool) – option to activate/deactivate the reading of the Geometrical tags of the files
readPhyTags (Bool) – option to activate/deactivate the reading of the Physical tags of the files
- Read(fileName: str | None = None, string: str | None = None, out: Mesh | None = None) Mesh [source]¶
Function that performs the reading of a gmsh mesh file
- Parameters:
fileName (str, optional) – name of the file to be read, by default None
string (str, optional) – data to be read as a string instead of a file, by default None
out (Mesh, optional) – output unstructured mesh object containing reading result, by default None
- Returns:
output unstructured mesh object containing reading result
- Return type:
- ReadGmsh(fileName: str = '', string: str = '', out=None, **kwargs) Mesh [source]¶
Function API for reading a gmsh file
- Parameters:
fileName (str, optional) – name of the file to be read, by default None
string (str, optional) – data to be read as a string instead of a file, by default None
out (Mesh, optional) – output unstructured mesh object containing reading result, by default None
- Returns:
output unstructured mesh object containing reading result
- Return type: