Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
Nektar::LibUtilities::StdHexData Namespace Reference

Functions

int getNumberOfCoefficients (int Na, int Nb, int Nc)
int getNumberOfBndCoefficients (int Na, int Nb, int Nc)

Function Documentation

int Nektar::LibUtilities::StdHexData::getNumberOfBndCoefficients ( int  Na,
int  Nb,
int  Nc 
)
inline

Definition at line 159 of file ShapeType.hpp.

References ASSERTL2.

{
ASSERTL2(Na > 1, "Order in 'a' direction must be > 1.");
ASSERTL2(Nb > 1, "Order in 'b' direction must be > 1.");
ASSERTL2(Nc > 1, "Order in 'c' direction must be > 1.");
return 2*Na*Nb + 2*Na*Nc + 2*Nb*Nc
- 4*(Na + Nb + Nc) + 8;
}
int Nektar::LibUtilities::StdHexData::getNumberOfCoefficients ( int  Na,
int  Nb,
int  Nc 
)
inline

Definition at line 151 of file ShapeType.hpp.

References ASSERTL2.

{
ASSERTL2(Na > 1, "Order in 'a' direction must be > 1.");
ASSERTL2(Nb > 1, "Order in 'b' direction must be > 1.");
ASSERTL2(Nc > 1, "Order in 'c' direction must be > 1.");
return Na*Nb*Nc;
}