22 #include <boost/exception/detail/error_info_impl.hpp> 23 #include <boost/exception/info.hpp> 51 const arma::vec &point,
52 unsigned int comp_index = 0
55 const arma::vec
basis_grad(
unsigned int basis_index,
56 const arma::vec &point,
57 unsigned int comp_index = 0
60 const unsigned int dim()
const override {
return powers.size(); }
87 template <
unsigned int dim>
92 FE_P(
unsigned int degree);
109 template <
unsigned int dim>
125 template<
unsigned int dim>
139 template<
unsigned int dim>
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.
Discontinuos Crouzeix-Raviart finite element on dim dimensional simplex.
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.
unsigned int degree_
Maximum degree of polynomials.
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).
Abstract class for description of finite elements.
Abstract class for the description of a general finite element on a reference simplex in dim dimensio...
Crouzeix-Raviart finite element on dim dimensional simplex.
const unsigned int degree_
Max. degree of polynomials.