HArD::Core2D
Hybrid Arbitrary Degree::Core 2D - Library to implement 2D schemes with edge and cell polynomials as unknowns
|
Classes | |
class | Mesh |
class | MeshBuilder |
The MeshBuilder class provides build tools to create a full mesh with all connectivities. More... | |
class | MeshReaderTyp2 |
The MeshReaderTyp2 class provides functions to read a typ2 mesh file. More... | |
class | Polytope |
A Vertex is a Polytope with object_dim = 0. More... | |
Typedefs | |
using | VectorRd = Eigen::Matrix< double, DIMENSION, 1 > |
using | VectorZd = Eigen::Matrix< int, DIMENSION, 1 > |
template<size_t object_dim> | |
using | Simplex = std::array< VectorRd, object_dim+1 > |
template<size_t object_dim> | |
using | Simplices = std::vector< Simplex< object_dim > > |
Method to find the center mass of an arbitrary simplex in arbitrary space. | |
using | Vertex = Polytope< 0 > |
An Edge is a Polytope with object_dim = 1. | |
using | Edge = Polytope< 1 > |
A Face is a Polytope with object_dim = DIMENSION - 1. | |
using | Face = Polytope< DIMENSION - 1 > |
A Cell is a Polytope with object_dim = DIMENSION. | |
using | Cell = Polytope< DIMENSION > |
Functions | |
double | signed_area (VectorRd A, VectorRd B, VectorRd C) |
double | shortest_distance (VectorRd p, VectorRd A, VectorRd B) |
Simplices< 2 > | simplexify (std::vector< VectorRd > vertices) |
template<size_t object_dim> | |
VectorRd | simplex_center_mass (Simplex< object_dim > simplex) |
Method to find the Lebesgue measure of an arbitrary simplex in arbitrary space. | |
template<size_t object_dim> | |
double | simplex_measure (Simplex< object_dim > simplex) |
Variables | |
constexpr int | DIMENSION = 2 |
using Mesh2D::Simplex = typedef std::array<VectorRd, object_dim + 1> |
using Mesh2D::Simplices = typedef std::vector<Simplex<object_dim> > |
Method to find the center mass of an arbitrary simplex in arbitrary space.
using Mesh2D::VectorRd = typedef Eigen::Matrix<double, DIMENSION, 1> |
using Mesh2D::VectorZd = typedef Eigen::Matrix<int, DIMENSION, 1> |
|
inlineconstexpr |