35 template <
unsigned int dim,
unsigned int spacedim>
70 const arma::vec::fixed<dim> &p,
71 const unsigned int comp)
const override;
76 arma::vec::fixed<dim>
basis_grad(
const unsigned int i,
77 const arma::vec::fixed<dim> &p,
78 const unsigned int comp)
const override;
UpdateFlags
Enum type UpdateFlags indicates which quantities are to be recomputed on each finite element cell...
void compute_node_matrix() override
Initializes the node_matrix for computing the coefficients of the shape functions in the raw basis of...
std::vector< unsigned int > vector_components_
void fill_fe_values(const Quadrature< dim > &q, FEInternalData &data, FEValuesData< dim, spacedim > &fv_data) override
Computes the shape function values and gradients on the actual cell and fills the FEValues structure...
unsigned int component_offset
Component index in the FESystem.
Class FEValues calculates finite element data on the actual cells such as shape function values...
std::vector< unsigned int > get_vector_components() const
void initialize()
Initialization of the internal structures from the vector of base FE.
Base class for quadrature rules on simplices in arbitrary dimensions.
unsigned int n_components() const override
Returns numer of components of the basis function.
UpdateFlags update_each(UpdateFlags flags) override
Decides which additional quantities have to be computed for each cell.
FESystem(std::shared_ptr< FiniteElement< dim, spacedim > > fe, FEType t)
Constructor. FESystem for vector or tensor created from a scalar FE.
Compound finite element on dim dimensional simplex.
unsigned int basis_index
Index of basis function in the base FE.
std::vector< std::shared_ptr< FiniteElement< dim, spacedim > > > fe_
Pointers to base FE objects.
arma::vec::fixed< dim > basis_grad(const unsigned int i, const arma::vec::fixed< dim > &p, const unsigned int comp) const override
The vector variant of basis_grad must be implemented but need not be used.
double basis_value(const unsigned int i, const arma::vec::fixed< dim > &p, const unsigned int comp) const override
The vector variant of basis_value must be implemented but need not be used.
Class FEValuesData holds the arrays of data computed by Mapping and FiniteElement.
std::vector< DofComponentData > fe_dof_indices_
Information about dofs.
DofComponentData(unsigned int fei, unsigned int bi, unsigned co)
std::vector< unsigned int > scalar_components_
unsigned int n_components_
Structure for storing the precomputed finite element data.
Abstract class for description of finite elements.
Abstract class for the description of a general finite element on a reference simplex in dim dimensio...
unsigned int fe_index
Index of base FE class in the vector fe_.
std::vector< unsigned int > get_scalar_components() const