3.5-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Member Functions | List of all members
Dumux::SwitchablePrimaryVariables< PrimaryVariables, StateType > Class Template Reference

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

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

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

Description

template<class PrimaryVariables, class StateType>
class Dumux::SwitchablePrimaryVariables< PrimaryVariables, StateType >

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

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

Invalidate the state.

◆ setState()

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

Set the state of this primary variable object, e.g. the phase presence.

◆ state()

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

Ask for the state of this primary variable object, e.g. the phase presence.


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