22 : RHO_Z(nd + 2 + noRans),
23 RHO_C(nd + 2 + noRans),
24 m_noSpecies(noSpecies),
25 m_noRansEquations(noRans),
26 noVariables(nd + 2 + noRans + noSpecies) {
60 m_noSpecies(noSpecies),
61 m_noRansEquations(noRans),
62 noVariables(nd + 2 + noRans + noSpecies) {
void mAlloc(T *&a, const MLong N, const MString &objectName, MString function)
allocates memory for one-dimensional array 'a' of size N
MBool mDeallocate(T *&a)
deallocates the memory previously allocated for element 'a'
Namespace for auxiliary functions/classes.
Static indices for accessing conservative variables in nd spatial dimensions.
static constexpr std::array< MInt, 3 > RHO_VV
ConservativeVariables:
static constexpr MInt RHO_N
const MInt m_noRansEquations
ConservativeVariables(const MInt noSpecies, const MInt noRans)
Static indices for accessing primitive variables in nd spatial dimensions.
const MInt m_noRansEquations
PrimitiveVariables(const MInt noSpecies, const MInt noRans)