OGS
VertexRule.h
Go to the documentation of this file.
1 
11 #pragma once
12 
13 namespace MeshLib
14 {
15 
16 class Element;
17 
19 {
20 public:
22  static const unsigned dimension = 0u;
23 
25  static const unsigned n_faces = 0;
26 
28  static const unsigned n_edges = 0;
29 
31  static const Element* getFace(const Element* /*e*/, unsigned /*i*/)
32  {
33  return nullptr;
34  }
35 
38  static bool testElementNodeOrder(Element const& /*e*/) { return true; }
39 };
40 
41 } // namespace MeshLib
static const unsigned n_edges
Constant: The number of edges.
Definition: VertexRule.h:28
static const unsigned n_faces
Constant: The number of faces.
Definition: VertexRule.h:25
static const Element * getFace(const Element *, unsigned)
Returns the i-th face of the element.
Definition: VertexRule.h:31
static const unsigned dimension
Constant: Dimension of this mesh element.
Definition: VertexRule.h:22
static bool testElementNodeOrder(Element const &)
Definition: VertexRule.h:38