43 #include "PanzerDofMgr_config.hpp"
50 namespace orientation_helpers {
56 for(
unsigned e=0;e<cellTopo.getEdgeCount();e++) {
58 unsigned local_v0 = cellTopo.getNodeMap(dim,e,0);
59 unsigned local_v1 = cellTopo.getNodeMap(dim,e,1);
69 edgeIndices.push_back(std::make_pair(v0_indices[0],v1_indices[0]));
78 unsigned node_dim = 0;
79 unsigned subcell_dim = 2;
84 faceIndices.resize(cellTopo.getSubcellCount(subcell_dim));
86 for(
unsigned f=0;f<cellTopo.getSubcellCount(subcell_dim);f++) {
87 shards::CellTopology faceTopo(cellTopo.getBaseCellTopologyData(subcell_dim,f));
89 for(
unsigned v=0;v<faceTopo.getNodeCount();v++) {
91 unsigned local_v = cellTopo.getNodeMap(subcell_dim,f,v);
99 faceIndices[f].push_back(v_indices[0]);
106 faceIndices.resize(1);
108 for(
unsigned v=0;v<cellTopo.getNodeCount();v++)
109 faceIndices[0].push_back(v);
virtual int getDimension() const =0
void computePatternFaceIndices(const FieldPattern &pattern, std::vector< std::vector< int > > &faceIndices)
virtual shards::CellTopology getCellTopology() const =0
virtual const std::vector< int > & getSubcellIndices(int dim, int cellIndex) const =0
#define TEUCHOS_ASSERT(assertion_test)
void computePatternEdgeIndices(const FieldPattern &pattern, std::vector< std::pair< int, int > > &edgeIndices)