OGS
VertexRule.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6namespace MeshLib
7{
8
9class Element;
10
12{
13public:
15 static const unsigned dimension = 0u;
16
18 static const unsigned n_faces = 0;
19
21 static const unsigned n_edges = 0;
22
24 static const Element* getFace(const Element* /*e*/, unsigned /*i*/)
25 {
26 return nullptr;
27 }
28
31 static bool testElementNodeOrder(Element const& /*e*/) { return true; }
32};
33
34} // namespace MeshLib
static const Element * getFace(const Element *, unsigned)
Returns the i-th face of the element.
Definition VertexRule.h:24
static const unsigned n_edges
Constant: The number of edges.
Definition VertexRule.h:21
static const unsigned n_faces
Constant: The number of faces.
Definition VertexRule.h:18
static const unsigned dimension
Constant: Dimension of this mesh element.
Definition VertexRule.h:15
static bool testElementNodeOrder(Element const &)
Definition VertexRule.h:31