Class representing 1D Lagrange polynomials.
More...
|
| | Lagrange1D (const RealArray &p) |
| | Constructor initializing the reference to natural coordinates. More...
|
| |
| bool | eval (int polnum, double xi, double &retval, bool deriv=false) const |
| | Evaluates a 1D Lagrange polynomial or its derivatives. More...
|
| |
Class representing 1D Lagrange polynomials.
◆ Lagrange1D()
| Lagrange1D::Lagrange1D |
( |
const RealArray & |
p | ) |
|
|
inlineexplicit |
Constructor initializing the reference to natural coordinates.
- Parameters
-
| [in] | p | Natural interpolation point coordinates in range [-1,1] |
◆ eval()
| bool Lagrange1D::eval |
( |
int |
polnum, |
|
|
double |
xi, |
|
|
double & |
retval, |
|
|
bool |
deriv = false |
|
) |
| const |
|
inline |
Evaluates a 1D Lagrange polynomial or its derivatives.
- Parameters
-
| [in] | polnum | Which polynomial of the basis to evaluate |
| [in] | xi | Natural coordinate of the evaluation point |
| [out] | retval | The computed polynomial value |
| [in] | deriv | If true, evaluate the first derivatives |
References points.
Referenced by Lagrange::computeBasis().
The documentation for this class was generated from the following file: