21 {0, 2, 1, 8, 7, 6, 99, 99},
22 {0, 1, 4, 3, 6, 10, 12, 9},
23 {1, 2, 5, 4, 7, 11, 13, 10},
24 {2, 0, 3, 5, 8, 9, 14, 11},
25 {3, 4, 5, 12, 13, 14, 99, 99}
47 auto** nodes =
new Node*[nFaceNodes];
48 for (
unsigned j = 0; j < nFaceNodes; j++)
58 return new Quad8(nodes);
60 ERR(
"Error in MeshLib::Element::getFace() - Index {:d} does not exist.", i);
void ERR(char const *fmt, Args const &... args)
Definition of the Node class.
Definition of the Quad class.
Definition of the Tri class.
virtual const Node * getNode(unsigned idx) const =0
virtual std::size_t getID() const final
Returns the ID of the element.
static const unsigned face_nodes[5][8]
Constant: Local node index table for faces.
static const Element * getFace(const Element *e, unsigned i)
Returns the i-th face of the element.
static const unsigned edge_nodes[9][3]
Constant: Local node index table for edge.
static const unsigned n_face_nodes[5]
Constant: Table for the number of nodes for each face.
static const unsigned n_faces
Constant: The number of faces.
TemplateElement< MeshLib::QuadRule8 > Quad8
TemplateElement< MeshLib::TriRule6 > Tri6