OGS
HexRule20.h
Go to the documentation of this file.
1
11#pragma once
12
13#include "EdgeReturn.h"
14#include "HexRule.h"
15
16namespace MeshLib
17{
18
44class HexRule20 : public HexRule
45{
46public:
48 static const unsigned n_all_nodes = 20u;
49
52
54 static const unsigned face_nodes[6][8];
55
57 static const unsigned edge_nodes[12][3];
58
61
63 static const Element* getFace(const Element* e, unsigned i);
64
66 static unsigned identifyFace(Node const* const* element_nodes,
67 Node const* nodes[3])
68 {
69 return CellRule::identifyFace<HexRule20>(element_nodes, nodes);
70 }
71}; /* class */
72
73} // namespace MeshLib
static const unsigned face_nodes[6][8]
Constant: Local node index table for faces.
Definition HexRule20.h:54
static const Element * getFace(const Element *e, unsigned i)
Returns the i-th face of the element.
Definition HexRule20.cpp:46
static const unsigned edge_nodes[12][3]
Constant: Local node index table for edge.
Definition HexRule20.h:57
static const unsigned n_all_nodes
Constant: The number of all nodes for this element.
Definition HexRule20.h:48
static unsigned identifyFace(Node const *const *element_nodes, Node const *nodes[3])
Returns the ID of a face given an array of nodes.
Definition HexRule20.h:66
static const CellType cell_type
Constant: The FEM type of the element.
Definition HexRule20.h:51
Returns quadratic order edge.
Definition EdgeReturn.h:39
CellType
Types of mesh elements supported by OpenGeoSys.
Definition MeshEnums.h:43