BasicTools.IO.SamcefWriter module

Samcef dat (bank) file writer

BasicTools.IO.SamcefWriter.CheckIntegrity()[source]
class BasicTools.IO.SamcefWriter.DatWriter[source]

Bases: WriterBase

Class to write a Samcef dat (bank) file

Write(meshObject, PointFieldsNames=None, PointFields=None, CellFieldsNames=None, CellFields=None, GridFieldsNames=None, GridFields=None)[source]

Write mesh to file in Samcef dat format

Parameters:
  • meshObject (UnstructuredMesh) – the mesh to be written

  • PointFieldsNames (None) – Not Used, by default None

  • PointFields (None) – Not Used, by default None

  • CellFieldsNames (list[str], optional) – name of the fields defined at the cell to write, by default None

  • CellFields (list[np.ndarray], optional) – fields defined at the cell to write, by default None

  • GridFieldsNames (None) – Not Used, by default None

  • GridFields (None) – Not Used, by default None