Ewoms::StokesIndices< TypeTag, PVOffset > Class Template Reference

The primary variable and equation indices of the (Navier-)Stokes model. More...

#include <stokesindices.hh>

Inheritance diagram for Ewoms::StokesIndices< TypeTag, PVOffset >:
Inheritance graph

Static Public Attributes

static const int conti0EqIdx = PVOffset + 0
 Index of the mass balance equation. More...
 
static const int momentum0EqIdx = PVOffset + numComponents
 Index of the first component of the momentum equation. More...
 
static const int pressureIdx = PVOffset + 0
 Index of the pressure in a solution vector. More...
 
static const int moleFrac1Idx = PVOffset + 1
 Index of the mole fraction of the SECOND component. More...
 
static const int velocity0Idx = PVOffset + numComponents
 Index of the first component of the velocity. More...
 

Detailed Description

template<class TypeTag, int PVOffset>
class Ewoms::StokesIndices< TypeTag, PVOffset >

The primary variable and equation indices of the (Navier-)Stokes model.

Template Parameters
PVOffsetThe first index in a primary variable vector.

Member Data Documentation

template<class TypeTag , int PVOffset>
const int Ewoms::StokesIndices< TypeTag, PVOffset >::conti0EqIdx = PVOffset + 0
static

Index of the mass balance equation.

template<class TypeTag , int PVOffset>
const int Ewoms::StokesIndices< TypeTag, PVOffset >::moleFrac1Idx = PVOffset + 1
static

Index of the mole fraction of the SECOND component.

template<class TypeTag , int PVOffset>
const int Ewoms::StokesIndices< TypeTag, PVOffset >::momentum0EqIdx = PVOffset + numComponents
static

Index of the first component of the momentum equation.

template<class TypeTag , int PVOffset>
const int Ewoms::StokesIndices< TypeTag, PVOffset >::pressureIdx = PVOffset + 0
static

Index of the pressure in a solution vector.

template<class TypeTag , int PVOffset>
const int Ewoms::StokesIndices< TypeTag, PVOffset >::velocity0Idx = PVOffset + numComponents
static

Index of the first component of the velocity.


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