Mordicus.Modules.sorbonne.IO.MeshReader module

class Mordicus.Modules.sorbonne.IO.MeshReader.MeshReader(meshFileName, dimension)[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

Mordicus.Modules.sorbonne.IO.MeshReader.ReadMesh(meshFileName, dimension)[source]

Functional API

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

Parameters

meshFileName (str) – VTK file

Returns

mesh of the HF computation

Return type

BasicToolsUnstructuredMesh