41 std::array<Node*, 3> nodes{};
42 for (
unsigned j = 0; j < 3; j++)
48 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 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[4][3]
Constant: Local node index table for faces.
static const unsigned edge_nodes[6][2]
Constant: Local node index table for edge.
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::TriRule3 > Tri