Calculate the 1D standard Lagrange polynomials and their first and second derivatives for the given Coordinates. The polynomials are constructed using the CollocationCoordinates. This class does not store any data.
More...
#include <StandardLagrange1D.h>
List of all members.
Public Member Functions |
| StandardLagrange1D () |
| Default constructor.
|
void | GetPolynomialValue (unsigned long PolyOrder, double *const CollocCoordinates, double *const Coordinates, unsigned long NumCoordinates, double *Phi) |
| Calculate the standard Lagrange polynomials for the collocation points CollocCoordinates evaluated on Coordinates.
|
void | Get1stDerivative (unsigned long PolyOrder, double *const CollocCoordinates, double *const Coordinates, unsigned long NumCoordinates, double *dPhi) |
| Calculate the first derivative of the standard Lagrange polynomials for the collocation points CollocCoordinates evaluated on Coordinates.
|
void | Get2ndDerivative (unsigned long PolyOrder, double *const CollocCoordinates, double *const Coordinates, unsigned long NumCoordinates, double *d2Phi) |
| Calculate the second derivative of the standard Lagrange polynomials for the collocation points CollocCoordinates evaluated on Coordinates.
|
Detailed Description
Calculate the 1D standard Lagrange polynomials and their first and second derivatives for the given Coordinates. The polynomials are constructed using the CollocationCoordinates. This class does not store any data.
- Author:
- Fabiano Fernandes Bargos/Marco L;ucio Bittencourt
- Date:
- March/17/2011
Member Function Documentation
Calculate the first derivative of the standard Lagrange polynomials for the collocation points CollocCoordinates evaluated on Coordinates.
- Parameters:
-
[in] | PolyOrder | - polynomial order. |
[in] | CollocCoordinates | : Collocation points coordinates for nodal basis. |
[in] | Coordinates | - Coordinates on which the polynomial 1st derivative values are calculated. |
[in] | NumCoordinates | - number of coordinates where the polynomials are calculated. |
[out] | dPhi | : array with the polynomial 1st derivative values for all coordinates. |
Calculate the second derivative of the standard Lagrange polynomials for the collocation points CollocCoordinates evaluated on Coordinates.
- Parameters:
-
[in] | PolyOrder | - polynomial order. |
[in] | CollocCoordinates | : Collocation points coordinates for nodal basis. |
[in] | Coordinates | - Coordinates on which the polynomial 2nd derivative values are calculated. |
[in] | NumCoordinates | - number of coordinates where the polynomials are calculated. |
[out] | d2Phi | : array with the polynomial 2nd derivative values for all coordinates. |
Calculate the standard Lagrange polynomials for the collocation points CollocCoordinates evaluated on Coordinates.
- Parameters:
-
[in] | PolyOrder | - polynomial order. |
[in] | CollocCoordinates | : Collocation points coordinates for nodal basis. |
[in] | Coordinates | - Coordinates on which the polynomial values are calculated. |
[in] | NumCoordinates | - number of coordinates where the polynomials are calculated for the Numerical integration points. |
[out] | Phi | : array with the polynomial values for all coordinates. |
The documentation for this class was generated from the following files:
- include/interpolation/polynomials1d/StandardLagrange1D.h
- src/interpolation/polynomials1d/StandardLagrange1D.cpp