Flow123d
release_3.0.0-973-g92f55e826
|
Go to the documentation of this file.
20 #ifndef MAPPING_P1_HH_
21 #define MAPPING_P1_HH_
34 template <
unsigned int dim,
unsigned int spacedim>
class FEValuesData;
42 template<
unsigned int dim>
64 template<
unsigned int dim,
unsigned int spacedim>
160 arma::mat::fixed<dim+1,dim>
grad;
arma::mat::fixed< spacedim, dim+1 > ElementMap
UpdateFlags update_each(UpdateFlags flags)
Determines which additional quantities have to be computed.
Mapping data that can be precomputed on the 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).
void fill_fe_values(const ElementAccessor< 3 > &cell, const Quadrature< dim > &q, MappingInternalData &data, FEValuesData< dim, spacedim > &fv_data)
Calculates the mapping data on the actual cell.
Declaration of class which handles the ordering of degrees of freedom (dof) and mappings between loca...
void fill_fe_side_values(const ElementAccessor< 3 > &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.
arma::vec::fixed< dim+1 > BaryPoint
Abstract class for the mapping between reference and actual cell.
BaryPoint project_real_to_unit(const RealPoint &point, const ElementMap &map) const
static const unsigned int dim_minus_one
ElementMap element_map(ElementAccessor< 3 > elm) const
bool contains_point(arma::vec point, ElementAccessor< 3 > elm)
Test if element contains given point.
arma::vec::fixed< spacedim > RealPoint
BaryPoint clip_to_element(BaryPoint &barycentric)
Enum type UpdateFlags indicates which quantities are to be recomputed on each finite element cell.
Class FEValuesData holds the arrays of data computed by Mapping and FiniteElement.
Affine mapping between reference and actual cell.
RealPoint project_unit_to_real(const BaryPoint &point, const ElementMap &map) const
UpdateFlags
Enum type UpdateFlags indicates which quantities are to be recomputed on each finite element cell.
Base class for quadrature rules on simplices in arbitrary dimensions.
MappingInternalData * initialize(const Quadrature< dim > &q, UpdateFlags flags)
Initializes the structures and computes static data.