49 unsigned int comp_index = 0
54 unsigned int comp_index = 0
57 unsigned int dim()
const override {
return powers.size(); }
84 template <
unsigned int dim>
89 FE_P(
unsigned int degree);
106 template <
unsigned int dim>
122 template<
unsigned int dim>
136 template<
unsigned int dim>
Discontinuos Crouzeix-Raviart finite element on dim dimensional simplex.
Crouzeix-Raviart finite element on dim dimensional simplex.
Discontinuous Lagrangean finite element on dim dimensional simplex.
FE_P_disc(unsigned int degree)
Constructor.
Conforming Lagrangean finite element on dim dimensional simplex.
unsigned int degree_
Maximum degree of polynomials.
FE_P(unsigned int degree)
Constructor.
Abstract class for the description of a general finite element on a reference simplex in dim dimensio...
Space of polynomial functions.
unsigned int dim() const override
Dimension of function space (number of basis functions).
std::vector< arma::uvec > powers
Coefficients of basis functions.
const unsigned int degree_
Max. degree of polynomials.
PolynomialSpace(unsigned int degree, unsigned int dim)
Constructor.
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.
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.
Abstract class for description of finite elements.