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