Flow123d
release_2.2.0-41-g0958a8d
|
Space of polynomial functions. More...
#include <fe_p.hh>
Public Member Functions | |
PolynomialSpace () | |
Constructor. More... | |
const double | basis_value (unsigned int i, const arma::vec::fixed< dim > &p) const |
Value of the i th basis function at point p . More... | |
const arma::vec::fixed< dim > | basis_grad (unsigned int i, const arma::vec::fixed< dim > &p) const |
Gradient of the i th basis function at point p . More... | |
Private Attributes | |
std::vector< arma::uvec::fixed< dim > > | powers |
Coefficients of basis functions. More... | |
Space of polynomial functions.
This class serves for evaluation of the value and gradient of a polynomial of order degree
in dim
variables.
PolynomialSpace< degree, dim >::PolynomialSpace | ( | ) |
const arma::vec::fixed< dim > PolynomialSpace< degree, dim >::basis_grad | ( | unsigned int | i, |
const arma::vec::fixed< dim > & | p | ||
) | const |
const double PolynomialSpace< degree, dim >::basis_value | ( | unsigned int | i, |
const arma::vec::fixed< dim > & | p | ||
) | const |
|
private |