![]() |
OGS
|
Definition of the Element class.
Definition in file Element.h.
#include <spdlog/fmt/ostr.h>#include <limits>#include <optional>#include <span>#include "MathLib/Point3d.h"#include "MeshLib/Elements/ElementErrorCode.h"#include "MeshLib/Mesh.h"#include "MeshLib/MeshEnums.h"Go to the source code of this file.
Classes | |
| class | MeshLib::Element |
| struct | fmt::formatter<::MeshLib::Element > |
Namespaces | |
| namespace | MeshLib |
| namespace | fmt |
Functions | |
| bool | MeshLib::areNeighbors (Element const *const element, Element const *const other) |
| Returns true if elem is a neighbour of this element and false otherwise. | |
| bool | MeshLib::hasZeroVolume (MeshLib::Element const &element) |
| Returns true if the element has zero length/area/volume. | |
| MathLib::Point3d | MeshLib::getCenterOfGravity (MeshLib::Element const &element) |
| Calculates the center of gravity for the mesh element. | |
| std::pair< double, double > | MeshLib::computeSqrNodeDistanceRange (MeshLib::Element const &element, bool const check_allnodes=true) |
| Compute the minimum and maximum node distances for this element. | |
| std::pair< double, double > | MeshLib::computeSqrEdgeLengthRange (Element const &element) |
| Compute the minimum and maximum squared edge length for this element. | |
| bool | MeshLib::isPointInElementXY (MathLib::Point3d const &p, Element const &e) |
| unsigned | MeshLib::getNodeIDinElement (Element const &element, const Node *node) |
| Returns the position of the given node in the node array of this element. | |
| std::size_t | MeshLib::getNodeIndex (Element const &element, unsigned const idx) |