21 {0, 1, 4, 5, 10, 9, 99, 99},
22 {1, 2, 4, 6, 11, 10, 99, 99},
23 {2, 3, 4, 7, 12, 11, 99, 99},
24 {3, 0, 4, 8, 9, 12, 99, 99},
25 {0, 3, 2, 1, 8, 7, 6, 5}
46 auto** nodes =
new Node*[nFaceNodes];
47 for (
unsigned j = 0; j < nFaceNodes; j++)
59 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 edge_nodes[8][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 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 n_faces
Constant: The number of faces.
TemplateElement< MeshLib::QuadRule8 > Quad8
TemplateElement< MeshLib::TriRule6 > Tri6