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