hp2FEM
0.1
|
Calculate the collocation points using the Newton-Cotes quadrature. This class does not store any data. More...
#include <NewtonCotesCollocationPoints1D.h>
Public Member Functions | |
NewtonCotesCollocationPoints1D () | |
~NewtonCotesCollocationPoints1D () | |
void | GetCollocCoordinates (unsigned long PolyOrder, unsigned long &NumCoordinates, double *const CollocCoords) |
Calculates the coordinates of the collocation points using the Newton-Cotes quadrature. |
Calculate the collocation points using the Newton-Cotes quadrature. This class does not store any data.
Class constructor.
Class destructor.
void NewtonCotesCollocationPoints1D::GetCollocCoordinates | ( | unsigned long | PolyOrder, |
unsigned long & | NumCoordinates, | ||
double *const | CollocCoords | ||
) |
Calculates the coordinates of the collocation points using the Newton-Cotes quadrature.
[in] | PolyOrder | - polynomial order used to calculate the number of collocation points. |
[out] | NumCoordinates | - number of collocation points. |
[out] | Coordinates | - coordinates of the collocation points. |