OGS
|
A 0d point element.
Definition at line 22 of file PointRule1.h.
#include <PointRule1.h>
Public Types | |
using | EdgeReturn = MeshLib::NoEdgeReturn |
Edge rule. | |
Static Public Member Functions | |
static bool | isPntInElement (Node const *const *nodes, MathLib::Point3d const &pnt, double eps) |
static ElementErrorCode | validate (const Element *e) |
Tests if the element is geometrically valid. | |
static unsigned | identifyFace (Node const *const *, Node const *nodes[1]) |
Returns the ID of a face given an array of nodes. | |
static double | computeVolume (Node const *const *element_nodes) |
Calculates the length of a line. | |
Static Public Member Functions inherited from MeshLib::VertexRule | |
static const Element * | getFace (const Element *, unsigned) |
Returns the i-th face of the element. | |
static bool | testElementNodeOrder (Element const &) |
Static Public Attributes | |
static const unsigned | n_base_nodes = 1u |
Constant: The number of base nodes for this element. | |
static const unsigned | n_all_nodes = 1u |
Constant: The number of all nodes for this element. | |
static const MeshElemType | mesh_elem_type = MeshElemType::POINT |
Constant: The geometric type of the element. | |
static const CellType | cell_type = CellType::POINT1 |
Constant: The FEM type of the element. | |
static const unsigned | n_neighbors = 2 |
Constant: The number of neighbors. | |
static const unsigned | edge_nodes [1][1] = {{0}} |
Constant: Local node index table for edge. | |
Static Public Attributes inherited from MeshLib::VertexRule | |
static const unsigned | dimension = 0u |
Constant: Dimension of this mesh element. | |
static const unsigned | n_faces = 0 |
Constant: The number of faces. | |
static const unsigned | n_edges = 0 |
Constant: The number of edges. | |
Edge rule.
Definition at line 44 of file PointRule1.h.
|
static |
|
static |
Returns the ID of a face given an array of nodes.
Definition at line 32 of file PointRule1.cpp.
|
static |
Checks if a point is inside the element.
pnt | a 3D MathLib::Point3d object |
eps | tolerance for numerical algorithm used or computing the property |
Specifically this function tests if the squared euclidean distance between the points nodes
and pnt
is less then eps
.
nodes | the nodes of the element. |
Definition at line 25 of file PointRule1.cpp.
References MathLib::sqrDist().
|
static |
Tests if the element is geometrically valid.
Definition at line 42 of file PointRule1.cpp.
References MeshLib::hasZeroVolume(), and ZeroVolume.
|
static |
Constant: The FEM type of the element.
Definition at line 35 of file PointRule1.h.
|
static |
Constant: Local node index table for edge.
Definition at line 41 of file PointRule1.h.
|
static |
Constant: The geometric type of the element.
Definition at line 32 of file PointRule1.h.
|
static |
Constant: The number of all nodes for this element.
Definition at line 29 of file PointRule1.h.
|
static |
Constant: The number of base nodes for this element.
Definition at line 26 of file PointRule1.h.
|
static |
Constant: The number of neighbors.
Definition at line 38 of file PointRule1.h.