7#ifndef MAIA_VARIABLES_H_
8#define MAIA_VARIABLES_H_
37 for(
MInt i = 0; i < nDim; i++) {
152#if !defined(MAIA_PGI_COMPILER) && defined(NDEBUG) && !defined(MAIA_SANITIZE_ADDRESS) && !defined(MAIA_INTEL_COMPILER)
153 static constexpr std::array<MInt, 3>
VV = {0, 1, 2};
155 std::array<MInt, 3>
VV = {0, 1, 2};
193static const MInt Segfault = std::numeric_limits<MInt>::min();
202 static constexpr MInt RHO_W = nd == 3 ? 2 : variables::Segfault;
203 static constexpr std::array<MInt, 3>
RHO_VV = {0, 1, 2};
227 static constexpr MInt W = nd == 3 ? 2 : variables::Segfault;
228 static constexpr std::array<MInt, 3>
VV = {0, 1, 2};
Storage of the Position of the Conservative Variables (RHO, RHO_VV, RHO_E) in the value vectors of th...
MConservativeVariables(MInt noSpecies, MInt noRANSEq=0)
Sets the position for the conservative variables.
static constexpr MInt RHO_C
Position of RHO_C.
MInt noVariables
The Nr. of Conservative Variables (nDim + 2)
static constexpr MInt RHO_W
Position of RHO_W.
static constexpr MInt RHO_U
Position of RHO_U.
std::array< MInt, nDim > RHO_VV
Pointer for the velocities so you can use them in a loop.
static constexpr MInt RHO_Z
Position of RHO_Z.
~MConservativeVariables()
static constexpr MInt RHO
Position of RHO.
MInt * RANS_VAR
Position of RANS Variables.
MInt RANS_FIRST
first Position of RANS Variables
MInt * RHO_Y
Position of RHO_Yi.
std::array< MFloat, nDim > ransInfinity
static constexpr MInt RHO_E
Position of RHO_E.
std::array< MFloat, nDim > rhoVVInfinity
static constexpr MInt RHO_V
Position of RHO_V.
Storage of the Position of the Primitive Variables (u, v, w, T, p) in the value vectors of the solver...
MInt RANS_FIRST
first Position of RANS Variables
std::array< MFloat, nDim > ransInfinity
std::array< MFloat, nDim > VVInfinity
static constexpr MInt T
Position of T.
MPrimitiveVariables(MInt noSpecies, MInt noRANSEq=0)
Sets the position for the primitive variables.
static constexpr MInt RHO
Position of RHO (equal to P in this case)
static constexpr MInt U
Position of U.
static constexpr MInt P
Position of P.
static constexpr MInt C
Position of C.
static constexpr std::array< MInt, 3 > VV
Pointer for the velocities so you can use them in a loop.
static constexpr MInt Z
Position of Z.
MInt noVariables
The Nr. of primitive variables (nDim + 2)
static constexpr MInt V
Position of V.
MInt * RANS_VAR
Position of RANS Variables.
static constexpr MInt W
Position of W.
Namespace for auxiliary functions/classes.
Static indices for accessing conservative variables in nd spatial dimensions.
static constexpr MInt RHO_E
static constexpr std::array< MInt, 3 > RHO_VV
ConservativeVariables:
static constexpr MInt RHO_V
static constexpr MInt RHO_W
static constexpr MInt RHO_N
static constexpr MInt RHO
const MInt m_noRansEquations
static constexpr MInt RHO_U
Static indices for accessing primitive variables in nd spatial dimensions.
const MInt m_noRansEquations
static constexpr MInt RHO
static constexpr std::array< MInt, 3 > VV
PrimitiveVariables: