Class used to evaluate the 1D Truncated Lagrange polynomials and first ans second derivatives for the given CollocationCoordinates. This class does not store any data.
More...
#include <TruncatedLagrange1D.h>
List of all members.
Public Member Functions |
| TruncatedLagrange1D () |
| Default constructor.
|
void | GetPolynomialValue (unsigned long PolyOrder, double *const CollocCoordinates, double *const Coordinates, unsigned long NumCoordinates, double *Phi) |
| Calculate the truncated 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 truncated 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 truncated Lagrange polynomials for the collocation points CollocCoordinates evaluated on Coordinates.
|
Detailed Description
Class used to evaluate the 1D Truncated Lagrange polynomials and first ans second derivatives for the given CollocationCoordinates. This class does not store any data.
- Author:
- Fabiano Fernandes Bargos/Marco Lcio Bittencourt
- Date:
- March/17/2011
Member Function Documentation
Calculate the first derivative of the truncated 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 first derivative values are calculated. |
[in] | NumCoordinates | - number of coordinates where the polynomials are calculated for the Collocation points. |
[out] | dPhi | : array with the polynomial first derivatives values for all coordinates. |
Calculate the second derivative of the truncated 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 second derivatives values are calculated. |
[in] | NumCoordinates | - number of coordinates where the polynomials are calculated.. |
[out] | d2Phi | : array with the polynomial second derivatives values for all coordinates. |
Calculate the truncated 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 Collocation 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/TruncatedLagrange1D.h
- src/interpolation/polynomials1d/TruncatedLagrange1D.cpp