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

Functions

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

Function Documentation

int Nektar::LibUtilities::StdQuadData::getNumberOfBndCoefficients ( int  Na,
int  Nb 
)
inline

Definition at line 139 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.");
return 2*(Na-1) + 2*(Nb-1);
}
int Nektar::LibUtilities::StdQuadData::getNumberOfCoefficients ( int  Na,
int  Nb 
)
inline

Definition at line 132 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.");
return Na*Nb;
}