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 face_nodes[5][4]
Constant: Local node index table for faces.
static const unsigned n_face_nodes[5]
Constant: Table for the number of nodes for each face.
static const Element * getFace(const Element *e, unsigned i)
Returns the i-th face of the element.
static const unsigned edge_nodes[8][2]
Constant: Local node index table for edge.
static const unsigned n_faces
Constant: The number of faces.
TemplateElement< MeshLib::QuadRule4 > Quad
TemplateElement< MeshLib::TriRule3 > Tri