23 {0, 3, 2, 1, 11, 10, 9, 8},
24 {0, 1, 5, 4, 8, 17, 12, 16},
25 {1, 2, 6, 5, 9, 18, 13, 17},
26 {2, 3, 7, 6, 10, 19, 14, 18},
27 {3, 0, 4, 7, 11, 16, 15, 19},
28 {4, 5, 6, 7, 12, 13, 14, 15}
50 std::array<Node*, 8> nodes{};
51 for (
unsigned j = 0; j < 8; j++)
57 ERR(
"Error in MeshLib::Element::getFace() - Index {:d} does not exist.", i);
Definition of the Line class.
void ERR(fmt::format_string< Args... > fmt, Args &&... args)
Definition of the Node class.
Definition of the Quad 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[6][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[12][3]
Constant: Local node index table for edge.
static const unsigned n_faces
Constant: The number of faces.
TemplateElement< MeshLib::QuadRule8 > Quad8