Mordicus.Core.Containers.Meshes.MeshBase module¶
- class Mordicus.Core.Containers.Meshes.MeshBase.MeshBase[source]¶
Bases:
object
Class containing a MeshBase, with an internal storage hidden to all its children classes
- __storage¶
- Type
typeToDefine
- 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
- GetElemAttach(node_rk: int) list [source]¶
Return the list of all elements ranks (the index in the full element list ) attach to a given node
- Parameters
node (node_rk {int} -- the rank of the) –
- Returns
list – the list of all elements attach to the input node
- GetElemContaining(ip_rk: int) int [source]¶
Return the rank of the element containint the given integration point
- Parameters
locate (ip_rk {int} -- the rank of the integration point to) –
ip. (i.e. the index of this integration point in the full list of) –
- Returns
int – the rank of the element containing the input integration point