Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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.

Referenced by Nektar::MultiRegions::AssemblyMapCG::AssemblyMapCG(), and Nektar::LibUtilities::MeshPartition::CalculateElementWeight().

140  {
141  ASSERTL2(Na > 1, "Order in 'a' direction must be > 1.");
142  ASSERTL2(Nb > 1, "Order in 'b' direction must be > 1.");
143  return 2*(Na-1) + 2*(Nb-1);
144  }
#define ASSERTL2(condition, msg)
Assert Level 2 – Debugging which is used FULLDEBUG compilation mode. This level assert is designed t...
Definition: ErrorUtil.hpp:250
int Nektar::LibUtilities::StdQuadData::getNumberOfCoefficients ( int  Na,
int  Nb 
)
inline

Definition at line 132 of file ShapeType.hpp.

References ASSERTL2.

Referenced by Nektar::MultiRegions::AssemblyMapCG::AssemblyMapCG(), Nektar::LibUtilities::MeshPartition::CalculateEdgeWeight(), Nektar::LibUtilities::MeshPartition::CalculateElementWeight(), Nektar::FieldUtils::ProcessEquiSpacedOutput::SetHomogeneousConnectivity(), Nektar::FieldUtils::ProcessEquiSpacedOutput::SetupEquiSpacedField(), and Nektar::StdRegions::StdQuadExp::v_GenMatrix().

133  {
134  ASSERTL2(Na > 1, "Order in 'a' direction must be > 1.");
135  ASSERTL2(Nb > 1, "Order in 'b' direction must be > 1.");
136  return Na*Nb;
137  }
#define ASSERTL2(condition, msg)
Assert Level 2 – Debugging which is used FULLDEBUG compilation mode. This level assert is designed t...
Definition: ErrorUtil.hpp:250