Mordicus.Modules.CT.IO.MeshReader module

class Mordicus.Modules.CT.IO.MeshReader.MeshReader(meshFileName)[source]

Bases: MeshReaderBase

Class containing a reader for VTK mesh and fields file

meshFileName

name of the VTK mesh file (.vtu)

Type

str

ReadMesh()[source]

Read the HF mesh

Returns

mesh of the HF computation

Return type

BasicToolsUnstructuredMesh

ReadVTKBase()[source]

Read the HF mesh

Returns

mesh of the HF computation

Return type

VTK data structure with mesh

Mordicus.Modules.CT.IO.MeshReader.ReadMesh(meshFileName)[source]

Functional API

Reads the mesh file “meshFileName” VTK (.vtu)

Parameters

meshFileName (str) – VTK file

Returns

mesh of the HF computation

Return type

BasicToolsUnstructuredMesh

Mordicus.Modules.CT.IO.MeshReader.ReadVTKBase(meshFileName)[source]

Functional API

Reads the file “meshFileName” VTK (.vtu)

Parameters

meshFileName (str) – VTK mesh and fields file

Returns

mesh and fields of the HF computation

Return type

VTK data structure (UnstructuredMesh)