3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Loading...
Searching...
No Matches
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>

Inheritance diagram for Dumux::BoxGridFluxVariablesCache< P, FVC, false, Traits >:
Inheritance graph

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
using LocalView = typename Traits::template LocalView<ThisType, cachingEnabled>
 export the type of the local view

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

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>
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: