Muscat.IO.GeoReader module

Geo file reader (Zset mesh file)

CheckIntegrity()[source]
class GeoReader[source]

Bases: ReaderBase

Geo Reader class

Read(fileName=None, out=None, readElset=True, readFaset=True, onlyMeta=False)[source]

Function that performs the reading of a geo mesh file

Parameters:
  • fileName (str, optional) – name of the file to be read, by default None

  • out (Mesh, optional) – Not Used, by default None

  • readElset (bool, optional) – Not Used, by default None

  • readFaset (bool, optional) – Not Used, by default None

  • onlyMeta (bool, optional) – if True, only read metadata, by default False

Returns:

output unstructured mesh object containing reading result

Return type:

Mesh

ReadMetaData()[source]

Function that performs the reading of the metadata of a geof mesh file

Returns:

global information on the mesh to read

Return type:

dict

readInt32()[source]
readInts32(cpt)[source]
readMagic()[source]
ReadGeo(fileName=None, out=None, readElset=True, readFaset=True)[source]

Function API for reading a geo mesh file

Parameters:
  • fileName (str, optional) – name of the file to be read, 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

Returns:

output unstructured mesh object containing reading result

Return type:

Mesh

ReadMetaData(fileName=None)[source]

Function API for reading the metadata of a geo mesh file

Parameters:

fileName (str, optional) – name of the file to be read, by default None

Returns:

global information on the mesh to read

Return type:

dict