47 const arma::vec &
point,
48 unsigned int comp_index = 0
51 const arma::vec
basis_grad(
unsigned int basis_index,
52 const arma::vec &point,
53 unsigned int comp_index = 0
56 const unsigned int dim()
const override {
return powers.size(); }
83 template <
unsigned int dim,
unsigned int spacedim>
88 FE_P(
unsigned int degree);
105 template <
unsigned int dim,
unsigned int spacedim>
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.
PolynomialSpace(unsigned int degree, unsigned int dim)
Constructor.
Space of polynomial functions.
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.
std::vector< arma::uvec > powers
Coefficients of basis functions.
Discontinuous Lagrangean finite element on dim dimensional simplex.
Global macros to enhance readability and debugging, general constants.
Conforming Lagrangean finite element on dim dimensional simplex.
const unsigned int dim() const override
Dimension of function space (number of basis functions).
unsigned int degree_
Maximum degree of polynomials.
Abstract class for description of finite elements.
Abstract class for the description of a general finite element on a reference simplex in dim dimensio...
const unsigned int degree_
Max. degree of polynomials.