20 #ifndef MAPPING_P1_HH_
21 #define MAPPING_P1_HH_
35 template<
unsigned int dim>
57 template<
unsigned int dim,
unsigned int spacedim = 3>
Affine mapping between reference and actual cell.
arma::vec::fixed< dim+1 > BaryPoint
arma::vec::fixed< spacedim > RealPoint
static BaryPoint clip_to_element(BaryPoint &barycentric)
static arma::mat::fixed< spacedim, dim > jacobian(const ElementMap &coords)
static bool contains_point(arma::vec point, ElementAccessor< 3 > elm)
Test if element contains given point.
static RealPoint project_unit_to_real(const BaryPoint &point, const ElementMap &map)
arma::mat::fixed< spacedim, dim+1 > ElementMap
static BaryPoint project_real_to_unit(const RealPoint &point, const ElementMap &map)
static ElementMap element_map(ElementAccessor< 3 > elm)
static UpdateFlags update_each(UpdateFlags flags)
Determines which additional quantities have to be computed.
static const unsigned int dim_minus_one
Base class for quadrature rules on simplices in arbitrary dimensions.
Class Mapping calculates data related to the mapping of the reference cell to the actual cell,...
Enum type UpdateFlags indicates which quantities are to be recomputed on each finite element cell.
UpdateFlags
Enum type UpdateFlags indicates which quantities are to be recomputed on each finite element cell.