MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
LPT< nDim >::PrimitiveVariables Struct Reference

Static indices for accessing primitive variables in nDim spatial dimensions. More...

#include <lpt.h>

Collaboration diagram for LPT< nDim >::PrimitiveVariables:
[legend]

Public Member Functions

constexpr MInt noVars () const
 

Static Public Attributes

static const MInt Segfault = std::numeric_limits<MInt>::min()
 
static constexpr MInt U = 0
 
static constexpr MInt V = 1
 
static constexpr MInt W = nDim == 3 ? 2 : Segfault
 
static constexpr std::array< MInt, 3 > VV = {0, 1, 2}
 
static constexpr MInt RHO = nDim
 
static constexpr MInt P = nDim + 1
 
static constexpr MInt T = nDim + 2
 
static constexpr MInt m_noVars = nDim + 3
 

Detailed Description

template<MInt nDim>
struct LPT< nDim >::PrimitiveVariables

Definition at line 1015 of file lpt.h.

Member Function Documentation

◆ noVars()

template<MInt nDim>
constexpr MInt LPT< nDim >::PrimitiveVariables::noVars ( ) const
inlineconstexpr

Definition at line 1027 of file lpt.h.

1027{ return m_noVars; };
static constexpr MInt m_noVars
Definition: lpt.h:1026

Member Data Documentation

◆ m_noVars

template<MInt nDim>
constexpr MInt LPT< nDim >::PrimitiveVariables::m_noVars = nDim + 3
staticconstexpr

Definition at line 1026 of file lpt.h.

◆ P

template<MInt nDim>
constexpr MInt LPT< nDim >::PrimitiveVariables::P = nDim + 1
staticconstexpr

Definition at line 1023 of file lpt.h.

◆ RHO

template<MInt nDim>
constexpr MInt LPT< nDim >::PrimitiveVariables::RHO = nDim
staticconstexpr

Definition at line 1022 of file lpt.h.

◆ Segfault

template<MInt nDim>
const MInt LPT< nDim >::PrimitiveVariables::Segfault = std::numeric_limits<MInt>::min()
static

Definition at line 1016 of file lpt.h.

◆ T

template<MInt nDim>
constexpr MInt LPT< nDim >::PrimitiveVariables::T = nDim + 2
staticconstexpr

Definition at line 1024 of file lpt.h.

◆ U

template<MInt nDim>
constexpr MInt LPT< nDim >::PrimitiveVariables::U = 0
staticconstexpr

Definition at line 1018 of file lpt.h.

◆ V

template<MInt nDim>
constexpr MInt LPT< nDim >::PrimitiveVariables::V = 1
staticconstexpr

Definition at line 1019 of file lpt.h.

◆ VV

template<MInt nDim>
constexpr std::array<MInt, 3> LPT< nDim >::PrimitiveVariables::VV = {0, 1, 2}
staticconstexpr

Definition at line 1021 of file lpt.h.

◆ W

template<MInt nDim>
constexpr MInt LPT< nDim >::PrimitiveVariables::W = nDim == 3 ? 2 : Segfault
staticconstexpr

Definition at line 1020 of file lpt.h.


The documentation for this struct was generated from the following file: