Nektar++
|
Functions | |
int | getNumberOfCoefficients (int Na, int Nb, int Nc) |
int | getNumberOfBndCoefficients (int Na, int Nb, int Nc) |
|
inline |
Definition at line 210 of file ShapeType.hpp.
References ASSERTL1, and ASSERTL2.
Referenced by Nektar::SpatialDomains::MeshPartition::CalculateElementWeight(), and Nektar::StdRegions::StdTetExp::v_NumBndryCoeffs().
|
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 187 of file ShapeType.hpp.
References ASSERTL1, and ASSERTL2.
Referenced by Nektar::SpatialDomains::MeshPartition::CalculateElementWeight(), Nektar::LibUtilities::GetNumberOfCoefficients(), Nektar::LibUtilities::GetNumberOfDataPoints(), Nektar::Collections::TetIProduct(), Nektar::StdRegions::StdTetExp::v_CalcNumberOfCoefficients(), Nektar::StdRegions::StdTetExp::v_GenMatrix(), and Nektar::FieldUtils::ProcessEquiSpacedOutput::v_Process().