version 3.10-dev
referencesystemformulation.hh File Reference

The reference frameworks and formulations available for splitting total fluxes into a advective and diffusive part. More...

Go to the source code of this file.

Namespaces

namespace  Dumux
 

Enumerations

enum class  Dumux::ReferenceSystemFormulation { Dumux::ReferenceSystemFormulation::massAveraged , Dumux::ReferenceSystemFormulation::molarAveraged }
 The formulations available for Fick's law related to the reference system. More...
 

Functions

template<class VolumeVariables >
VolumeVariables::PrimaryVariables::value_type Dumux::massOrMolarDensity (const VolumeVariables &volVars, ReferenceSystemFormulation referenceSys, const int phaseIdx)
 evaluates the density to be used in Fick's law based on the reference system More...
 
template<class VolumeVariables >
VolumeVariables::PrimaryVariables::value_type Dumux::massOrMoleFraction (const VolumeVariables &volVars, ReferenceSystemFormulation referenceSys, const int phaseIdx, const int compIdx)
 returns the mass or mole fraction to be used in Fick's law based on the reference system More...