36 #ifndef NEKMESHUTILS_MESHELEMENTS_MESH
37 #define NEKMESHUTILS_MESHELEMENTS_MESH
45 namespace NekMeshUtils
72 std::vector<ConditionType>
type;
82 ConditionSharedPtr
const &c2);
Defines a boundary condition.
FaceSet m_faceSet
Set of element faces.
CompositeMap m_composite
Map for composites.
set< pair< int, int > > m_spherigonSurfs
Set of all pairs of element ID and edge/face number on which to apply spherigon surface smoothing...
std::vector< ConditionType > type
std::map< unsigned int, CompositeSharedPtr > CompositeMap
Container of composites; key is the composite id, value is the composite.
int m_numNodes
used for meshing purposes to keep trac of ids
std::vector< std::string > value
bool operator==(ElmtConfig const &c1, ElmtConfig const &c2)
std::vector< std::string > field
unsigned int m_nummode
a order tag to aid output, a bit of a hack
unsigned int m_spaceDim
Dimension of the space in which the mesh is defined.
unsigned int m_expDim
Dimension of the expansion.
NEKMESHUTILS_EXPORT Mesh()
ConditionMap m_condition
Boundary conditions maps tag to condition.
boost::unordered_set< NodeSharedPtr, NodeHash > NodeSet
std::vector< std::string > m_fields
List of fields names.
ElementMap m_element
Map for elements.
boost::unordered_set< FaceSharedPtr, FaceHash > FaceSet
std::map< int, ConditionSharedPtr > ConditionMap
NodeSet m_vertexSet
Set of element vertices.
EdgeSet m_edgeSet
Set of element edges.
NEKMESHUTILS_EXPORT unsigned int GetNumEntities()
Returns the total number of entities in the mesh.
boost::shared_ptr< Condition > ConditionSharedPtr
std::vector< int > m_composite
bool m_verbose
Verbose flag.
NEKMESHUTILS_EXPORT unsigned int GetNumBndryElements()
Returns the total number of elements in the mesh with dimension < expDim.
boost::shared_ptr< Mesh > MeshSharedPtr
Shared pointer to a mesh.
NEKMESHUTILS_EXPORT unsigned int GetNumElements()
Returns the total number of elements in the mesh with dimension expDim.
#define NEKMESHUTILS_EXPORT
std::map< unsigned int, std::vector< ElementSharedPtr > > ElementMap
Container for elements; key is expansion dimension, value is vector of elements of that dimension...
boost::unordered_set< EdgeSharedPtr, EdgeHash > EdgeSet
std::vector< NodeSharedPtr > m_node
List of mesh nodes.
boost::unordered_map< int, Node > m_vertexNormals
Map of vertex normals.
map< int, string > m_faceLabels
List of face labels for composite annotation.