12#ifndef DUMUX_PARAMETER_CACHE_BASE_HH 
   13#define DUMUX_PARAMETER_CACHE_BASE_HH 
   21template <
class Implementation>
 
   39    template <
class Flu
idState>
 
   42        for (
int phaseIdx = 0; phaseIdx < FluidState::numPhases; ++phaseIdx)
 
   43            asImp_().updatePhase(fs, phaseIdx);
 
 
   50    template <
class Flu
idState>
 
   53        for (
int phaseIdx = 0; phaseIdx < FluidState::numPhases; ++phaseIdx)
 
   54            asImp_().updatePhase(fs, phaseIdx);
 
 
   61    template <
class Flu
idState>
 
   64        for (
int phaseIdx = 0; phaseIdx < FluidState::numPhases; ++phaseIdx)
 
   65            asImp_().updatePhase(fs, phaseIdx);
 
 
   74    template <
class Flu
idState>
 
   86    template <
class Flu
idState>
 
   89        asImp_().updatePhase(fs, phaseIdx);
 
 
  100    template <
class Flu
idState>
 
  103        asImp_().updatePhase(fs, phaseIdx);
 
 
  114    template <
class Flu
idState>
 
  129    template <
class Flu
idState>
 
  134        asImp_().updateComposition(fs, phaseIdx);
 
 
  138    Implementation &asImp_()
 
  139    { 
return *
static_cast<Implementation*
>(
this); }
 
 
The base class of the parameter cache classes for fluid systems.
Definition parametercachebase.hh:23
void updateSingleMoleFraction(const FluidState &fs, int phaseIdx, int compIdx)
Update all cached parameters of a specific fluid phase which depend on the mole fraction of a single ...
Definition parametercachebase.hh:130
void updatePhase(const FluidState &fs, int phaseIdx, int exceptQuantities=None)
Update all cached parameters of a specific fluid phase.
Definition parametercachebase.hh:75
void updateAll(const FluidState &fs, int exceptQuantities=None)
Update all cached quantities for all phases.
Definition parametercachebase.hh:40
void updateAllPressures(const FluidState &fs)
Update all cached quantities which depend on the pressure of any fluid phase.
Definition parametercachebase.hh:51
void updateComposition(const FluidState &fs, int phaseIdx)
Update all cached parameters of a specific fluid phase which depend on composition.
Definition parametercachebase.hh:115
void updateTemperature(const FluidState &fs, int phaseIdx)
Update all cached parameters of a specific fluid phase which depend on temperature.
Definition parametercachebase.hh:87
void updateAllTemperatures(const FluidState &fs)
Update all cached quantities which depend on the temperature of any fluid phase.
Definition parametercachebase.hh:62
ExceptQuantities
Definition parametercachebase.hh:25
@ Composition
Definition parametercachebase.hh:29
@ Pressure
Definition parametercachebase.hh:28
@ Temperature
Definition parametercachebase.hh:27
@ None
Definition parametercachebase.hh:26
void updatePressure(const FluidState &fs, int phaseIdx)
Update all cached parameters of a specific fluid phase which depend on pressure.
Definition parametercachebase.hh:101