OGS
QuadRule4.h
Go to the documentation of this file.
1
11#pragma once
12
13#include "EdgeReturn.h"
14#include "MeshLib/MeshEnums.h"
15#include "QuadRule.h"
16
17namespace MeshLib
18{
19
36class QuadRule4 : public QuadRule
37{
38public:
40 static const unsigned n_all_nodes = 4u;
41
44
46 static const unsigned edge_nodes[4][2];
47
50
51 static unsigned identifyFace(Node const* const* element_nodes,
52 Node const* nodes[3])
53 {
54 return FaceRule::identifyFace<QuadRule4>(element_nodes, nodes);
55 }
56}; /* class */
57
58} // namespace MeshLib
Definition of mesh-related Enumerations.
static unsigned identifyFace(Node const *const *element_nodes, Node const *nodes[ElementRule::dimension])
Returns the ID of an edge given an array of nodes.
Definition FaceRule.h:48
Returns linear order edge.
Definition EdgeReturn.h:31
static const unsigned n_all_nodes
Constant: The number of all nodes for this element.
Definition QuadRule4.h:40
static unsigned identifyFace(Node const *const *element_nodes, Node const *nodes[3])
Definition QuadRule4.h:51
static const CellType cell_type
Constant: The FEM type of the element.
Definition QuadRule4.h:43
static const unsigned edge_nodes[4][2]
Constant: Local node index table for edge.
Definition QuadRule4.h:46
CellType
Types of mesh elements supported by OpenGeoSys.
Definition MeshEnums.h:43