hp2FEM
0.1
|
CollocationPoints1D is a container class. Its aim is to call the apropriates quadrature classes to calculate the coordinates of the 1D collocation points. More...
#include <collocationPoints1D.h>
Public Member Functions | |
collocationPoints1D () | |
Default constructor. | |
~collocationPoints1D () | |
Default destructor. | |
void | GetCollocCoordinates (QuadCollocType_E CollocType, unsigned long Alpha, unsigned long Beta, unsigned long PolyOrder, unsigned long &NumCoordinates, double *const CollocCoords) |
Calculates the coordinates of the collocation points. | |
Protected Attributes | |
GaussJacobiCollocationPoints1D | GJColloc |
Variable of the type GaussJacobiCollocationPoints1D class. | |
NewtonCotesCollocationPoints1D | NCColloc |
Variable of the type NewtonCotesCollocationPoints1D class. |
CollocationPoints1D is a container class. Its aim is to call the apropriates quadrature classes to calculate the coordinates of the 1D collocation points.
void collocationPoints1D::GetCollocCoordinates | ( | QuadCollocType_E | CollocType, |
unsigned long | Alpha, | ||
unsigned long | Beta, | ||
unsigned long | PolyOrder, | ||
unsigned long & | NumCoordinates, | ||
double *const | CollocCoords | ||
) |
Calculates the coordinates of the collocation points.
[in] | CollocType,: | 1D quadrature type. |
[in] | Alpha,Beta,: | specifies the weights for orthogonal polynomial basis. |
[in] | PolyOrder | - polynomial order used to calculate the number of collocation points. |
[out] | NumCoordinates | - number of collocation points. |
[out] | CollocCoords | - coordinates of the collocation points. |