ConservedVariableIndex< dim > Struct Template Reference

Developer Documentation: MeltPoolDG::CompressibleFlow::ConservedVariableIndex< dim > Struct Template Reference
Developer Documentation
MeltPoolDG::CompressibleFlow::ConservedVariableIndex< dim > Struct Template Reference

#include <data_types.hpp>

Static Public Attributes

static constexpr unsigned int density = 0
 
static constexpr unsigned int momentum = 1
 
static constexpr unsigned int energy = dim + 1
 

Detailed Description

template<int dim>
struct MeltPoolDG::CompressibleFlow::ConservedVariableIndex< dim >

Compile-time indices for accessing individual conserved variables within a dealii::Tensor storing the state of the compressible flow solver used throughout the codebase.

Member Data Documentation

◆ density

template<int dim>
constexpr unsigned int MeltPoolDG::CompressibleFlow::ConservedVariableIndex< dim >::density = 0
staticconstexpr

◆ energy

template<int dim>
constexpr unsigned int MeltPoolDG::CompressibleFlow::ConservedVariableIndex< dim >::energy = dim + 1
staticconstexpr

◆ momentum

template<int dim>
constexpr unsigned int MeltPoolDG::CompressibleFlow::ConservedVariableIndex< dim >::momentum = 1
staticconstexpr

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