Nektar++
|
Functions | |
int | getNumberOfCoefficients (int Na, int Nb, int Nc) |
int | getNumberOfBndCoefficients (int Na, int Nb, int Nc) |
|
inline |
Definition at line 209 of file ShapeType.hpp.
References ASSERTL1, and ASSERTL2.
|
inline |
Adds up the number of cells in a truncated Nc by Nc by Nc pyramid, where the longest Na rows and longest Nb columns are kept. Example: (Na, Nb, Nc) = (3, 4, 5); The number of coefficients is the sum of the elements of the following matrix:
|5 4 3 2 0| |4 3 2 0 | |3 2 0 | |0 0 | |0 |
Sum = 28 = number of tet coefficients.
Definition at line 186 of file ShapeType.hpp.
References ASSERTL1, and ASSERTL2.
Referenced by Nektar::LibUtilities::GetNumberOfCoefficients().