version 3.10-dev
Dumux::SwitchablePrimaryVariables< PrimaryVariables, StateType > Class Template Reference

A primary variable vector with a state to allow variable switches.

#include <dumux/porousmediumflow/compositional/switchableprimaryvariables.hh>

Inheritance diagram for Dumux::SwitchablePrimaryVariables< PrimaryVariables, StateType >:

Public Member Functions

StateType state () const
 Ask for the state of this primary variable object, e.g. the phase presence. More...
 
void setState (StateType state)
 Set the state of this primary variable object, e.g. the phase presence. More...
 
void invalidateState ()
 Invalidate the state. More...
 

Member Function Documentation

◆ invalidateState()

template<class PrimaryVariables , class StateType >
void Dumux::SwitchablePrimaryVariables< PrimaryVariables, StateType >::invalidateState ( )
inline

◆ setState()

template<class PrimaryVariables , class StateType >
void Dumux::SwitchablePrimaryVariables< PrimaryVariables, StateType >::setState ( StateType  state)
inline

◆ state()

template<class PrimaryVariables , class StateType >
StateType Dumux::SwitchablePrimaryVariables< PrimaryVariables, StateType >::state ( ) const
inline

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