Muscat.IO.GeofReader module¶
Geof file reader (Zset mesh file)
- class GeofReader[source]¶
Bases:
ReaderBase
Geof Reader class
- Read(fileName=None, string=None, out=None, readElset=True, readFaset=True, printNotRead=True)[source]¶
Function that performs the reading of a geof 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
readElset (bool, optional) – if False, ignores the elset informations, by default True
readFaset (bool, optional) – if False, ignores the faset informations, by default True
printNotRead (bool, optional) – if True, prints in console the lines dot understood by the reader, by default True
- Returns:
output unstructured mesh object containing reading result
- Return type:
- ReadGeof(fileName: str = '', string: str = '', out=None, readElset=True, readFaset=True, printNotRead=True)[source]¶
Function API for reading a geof mesh file
- Parameters:
fileName (str, optional) – name of the file to be read, by default “”
string (str, optional) – data to be read as a string instead of a file, by default “”
out (Mesh, optional) – output unstructured mesh object containing reading result, by default None
readElset (bool, optional) – if False, ignores the elset information, by default True
readFaset (bool, optional) – if False, ignores the faset information, by default True
printNotRead (bool, optional) – if True, prints in console the lines dot understood by the reader, by default True
- Returns:
output unstructured mesh object containing reading result
- Return type:
- ReadMetaData(fileName: str = '', string: str = '')[source]¶
Function API for reading the metadata of a geof 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
- Returns:
global information on the mesh to read
- Return type:
dict