27 #ifndef MESQUITE_TOPOLOGY_INFO_HPP
28 #define MESQUITE_TOPOLOGY_INFO_HPP
90 bool& midedge,
bool& midface,
bool& midvol,
100 unsigned face_number,
101 unsigned& num_vertices_out,
114 unsigned side_dimension,
116 unsigned& num_verts_out,
137 unsigned connectivity_length,
139 unsigned& side_dimension_out,
140 unsigned& side_number_out,
unsigned dimMap[MIXED]
Get dimension of entity given topology.
unsigned faceMap[LAST_VOL-FIRST_VOL+1][MAX_FACES][MAX_FACE_CONN]
Vertex indices for element faces.
static unsigned adjacent(EntityTopology topo, unsigned dimension)
Number of adjacent entities of a specified dimension.
Used to hold the error state and return it to the application.
unsigned edgeMap[LAST_VOL-FIRST_FACE+1][MAX_EDGES][2]
Vertex indices for element edges.
static unsigned faces(EntityTopology topo)
Get the number of faces in a given topology.
static unsigned sides(EntityTopology topo)
Get number of sides a given topology type has.
static void higher_order(EntityTopology topo, unsigned num_nodes, bool &midedge, bool &midface, bool &midvol, MsqError &err)
Check which mid-nodes a higher-order element has.
static unsigned dimension(EntityTopology topo)
Dimension of element topology.
static const unsigned * edge_vertices(EntityTopology topo, unsigned edge_number, MsqError &err)
Get indices of edge ends in element connectivity array.
static unsigned corners(EntityTopology topo)
Get the number of defining vertices for a given element topology.
static TopologyInfo instance
static unsigned edges(EntityTopology topo)
Get the number of edges in a given topology.
static const unsigned * face_vertices(EntityTopology topo, unsigned face_number, unsigned &num_vertices_out, MsqError &err)
Get face corner indices in element connectivity array.
unsigned adjMap[MIXED][3]
Get number of adj entities of dimension 0, 1 and dimension 2.
Information about different element topologies.
static const unsigned * side_vertices(EntityTopology topo, unsigned side_dimension, unsigned side_number, unsigned &num_verts_out, MsqError &err)
Get corner indices of side.
static void side_number(EntityTopology topo, unsigned connectivity_length, unsigned node_index, unsigned &side_dimension_out, unsigned &side_number_out, MsqError &err)
Return which side the specified mid-node lies on.