3.5-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Static Public Member Functions | List of all members
Dumux::TwoPNCModelTraits< nComp, useMol, setMoleFractionForFP, formulation, repCompEqIdx > Struct Template Reference

Specifies a number properties of two-phase n-component models. More...

#include <dumux/porousmediumflow/2pnc/model.hh>

Description

template<int nComp, bool useMol, bool setMoleFractionForFP, TwoPFormulation formulation, int repCompEqIdx = nComp>
struct Dumux::TwoPNCModelTraits< nComp, useMol, setMoleFractionForFP, formulation, repCompEqIdx >

Specifies a number properties of two-phase n-component models.

Template Parameters
nCompthe number of components to be considered.
useMolwhether to use molar or mass balances
setMoleFractionForFPwhether to set mole fractions for first or second phase

Public Types

using Indices = TwoPNCIndices
 

Static Public Member Functions

static constexpr int numEq ()
 
static constexpr int numFluidPhases ()
 
static constexpr int numFluidComponents ()
 
static constexpr int replaceCompEqIdx ()
 
static constexpr bool enableAdvection ()
 
static constexpr bool enableMolecularDiffusion ()
 
static constexpr bool enableEnergyBalance ()
 
static constexpr bool enableThermalNonEquilibrium ()
 
static constexpr bool enableChemicalNonEquilibrium ()
 
static constexpr bool enableCompositionalDispersion ()
 
static constexpr bool enableThermalDispersion ()
 
static constexpr bool useMoles ()
 
static constexpr bool setMoleFractionsForFirstPhase ()
 
static constexpr TwoPFormulation priVarFormulation ()
 

Member Typedef Documentation

◆ Indices

template<int nComp, bool useMol, bool setMoleFractionForFP, TwoPFormulation formulation, int repCompEqIdx = nComp>
using Dumux::TwoPNCModelTraits< nComp, useMol, setMoleFractionForFP, formulation, repCompEqIdx >::Indices = TwoPNCIndices

Member Function Documentation

◆ enableAdvection()

template<int nComp, bool useMol, bool setMoleFractionForFP, TwoPFormulation formulation, int repCompEqIdx = nComp>
static constexpr bool Dumux::TwoPNCModelTraits< nComp, useMol, setMoleFractionForFP, formulation, repCompEqIdx >::enableAdvection ( )
inlinestaticconstexpr

◆ enableChemicalNonEquilibrium()

template<int nComp, bool useMol, bool setMoleFractionForFP, TwoPFormulation formulation, int repCompEqIdx = nComp>
static constexpr bool Dumux::TwoPNCModelTraits< nComp, useMol, setMoleFractionForFP, formulation, repCompEqIdx >::enableChemicalNonEquilibrium ( )
inlinestaticconstexpr

◆ enableCompositionalDispersion()

template<int nComp, bool useMol, bool setMoleFractionForFP, TwoPFormulation formulation, int repCompEqIdx = nComp>
static constexpr bool Dumux::TwoPNCModelTraits< nComp, useMol, setMoleFractionForFP, formulation, repCompEqIdx >::enableCompositionalDispersion ( )
inlinestaticconstexpr

◆ enableEnergyBalance()

template<int nComp, bool useMol, bool setMoleFractionForFP, TwoPFormulation formulation, int repCompEqIdx = nComp>
static constexpr bool Dumux::TwoPNCModelTraits< nComp, useMol, setMoleFractionForFP, formulation, repCompEqIdx >::enableEnergyBalance ( )
inlinestaticconstexpr

◆ enableMolecularDiffusion()

template<int nComp, bool useMol, bool setMoleFractionForFP, TwoPFormulation formulation, int repCompEqIdx = nComp>
static constexpr bool Dumux::TwoPNCModelTraits< nComp, useMol, setMoleFractionForFP, formulation, repCompEqIdx >::enableMolecularDiffusion ( )
inlinestaticconstexpr

◆ enableThermalDispersion()

template<int nComp, bool useMol, bool setMoleFractionForFP, TwoPFormulation formulation, int repCompEqIdx = nComp>
static constexpr bool Dumux::TwoPNCModelTraits< nComp, useMol, setMoleFractionForFP, formulation, repCompEqIdx >::enableThermalDispersion ( )
inlinestaticconstexpr

◆ enableThermalNonEquilibrium()

template<int nComp, bool useMol, bool setMoleFractionForFP, TwoPFormulation formulation, int repCompEqIdx = nComp>
static constexpr bool Dumux::TwoPNCModelTraits< nComp, useMol, setMoleFractionForFP, formulation, repCompEqIdx >::enableThermalNonEquilibrium ( )
inlinestaticconstexpr

◆ numEq()

template<int nComp, bool useMol, bool setMoleFractionForFP, TwoPFormulation formulation, int repCompEqIdx = nComp>
static constexpr int Dumux::TwoPNCModelTraits< nComp, useMol, setMoleFractionForFP, formulation, repCompEqIdx >::numEq ( )
inlinestaticconstexpr

◆ numFluidComponents()

template<int nComp, bool useMol, bool setMoleFractionForFP, TwoPFormulation formulation, int repCompEqIdx = nComp>
static constexpr int Dumux::TwoPNCModelTraits< nComp, useMol, setMoleFractionForFP, formulation, repCompEqIdx >::numFluidComponents ( )
inlinestaticconstexpr

◆ numFluidPhases()

template<int nComp, bool useMol, bool setMoleFractionForFP, TwoPFormulation formulation, int repCompEqIdx = nComp>
static constexpr int Dumux::TwoPNCModelTraits< nComp, useMol, setMoleFractionForFP, formulation, repCompEqIdx >::numFluidPhases ( )
inlinestaticconstexpr

◆ priVarFormulation()

template<int nComp, bool useMol, bool setMoleFractionForFP, TwoPFormulation formulation, int repCompEqIdx = nComp>
static constexpr TwoPFormulation Dumux::TwoPNCModelTraits< nComp, useMol, setMoleFractionForFP, formulation, repCompEqIdx >::priVarFormulation ( )
inlinestaticconstexpr

◆ replaceCompEqIdx()

template<int nComp, bool useMol, bool setMoleFractionForFP, TwoPFormulation formulation, int repCompEqIdx = nComp>
static constexpr int Dumux::TwoPNCModelTraits< nComp, useMol, setMoleFractionForFP, formulation, repCompEqIdx >::replaceCompEqIdx ( )
inlinestaticconstexpr

◆ setMoleFractionsForFirstPhase()

template<int nComp, bool useMol, bool setMoleFractionForFP, TwoPFormulation formulation, int repCompEqIdx = nComp>
static constexpr bool Dumux::TwoPNCModelTraits< nComp, useMol, setMoleFractionForFP, formulation, repCompEqIdx >::setMoleFractionsForFirstPhase ( )
inlinestaticconstexpr

◆ useMoles()

template<int nComp, bool useMol, bool setMoleFractionForFP, TwoPFormulation formulation, int repCompEqIdx = nComp>
static constexpr bool Dumux::TwoPNCModelTraits< nComp, useMol, setMoleFractionForFP, formulation, repCompEqIdx >::useMoles ( )
inlinestaticconstexpr

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