Mordicus.Modules.Cemosis.Containers.Meshes.FeelppUnstructuredMesh module

class Mordicus.Modules.Cemosis.Containers.Meshes.FeelppUnstructuredMesh.FeelppUnstructuredMesh(mesh)[source]

Bases: MeshBase

Class containing a wrapper for Feel++ Mesh

__storage
Type

feelpp.Containers.UnstructuredMesh

AllElementsIterator()[source]

Constructs an iterator over all the elements of the mesh. An element is np.ndarray of size (numberOfNodes,dimensionality) containing the indices of the nodes included in this element

Returns

an iterator over all the elements of the mesh

Return type

iterator

GetDimensionality()[source]
Returns

the dimensionality of the mesh

Return type

int

GetNodes()[source]
Returns

nodes of the mesh, of size (numberOfNodes,dimensionality)

Return type

np.ndarray

GetNumberOfNodes()[source]
Returns

the number of nodes of the mesh

Return type

int