41 std::array<Node*, 6> nodes{};
42 for (
unsigned j = 0; j < 6; 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 Element * getFace(const Element *e, unsigned i)
Returns the i-th face of the element.
static const unsigned edge_nodes[6][3]
Constant: Local node index table for edge.
static const unsigned face_nodes[4][6]
Constant: Local node index table for faces.
static const unsigned n_faces
Constant: The number of faces.
TemplateElement< MeshLib::TriRule6 > Tri6