1#ifndef INCG184598b89ca44fe1a1e7a043bc32da06
2#define INCG184598b89ca44fe1a1e7a043bc32da06
4#include <lf/base/base.h>
6#include "geometry_interface.h"
12 explicit Point(Eigen::VectorXd coord) :
coord_(std::move(coord)) {}
22 [[nodiscard]] Eigen::MatrixXd
Global(
23 const Eigen::MatrixXd& local)
const override;
25 [[nodiscard]] Eigen::MatrixXd
Jacobian(
26 const Eigen::MatrixXd& local)
const override;
28 const Eigen::MatrixXd& local)
const override;
30 const Eigen::MatrixXd& local)
const override;
31 [[nodiscard]] std::unique_ptr<Geometry>
SubGeometry(dim_t codim,
32 dim_t i)
const override;
37 [[nodiscard]] std::vector<std::unique_ptr<Geometry>>
ChildGeometry(
Represents a reference element with all its properties.
static constexpr RefEl kPoint()
Returns the (0-dimensional) reference point.
Interface class for shape information on a mesh cell in the spirit of parametric finite element metho...
std::unique_ptr< Geometry > SubGeometry(dim_t codim, dim_t i) const override
Construct a new Geometry() object that describes the geometry of the i-th sub-entity with codimension...
Point(Eigen::VectorXd coord)
Eigen::MatrixXd Jacobian(const Eigen::MatrixXd &local) const override
Evaluate the jacobian of the mapping simultaneously at numPoints points.
Eigen::MatrixXd Global(const Eigen::MatrixXd &local) const override
Map a number of points in local coordinates into the global coordinate system.
std::vector< std::unique_ptr< Geometry > > ChildGeometry(const RefinementPattern &ref_pattern, base::dim_t codim) const override
the child geometry is just a copy of the point geometry
dim_t DimLocal() const override
Dimension of the domain of this mapping.
base::RefEl RefEl() const override
The Reference element that defines the domain of this mapping.
dim_t DimGlobal() const override
Dimension of the image of this mapping.
Eigen::MatrixXd JacobianInverseGramian(const Eigen::MatrixXd &local) const override
Evaluate the Jacobian * Inverse Gramian ( ) simultaneously at numPoints.
Eigen::VectorXd IntegrationElement(const Eigen::MatrixXd &local) const override
The integration element (factor appearing in integral transformation formula, see below) at number of...
Abstract interface class for encoding topological local refinement
unsigned int dim_t
type for dimensions and co-dimensions and numbers derived from them
Defines the Geometry interface and provides a number of classes that implement this interface + addit...