35 #ifndef NEKMESHUTILS_MESHELEMENTS_MESH
36 #define NEKMESHUTILS_MESHELEMENTS_MESH
48 namespace NekMeshUtils
79 std::vector<ConditionType>
type;
#define NEKMESHUTILS_EXPORT
NodeSet m_vertexSet
Set of element vertices.
std::set< std::pair< int, int > > m_spherigonSurfs
Set of all pairs of element ID and edge/face number on which to apply spherigon surface smoothing.
FaceSet m_faceSet
Set of element faces.
LibUtilities::FieldMetaDataMap m_metadata
Metadata map for storing any mesh generation parameters.
ConditionMap m_condition
Boundary conditions maps tag to condition.
CADSystemSharedPtr m_cad
CAD system pointer, if there is no cad its empty.
unsigned int m_spaceDim
Dimension of the space in which the mesh is defined.
std::unordered_map< int, Node > m_vertexNormals
Map of vertex normals.
std::map< int, std::string > m_faceLabels
List of face labels for composite annotation.
NEKMESHUTILS_EXPORT unsigned int GetNumBndryElements()
Returns the total number of elements in the mesh with dimension < expDim.
int m_numNodes
used for meshing purposes to keep trac of ids
LibUtilities::CommSharedPtr m_comm
MPI communicator in case we end up using MPI multiple times from Nektar++ SessionReader object.
bool m_verbose
Verbose flag.
unsigned int m_nummode
a order tag to aid output, a bit of a hack
NEKMESHUTILS_EXPORT unsigned int GetNumEntities()
Returns the total number of entities in the mesh.
NEKMESHUTILS_EXPORT void MakeOrder(int order, LibUtilities::PointsType distType)
Convert this mesh into a mesh of uniform polynomial order order with a curve point distribution distT...
CompositeMap m_composite
Map for composites.
NEKMESHUTILS_EXPORT void PrintStats(std::ostream &out)
Print out basic statistics of this mesh.
std::vector< NodeSharedPtr > m_node
List of mesh nodes.
EdgeSet m_edgeSet
Set of element edges.
NEKMESHUTILS_EXPORT Mesh()
ElementMap m_element
Map for elements.
NEKMESHUTILS_EXPORT unsigned int GetNumElements()
Returns the total number of elements in the mesh with dimension expDim.
std::vector< std::string > m_fields
List of fields names.
unsigned int m_expDim
Dimension of the expansion.
OctreeSharedPtr m_octree
Octree system pointer, if there is no octree its empty.
std::map< std::string, std::string > FieldMetaDataMap
std::shared_ptr< Comm > CommSharedPtr
Pointer to a Communicator object.
std::shared_ptr< Mesh > MeshSharedPtr
Shared pointer to a mesh.
std::shared_ptr< Condition > ConditionSharedPtr
std::unordered_set< NodeSharedPtr, NodeHash > NodeSet
std::unordered_set< EdgeSharedPtr, EdgeHash > EdgeSet
std::map< unsigned int, std::vector< ElementSharedPtr > > ElementMap
Container for elements; key is expansion dimension, value is vector of elements of that dimension.
std::map< int, ConditionSharedPtr > ConditionMap
std::map< unsigned int, CompositeSharedPtr > CompositeMap
Container of composites; key is the composite id, value is the composite.
std::shared_ptr< CADSystem > CADSystemSharedPtr
bool operator==(ElmtConfig const &c1, ElmtConfig const &c2)
Compares two element config structs.
std::unordered_set< FaceSharedPtr, FaceHash > FaceSet
std::shared_ptr< Octree > OctreeSharedPtr
Defines a boundary condition.
std::vector< std::string > field
std::vector< int > m_composite
std::vector< ConditionType > type
std::vector< std::string > value