The isothermal base class. More...
#include <dumux/porousmediumflow/volumevariables.hh>
Traits | The volume variables traits |
Impl | The implementation of the volume variables |
Public Types | |
using | PrimaryVariables = typename Traits::PrimaryVariables |
Export the type used for the primary variables. More... | |
using | Indices = typename Traits::ModelTraits::Indices |
Export the type encapsulating primary variable indices. More... | |
Public Member Functions | |
template<class ElemSol , class Problem , class Element , class Scv > | |
void | update (const ElemSol &elemSol, const Problem &problem, const Element &element, const Scv &scv) |
Updates all quantities for a given control volume. More... | |
const PrimaryVariables & | priVars () const |
Returns the vector of primary variables. More... | |
Scalar | priVar (const int pvIdx) const |
Returns a component of primary variable vector. More... | |
Scalar | extrusionFactor () const |
Returns how much the sub-control volume is extruded. More... | |
Static Public Member Functions | |
static constexpr int | numFluidPhases () |
Return number of phases considered by the model. More... | |
static constexpr int | numFluidComponents () |
Return number of components considered by the model. More... | |
using Dumux::PorousMediumFlowVolumeVariables< Traits >::Indices = typename Traits::ModelTraits::Indices |
using Dumux::PorousMediumFlowVolumeVariables< Traits >::PrimaryVariables = typename Traits::PrimaryVariables |
|
inline |
This means the factor by which a lower-dimensional (1D or 2D) entity needs to be expanded to get a full dimensional cell. The default is 1.0 which means that 1D problems are actually thought as pipes with a cross section of 1 m^2 and 2D problems are assumed to extend 1 m to the back.
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inline |
pvIdx | The index of the primary variable of interest |
|
inline |
|
inline |
elemSol | A vector containing all primary variables connected to the element |
problem | The object specifying the problem which ought to be simulated |
element | An element which contains part of the control volume |
scv | The sub-control volume |