3.2-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::BoxGridFluxVariablesCache< P, FVC, false, Traits > Class Template Reference

Flux variable caches on a gridview with grid caching disabled. More...

#include <dumux/discretization/box/gridfluxvariablescache.hh>

Description

template<class P, class FVC, class Traits>
class Dumux::BoxGridFluxVariablesCache< P, FVC, false, Traits >

Flux variable caches on a gridview with grid caching disabled.

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

 BoxGridFluxVariablesCache (const Problem &problem)
 
template<class GridGeometry , class GridVolumeVariables , class SolutionVector >
void update (const GridGeometry &gridGeometry, const GridVolumeVariables &gridVolVars, const SolutionVector &sol, bool forceUpdate=false)
 
const Problem & problem () const
 

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::BoxGridFluxVariablesCache< P, FVC, false, Traits >::FluxVariablesCache = typename Traits::FluxVariablesCache

export the flux variable cache type

◆ LocalView

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

export the type of the local view

Constructor & Destructor Documentation

◆ BoxGridFluxVariablesCache()

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

Member Function Documentation

◆ problem()

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

◆ update()

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

Member Data Documentation

◆ cachingEnabled

template<class P , class FVC , class Traits >
constexpr bool Dumux::BoxGridFluxVariablesCache< 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: