Mordicus.Modules.Cemosis.IO.FeelppMeshReader module

class Mordicus.Modules.Cemosis.IO.FeelppMeshReader.FeelppMeshReader(meshFileName, dim, gorder=1, realdim=None, h=0.1)[source]

Bases: MeshReaderBase

Class containing a reader for Feelpp mesh file

meshFileName

name of the mesh file (.geo, .msh, .json)

Type

str

dim

dimension of the mesh

Type

int

gorder

order of the mesh

Type

int

realdim

real dimension of the mesh

Type

int

h

hsize of the mesh (for geo)

Type

double

ReadMesh()[source]

Read the mesh

Returns

mesh of the model

Return type

FeelppMesh

Mordicus.Modules.Cemosis.IO.FeelppMeshReader.ReadMesh(meshFileName)[source]

Functional API

Readsthe mesh defined in the Feelpp mesh file “meshFileName” (.geo, .msh, .json)

Parameters

meshFileName (str) – mesh file

Returns

mesh of the model

Return type

FeelppMesh