5#include "geometry_interface.h"
14 Eigen::Matrix<double, Eigen::Dynamic, 1> refc(refdim, 1);
16 switch (geo.
RefEl()) {
26 refc << 1.0 / 3, 1.0 / 3;
static constexpr RefEl kSegment()
Returns the (1-dimensional) reference segment.
static constexpr RefEl kPoint()
Returns the (0-dimensional) reference point.
static constexpr RefEl kTria()
Returns the reference triangle.
static constexpr RefEl kQuad()
Returns the reference quadrilateral.
std::string ToString() const
Return a string representation of this Reference element.
Interface class for shape information on a mesh cell in the spirit of parametric finite element metho...
virtual base::RefEl RefEl() const =0
The Reference element that defines the domain of this mapping.
virtual dim_t DimLocal() const =0
Dimension of the domain of this mapping.
virtual Eigen::VectorXd IntegrationElement(const Eigen::MatrixXd &local) const =0
The integration element (factor appearing in integral transformation formula, see below) at number of...
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...
double Volume(const Geometry &geo)
Compute the (approximate) volume (area) of a shape.