31 #ifndef MAPPING_P1_HH_
32 #define MAPPING_P1_HH_
41 template<
unsigned int dim>
63 template<
unsigned int dim,
unsigned int spacedim>
125 arma::mat::fixed<dim+1,dim>
grad;
UpdateFlags
Enum type UpdateFlags indicates which quantities are to be recomputed on each finite element cell...
MappingInternalData * initialize(const Quadrature< dim > &q, UpdateFlags flags)
Initializes the structures and computes static data.
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.
void fill_fe_values(const typename DOFHandlerBase::CellIterator &cell, const Quadrature< dim > &q, MappingInternalData &data, FEValuesData< dim, spacedim > &fv_data)
Calculates the mapping data on the actual cell.
Abstract class for the mapping between reference and actual cell.
void fill_fe_side_values(const typename DOFHandlerBase::CellIterator &cell, unsigned int sid, const Quadrature< dim > &q, MappingInternalData &data, FEValuesData< dim, spacedim > &fv_data)
Calculates the mapping data on a side of a 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).
Class FEValuesData holds the arrays of data computed by Mapping and FiniteElement.
Mapping data that can be precomputed on the actual cell.