Flow123d
release_3.0.0-968-gc87a28e79
|
Go to the documentation of this file.
49 const arma::vec &point,
50 unsigned int comp_index = 0
53 const arma::vec
basis_grad(
unsigned int basis_index,
54 const arma::vec &point,
55 unsigned int comp_index = 0
58 const unsigned int dim()
const override {
return powers.size(); }
85 template <
unsigned int dim>
90 FE_P(
unsigned int degree);
107 template <
unsigned int dim>
FE_P_disc(unsigned int degree)
Constructor.
unsigned int degree_
Maximum degree of polynomials.
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.
FE_P(unsigned int degree)
Constructor.
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 the description of a general finite element on a reference simplex in dim dimensio...
std::vector< arma::uvec > powers
Coefficients of basis functions.
Global macros to enhance readability and debugging, general constants.
PolynomialSpace(unsigned int degree, unsigned int dim)
Constructor.
const unsigned int degree_
Max. degree of polynomials.
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.
Discontinuous Lagrangean finite element on dim dimensional simplex.
Space of polynomial functions.