3.5-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Public Member Functions | Static Public Attributes | List of all members
Dumux::PoreNetwork::PNMTwoPGridFluxVariablesCache< P, FVC, false, Traits > Class Template Reference

The grid flux variables cache for the two-phase PNM hodling the invasion state of the throats. More...

#include <dumux/porenetwork/2p/gridfluxvariablescache.hh>

Description

template<class P, class FVC, class Traits>
class Dumux::PoreNetwork::PNMTwoPGridFluxVariablesCache< P, FVC, false, Traits >

The grid flux variables cache for the two-phase PNM hodling the invasion state of the throats.

Note
The flux caches of the gridview are stored which is memory intensive but faster

Public Types

using FluxVariablesCache = typename Traits::FluxVariablesCache
 export the flux variable cache type More...
 
using LocalView = typename Traits::template LocalView< ThisType, cachingEnabled >
 export the type of the local view More...
 

Public Member Functions

 PNMTwoPGridFluxVariablesCache (const Problem &problem)
 
template<class GridGeometry , class GridVolumeVariables , class SolutionVector >
void update (const GridGeometry &gridGeometry, const GridVolumeVariables &gridVolVars, const SolutionVector &sol, bool forceUpdate=true)
 
const Problem & problem () const
 
const InvasionState & invasionState () const
 
InvasionState & invasionState ()
 

Static Public Attributes

static constexpr bool cachingEnabled = false
 make it possible to query if caching is enabled More...
 

Member Typedef Documentation

◆ FluxVariablesCache

template<class P , class FVC , class Traits >
using Dumux::PoreNetwork::PNMTwoPGridFluxVariablesCache< P, FVC, false, Traits >::FluxVariablesCache = typename Traits::FluxVariablesCache

export the flux variable cache type

◆ LocalView

template<class P , class FVC , class Traits >
using Dumux::PoreNetwork::PNMTwoPGridFluxVariablesCache< P, FVC, false, Traits >::LocalView = typename Traits::template LocalView<ThisType, cachingEnabled>

export the type of the local view

Constructor & Destructor Documentation

◆ PNMTwoPGridFluxVariablesCache()

template<class P , class FVC , class Traits >
Dumux::PoreNetwork::PNMTwoPGridFluxVariablesCache< P, FVC, false, Traits >::PNMTwoPGridFluxVariablesCache ( const Problem &  problem)
inline

Member Function Documentation

◆ invasionState() [1/2]

template<class P , class FVC , class Traits >
InvasionState & Dumux::PoreNetwork::PNMTwoPGridFluxVariablesCache< P, FVC, false, Traits >::invasionState ( )
inline

◆ invasionState() [2/2]

template<class P , class FVC , class Traits >
const InvasionState & Dumux::PoreNetwork::PNMTwoPGridFluxVariablesCache< P, FVC, false, Traits >::invasionState ( ) const
inline

◆ problem()

template<class P , class FVC , class Traits >
const Problem & Dumux::PoreNetwork::PNMTwoPGridFluxVariablesCache< P, FVC, false, Traits >::problem ( ) const
inline

◆ update()

template<class P , class FVC , class Traits >
template<class GridGeometry , class GridVolumeVariables , class SolutionVector >
void Dumux::PoreNetwork::PNMTwoPGridFluxVariablesCache< P, FVC, false, Traits >::update ( const GridGeometry gridGeometry,
const GridVolumeVariables &  gridVolVars,
const SolutionVector &  sol,
bool  forceUpdate = true 
)
inline

Member Data Documentation

◆ cachingEnabled

template<class P , class FVC , class Traits >
constexpr bool Dumux::PoreNetwork::PNMTwoPGridFluxVariablesCache< P, FVC, false, Traits >::cachingEnabled = false
staticconstexpr

make it possible to query if caching is enabled


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