21 {0, 2, 1, 8, 7, 6, 99, 99},
22 {0, 1, 4, 3, 6, 13, 9, 12},
23 {1, 2, 5, 4, 7, 14, 10, 13},
24 {2, 0, 3, 5, 8, 12, 11, 14},
25 {3, 4, 5, 9, 10, 11, 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(fmt::format_string< Args... > fmt, Args &&... args)
Definition of the Node class.
Definition of the Quad class.
Definition of the Tri class.
virtual const Node * getNode(unsigned idx) const =0
std::size_t getID() const
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