3.6-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::FaceCenteredStaggeredGridFluxVariablesCache< P, FVC, FVCF, true, Traits > Class Template Reference

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

#include <dumux/discretization/facecentered/staggered/gridfluxvariablescache.hh>

Description

template<class P, class FVC, class FVCF, class Traits>
class Dumux::FaceCenteredStaggeredGridFluxVariablesCache< P, FVC, FVCF, true, Traits >

Flux variable caches on a gridview with grid caching enabled.

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

 FaceCenteredStaggeredGridFluxVariablesCache (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
 
template<class SubControlVolumeFace >
const FluxVariablesCacheoperator[] (const SubControlVolumeFace &scvf) const
 
template<class SubControlVolumeFace >
FluxVariablesCacheoperator[] (const SubControlVolumeFace &scvf)
 

Static Public Attributes

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

Member Typedef Documentation

◆ FluxVariablesCache

template<class P , class FVC , class FVCF , class Traits >
using Dumux::FaceCenteredStaggeredGridFluxVariablesCache< P, FVC, FVCF, true, Traits >::FluxVariablesCache = typename Traits::FluxVariablesCache

export the flux variable cache type

◆ LocalView

template<class P , class FVC , class FVCF , class Traits >
using Dumux::FaceCenteredStaggeredGridFluxVariablesCache< P, FVC, FVCF, true, Traits >::LocalView = typename Traits::template LocalView<ThisType, cachingEnabled>

export the type of the local view

Constructor & Destructor Documentation

◆ FaceCenteredStaggeredGridFluxVariablesCache()

template<class P , class FVC , class FVCF , class Traits >
Dumux::FaceCenteredStaggeredGridFluxVariablesCache< P, FVC, FVCF, true, Traits >::FaceCenteredStaggeredGridFluxVariablesCache ( const Problem &  problem)
inline

Member Function Documentation

◆ operator[]() [1/2]

template<class P , class FVC , class FVCF , class Traits >
template<class SubControlVolumeFace >
FluxVariablesCache & Dumux::FaceCenteredStaggeredGridFluxVariablesCache< P, FVC, FVCF, true, Traits >::operator[] ( const SubControlVolumeFace &  scvf)
inline

◆ operator[]() [2/2]

template<class P , class FVC , class FVCF , class Traits >
template<class SubControlVolumeFace >
const FluxVariablesCache & Dumux::FaceCenteredStaggeredGridFluxVariablesCache< P, FVC, FVCF, true, Traits >::operator[] ( const SubControlVolumeFace &  scvf) const
inline

◆ problem()

template<class P , class FVC , class FVCF , class Traits >
const Problem & Dumux::FaceCenteredStaggeredGridFluxVariablesCache< P, FVC, FVCF, true, Traits >::problem ( ) const
inline

◆ update()

template<class P , class FVC , class FVCF , class Traits >
template<class GridGeometry , class GridVolumeVariables , class SolutionVector >
void Dumux::FaceCenteredStaggeredGridFluxVariablesCache< P, FVC, FVCF, true, 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 FVCF , class Traits >
constexpr bool Dumux::FaceCenteredStaggeredGridFluxVariablesCache< P, FVC, FVCF, true, Traits >::cachingEnabled = true
staticconstexpr

make it possible to query if caching is enabled


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