BasicTools.IO.SamcefReader module

Samcef dat (bank) file reader

BasicTools.IO.SamcefReader.CheckIntegrity()[source]
class BasicTools.IO.SamcefReader.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 (UnstructuredMesh, optional) – output unstructured mesh object containing reading result, by default None

Returns:

output unstructured mesh object containing reading result

Return type:

UnstructuredMesh

ReadCleanLine(withError=False)[source]
BasicTools.IO.SamcefReader.DischardTillNextSection(func)[source]
BasicTools.IO.SamcefReader.LineToDic(text, res=None)[source]
BasicTools.IO.SamcefReader.LineToList(text)[source]