Muscat.IO.SamcefReader module

Samcef dat (bank) file reader

CheckIntegrity()[source]
class DatReader[source]

Bases: ReaderBase

Samcef dat (bank) Reader class

Read(fileName=None, string=None, out=None)[source]

Function that performs the reading of a samcef bank 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:

Mesh

ReadCleanLine()[source]

Return the next (non comment) line in the file

Returns:

Return the next clean line

Return type:

str

DischardTillNextSection(func)[source]
LineToDic(text, res=None)[source]
LineToList(text)[source]