OGS
LineRule2.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
6#include "EdgeReturn.h"
7#include "LineRule.h"
8
9namespace MeshLib
10{
17class LineRule2 : public LineRule
18{
19public:
21 static const unsigned n_all_nodes = 2u;
22
25
27 constexpr static const unsigned edge_nodes[1][2] = {
28 {0, 1} // Edge 0
29 };
30
33}; /* class */
34
35} // namespace MeshLib
static const CellType cell_type
Constant: The FEM type of the element.
Definition LineRule2.h:24
static const unsigned n_all_nodes
Constant: The number of all nodes for this element.
Definition LineRule2.h:21
MeshLib::LinearEdgeReturn EdgeReturn
Edge rule.
Definition LineRule2.h:32
static constexpr const unsigned edge_nodes[1][2]
Constant: Local node index table for edge.
Definition LineRule2.h:27
Returns linear order edge.
Definition EdgeReturn.h:24
CellType
Types of mesh elements supported by OpenGeoSys.
Definition MeshEnums.h:53