Mordicus.Modules.sorbonne.IO.VTKMeshReader module

Mordicus.Modules.sorbonne.IO.VTKMeshReader.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)

class Mordicus.Modules.sorbonne.IO.VTKMeshReader.VTKMeshReader(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.sorbonne.IO.VTKMeshReader.VTKReadMesh(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