|
hp2FEM
0.1
|
Calculates the collocation points coordinates for the square element. The coordinates are also calculated for the line element. More...
#include <SquareCollocationPoints.h>

Public Member Functions | |
| SquareCollocationPoints () | |
| Default onstructor. | |
| SquareCollocationPoints (SquareCollocationPoints &Instance) | |
| Copy-initializer constructor. | |
| ~SquareCollocationPoints () | |
| Destructor. | |
| SquareCollocationPoints & | operator= (SquareCollocationPoints &Instance) |
| Copies the contents of instance to the object. | |
| operator LineCollocationPoints & () | |
| Cast operator for the reference of the class attribute "LineCP". | |
| void | SetMaxPolyOrder (unsigned long MaxOrder) |
| Sets the maximum polynomial order for the square collocation points. | |
| unsigned long | GetMaxPolyOrder () |
| Returns the maximum polynomial order for the square collocation points. | |
| long | GetCollocationPointsSetNumber (unsigned long PolyOrder) |
| Returns the set number of the collocation points for the given polynomial order. | |
| unsigned long | GetTotalNumberCollocationPoints () |
| Returns the total number of collocation points. | |
| unsigned long | GetNumberCollocationPoints (ElementShape_E EntityShape, unsigned long PolyOrder, long &CollocationPointsSetNumber) |
| Returns the number of collocation points for the given polynomial order and the collocation point set where they are stored. | |
| unsigned long | GetNumberCollocationPointsSets () |
| Returns the number of collocation points sets stored in the class. | |
| double *const | GetCollocationPointsCoords (ElementShape_E EntityShape, unsigned long PolyOrder, unsigned long &NumberPoints) |
| Returns the collocation points for the given shape and polynomial order. | |
| void | RunCollocationPointsCoords (ElementShape_E EntityShape, collocationPointsAttributes_S &CPAttributes, OneIndexTable< unsigned long > &TensorIndices, BuiltInArray< unsigned long > &PolyOrder) |
| Calculates the collocation points coordinates. | |
| void | Print (FILE *File, ElementShape_E EntityShape) |
| Prints the collocation coordinates in the given ascii file. | |
Protected Attributes | |
| LineCollocationPoints | LineCP |
| Instance of the LineCollocationPoints class to calculated 1D coordinates. | |
| OneIndexTable< double > | Coords |
| Table that stores the collocation points coordinates. | |
| unsigned long | Pmax |
| Maximum polynomial order. | |
Calculates the collocation points coordinates for the square element. The coordinates are also calculated for the line element.
Copy-initializer constructor.
| [in] | Instance | - instance of the SquareCollocationPoints class |
| double *const SquareCollocationPoints::GetCollocationPointsCoords | ( | ElementShape_E | EntityShape, |
| unsigned long | PolyOrder, | ||
| unsigned long & | NumberPoints | ||
| ) |
Returns the collocation points for the given shape and polynomial order.
| [in] | EntityShape | - entity shape for which the collocation poins are requested. If LINE, returns the line collocation points; if SQUARE, returns the collocation points for square |
| [in] | PolyOrder | - polynomial order |
| long SquareCollocationPoints::GetCollocationPointsSetNumber | ( | unsigned long | PolyOrder | ) |
Returns the set number of the collocation points for the given polynomial order.
| [in] | PolyOrder | - polynomial order |
| unsigned long SquareCollocationPoints::GetMaxPolyOrder | ( | ) |
Returns the maximum polynomial order for the square collocation points.
| unsigned long SquareCollocationPoints::GetNumberCollocationPoints | ( | ElementShape_E | EntityShape, |
| unsigned long | PolyOrder, | ||
| long & | CollocationPointsSetNumber | ||
| ) |
Returns the number of collocation points for the given polynomial order and the collocation point set where they are stored.
| [in] | EntityShape | - entity shape for which the number of collocation points must be calculated. If it is SQUARE, the number of square collocation points are calculated; if it is LINE, only the number of line collocation points are calculated. |
| [in] | PolyOrder | - polynomial order for which the number of collocation points is requested. |
| [out] | CollocationPointsSetNumber | - number of the set where the collocation poins are stored. |
| unsigned long SquareCollocationPoints::GetNumberCollocationPointsSets | ( | ) |
Returns the number of collocation points sets stored in the class.
| unsigned long SquareCollocationPoints::GetTotalNumberCollocationPoints | ( | ) |
Returns the total number of collocation points.
| SquareCollocationPoints::operator LineCollocationPoints & | ( | ) |
Cast operator for the reference of the class attribute "LineCP".
| SquareCollocationPoints & SquareCollocationPoints::operator= | ( | SquareCollocationPoints & | Instance | ) |
Copies the contents of instance to the object.
| [in] | Instance | - instance of the SquareCollocationPoints class |
| void SquareCollocationPoints::Print | ( | FILE * | File, |
| ElementShape_E | EntityShape | ||
| ) |
Prints the collocation coordinates in the given ascii file.
| [in] | File | - pointer to the ascii file. |
| [in] | EntityShape | - entity shape for which the coolocation points must be printed. If LINE, onlye the line coordinates are printed; if SQUARE, the square collocation points coodinates are printed. |
| void SquareCollocationPoints::RunCollocationPointsCoords | ( | ElementShape_E | EntityShape, |
| collocationPointsAttributes_S & | CPAttributes, | ||
| OneIndexTable< unsigned long > & | TensorIndices, | ||
| BuiltInArray< unsigned long > & | PolyOrder | ||
| ) |
Calculates the collocation points coordinates.
| [in] | EntityShape | - entity shape for which the coolocation points must be calculated. If LINE, onlye the line coordinates are calculated; if SQUARE,, the line and square collocation points coodinates are calculated. |
| [in] | CPAttributes | - attributes for the collocation points. |
| [in] | TensorIndices | - tensorization indices for the square element. |
| [in] | PolyOrder | - array with polynomial orders in ascending sequence. |
| void SquareCollocationPoints::SetMaxPolyOrder | ( | unsigned long | MaxOrder | ) |
Sets the maximum polynomial order for the square collocation points.
| [in] | MaxOrder | - maximum polynomial order. |
1.7.6.1