Flow123d
last_with_con_2.0.0-4-g42e6930
|
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 |