Flow123d
release_3.0.0-973-g92f55e826
|
Go to the documentation of this file.
65 const arma::vec &point,
66 unsigned int comp_index = 0
69 const arma::vec
basis_grad(
unsigned int basis_index,
70 const arma::vec &point,
71 unsigned int comp_index = 0
74 const unsigned int dim()
const override {
return dim_; }
98 template <
unsigned int dim>
const std::vector< std::shared_ptr< FiniteElement< dim > > > & fe()
FESystem(std::shared_ptr< FiniteElement< dim > > fe, FEType t)
Constructor for FEVectorContravariant and FEVectorPiola.
DofComponentData(unsigned int fei, unsigned int bi, unsigned co)
virtual ~FESystemFunctionSpace()
unsigned int dim_
Number of basis functions.
unsigned int component_offset
Component index in the FESystem.
std::vector< unsigned int > vector_components_
Class FEValues calculates finite element data on the actual cells such as shape function values,...
FESystemFunctionSpace(const std::vector< std::shared_ptr< FunctionSpace > > &fs_vector)
Constructor.
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 > get_tensor_components() const
std::vector< DofComponentData > dof_indices_
Indices of basis functions relative to the sub-spaces.
unsigned int basis_index
Index of basis function in the base FE.
Abstract class for description of finite elements.
std::vector< std::shared_ptr< FiniteElement< dim > > > fe_
Pointers to base FE objects.
const unsigned int dim() const override
Dimension of function space (number of basis functions).
std::vector< unsigned int > get_scalar_components() const
std::vector< unsigned int > tensor_components_
std::vector< unsigned int > scalar_components_
Abstract class for the description of a general finite element on a reference simplex in dim dimensio...
const double basis_value(unsigned int basis_index, const arma::vec &point, unsigned int comp_index=0) const override
Value of the i th basis function at point point.
UpdateFlags update_each(UpdateFlags flags) override
Decides which additional quantities have to be computed for each cell.
std::vector< std::shared_ptr< FunctionSpace > > fs_
Function spaces that are put together.
void initialize()
Initialization of the internal structures from the vector of base FE.
const arma::vec basis_grad(unsigned int basis_index, const arma::vec &point, unsigned int comp_index=0) const override
Gradient of the i th basis function at point point.
std::vector< unsigned int > get_vector_components() const
UpdateFlags
Enum type UpdateFlags indicates which quantities are to be recomputed on each finite element cell.
unsigned int fe_index
Index of base FE class in the vector fe_.
Compound finite element on dim dimensional simplex.