Static indices for accessing primitive variables in nDim spatial dimensions.
More...
#include <fvcartesiansyseqnns.h>
template<
MInt nDim>
struct FvSysEqnNS< nDim >::PrimitiveVariables
Definition at line 391 of file fvcartesiansyseqnns.h.
◆ PrimitiveVariables()
FvSysEqnNS< nDim >::PrimitiveVariables::PrimitiveVariables |
( |
const MInt |
noSpecies | ) |
|
Definition at line 38 of file fvcartesiansyseqnns.cpp.
44 }
45 }
46}
void mAlloc(T *&a, const MLong N, const MString &objectName, MString function)
allocates memory for one-dimensional array 'a' of size N
◆ ~PrimitiveVariables()
FvSysEqnNS< nDim >::PrimitiveVariables::~PrimitiveVariables |
Definition at line 49 of file fvcartesiansyseqnns.cpp.
49 {
51}
MBool mDeallocate(T *&a)
deallocates the memory previously allocated for element 'a'
◆ getPrimitiveVariableNames()
void FvSysEqnNS< nDim >::PrimitiveVariables::getPrimitiveVariableNames |
( |
MString * |
names | ) |
|
Definition at line 54 of file fvcartesiansyseqnns.cpp.
54 {
55 TRACE();
56
59 }
60}
const std::array< MString, nDim+3 > varNames
◆ m_noSpecies
◆ noVariables
◆ RHO
◆ Segfault
const MInt FvSysEqnNS< nDim >::PrimitiveVariables::Segfault = std::numeric_limits<MInt>::min() |
|
static |
◆ varNames
Initial value:= [] {
IF_CONSTEXPR(nDim == 2) {
std::array<MString, nDim + 3>
a = {
"u",
"v",
"rho",
"p",
"c"};
}
else {
std::array<MString, nDim + 3>
a = {
"u",
"v",
"w",
"rho",
"p",
"c"};
}
}()
Definition at line 406 of file fvcartesiansyseqnns.h.
◆ VV
The documentation for this struct was generated from the following files: