20 #ifndef MAPPING_P1_HH_ 21 #define MAPPING_P1_HH_ 31 template<
unsigned int dim>
53 template<
unsigned int dim,
unsigned int spacedim>
118 arma::mat::fixed<3, dim+1> A;
121 for(
unsigned int i=1; i <= dim; i++ ) {
133 arma::vec::fixed<dim+1> project_point(
const arma::vec3 &
point,
const arma::mat::fixed<3, dim+1> &
map)
const;
140 arma::vec::fixed<dim+1> clip_to_element(arma::vec::fixed<dim+1> &barycentric);
148 arma::mat::fixed<dim+1,dim>
grad;
UpdateFlags
Enum type UpdateFlags indicates which quantities are to be recomputed on each finite element cell...
static const unsigned int dim_minus_one
Base class for quadrature rules on simplices in arbitrary dimensions.
Abstract class for the mapping between reference and actual cell.
Affine mapping between reference and actual cell.
Class Mapping calculates data related to the mapping of the reference cell to the actual cell...
arma::mat::fixed< dim+1, dim > grad
Auxiliary matrix of gradients of shape functions (used for computation of the Jacobian).
arma::mat::fixed< 3, dim+1 > element_map(Element &elm) const
Class FEValuesData holds the arrays of data computed by Mapping and FiniteElement.
Mapping data that can be precomputed on the actual cell.
#define ASSERT_EQ(a, b)
Definition of comparative assert macro (EQual)