Containers¶
Geo supports¶
-
enumerator GeoNA¶
-
enumerator GeoPoint¶
-
enumerator GeoBar¶
-
enumerator GeoTri¶
-
enumerator GeoQuad¶
-
enumerator GeoTet¶
-
enumerator GeoPyr¶
-
enumerator GeoWed¶
-
enumerator GeoHex¶
Element Names¶
-
enumerator Point_1¶
-
enumerator Bar_2¶
-
enumerator Bar_3¶
-
enumerator Triangle_6¶
-
enumerator Quadrangle_8¶
-
enumerator Quadrangle_9¶
-
enumerator Tetrahedron_4¶
-
enumerator Pyramid_5¶
-
enumerator Wedge_6¶
-
enumerator Hexahedron_8¶
-
enumerator Tetrahedron_10¶
-
enumerator Pyramid_13¶
-
enumerator Wedge_15¶
-
enumerator Wedge_18¶
-
enumerator Hexahedron_20¶
-
enumerator Hexahedron_27¶
-
std::map<ElementType, ElementDescription> Muscat::elementsInfo = InitElementInfo()¶
Mesh¶
-
class Mesh¶
Public Functions
-
Mesh()¶
-
DEFINE_SETGET_SHARED_MAP_MatrixID1(OriginalIds, originalIDNodes)¶
-
DEFINE_SETGET_SHARED_MAP_MatrixDDD(Nodes, nodes)¶
-
CMuscatIndex GetNumberOfNodes() const¶
-
CMuscatIndex GetElementsDimensionality() const¶
-
template<typename T, typename T2>
void AddElements(const ElementType elementType, T &arg1, T2 &arg2)¶
-
template<typename T>
void AddElementTag(const ElementType elementType, std::string &tagname, T &arg1)¶
-
std::map<ElementType, CMuscatIndex> ComputeGlobalOffsets()¶
-
std::string ToStr()¶
-
void Print()¶
-
void PrintFull()¶
-
Mesh()¶
-
class ElementsContainer¶
-
template<typename ContainerType>
class AllElements¶ Class to store a list of element containers. This class is mostly a re-implementation of dict (in python) or a std::map (in cpp) but with ordered elementType. This class is sorted by elementTypes in lexicographic order, so the retrieving order is stable, and independent on the order of filling.
Public Types
-
using StorageType = std::map<ElementType, ContainerType>¶
Public Functions
-
ContainerType &GetElementsOfType(const ElementType elemtype)¶
-
const ContainerType &GetElementsOfType(const ElementType elemtype) const¶
-
CMuscatIndex GetNumberOfElements() const¶
-
std::string ToStr()¶
-
ContainerType &operator[](const ElementType key)¶
-
const ContainerType &operator[](const ElementType key) const¶
-
inline const StorageType::const_iterator begin() const¶
-
inline const StorageType::const_iterator end() const¶
Public Members
-
StorageType storage¶
-
using StorageType = std::map<ElementType, ContainerType>¶
Filters¶
-
class ElementFilterBase¶
Subclassed by Muscat::ElementFilter, Muscat::ElementFilterEvaluated, Muscat::ElementFilterIntersection
-
class ElementFilterEvaluated : public Muscat::ElementFilterBase¶
-
class ElementFilter : public Muscat::ElementFilterBase¶
-
class ElementFilterIntersection : public Muscat::ElementFilterBase¶
Unstructured Mesh Tools¶
-
std::shared_ptr<MapMatrixDD3> Muscat::GetElementsCenters(const Mesh &sourceMesh)¶
Compute the center of the elements for a given Mesh.
- Parameters:
sourceMesh – the mesh to work on Mesh
- Returns:
a std::shared_ptr<MapMatrixDD3> with the of each element
-
MatrixDDD Muscat::GetElementsCenters(const MapMatrixDDD &nodes, const ElementsContainer &elements)¶
Compute the center of the elements for a given ElementsContainer.
- Parameters:
nodes – Matrix with the nodes
elements – the ElementsContainer to work on
- Returns:
a MatrixDDD with the of each element