version 3.10.0
Loading...
Searching...
No Matches
Dumux::CCTpfaGridFluxVariablesCache< P, FVC, FVCF, false, TheTraits > Class Template Reference

Flux variable caches on a gridview with grid caching disabled.

#include <dumux/discretization/cellcentered/tpfa/gridfluxvariablescache.hh>

Inheritance diagram for Dumux::CCTpfaGridFluxVariablesCache< P, FVC, FVCF, false, TheTraits >:

Public Types

using Traits = TheTraits
 the flux variables cache traits
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

 CCTpfaGridFluxVariablesCache (const Problem &problem)
template<class GridGeometry, class GridVolumeVariables, class SolutionVector>
void update (const GridGeometry &gridGeometry, const GridVolumeVariables &gridVolVars, const SolutionVector &sol, bool forceUpdate=false)
 When global flux variables caching is disabled, we don't need to update the cache.
template<class FVElementGeometry, class ElementVolumeVariables>
void updateElement (const typename FVElementGeometry::GridGeometry::GridView::template Codim< 0 >::Entity &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars)
 When global flux variables caching is disabled, we don't need to update the cache.
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 FVCF, class TheTraits>
using Dumux::CCTpfaGridFluxVariablesCache< P, FVC, FVCF, false, TheTraits >::FluxVariablesCache = typename Traits::FluxVariablesCache

◆ LocalView

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

◆ Traits

template<class P, class FVC, class FVCF, class TheTraits>
using Dumux::CCTpfaGridFluxVariablesCache< P, FVC, FVCF, false, TheTraits >::Traits = TheTraits

Constructor & Destructor Documentation

◆ CCTpfaGridFluxVariablesCache()

template<class P, class FVC, class FVCF, class TheTraits>
Dumux::CCTpfaGridFluxVariablesCache< P, FVC, FVCF, false, TheTraits >::CCTpfaGridFluxVariablesCache ( const Problem & problem)
inline

Member Function Documentation

◆ problem()

template<class P, class FVC, class FVCF, class TheTraits>
const Problem & Dumux::CCTpfaGridFluxVariablesCache< P, FVC, FVCF, false, TheTraits >::problem ( ) const
inline

◆ update()

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

◆ updateElement()

template<class P, class FVC, class FVCF, class TheTraits>
template<class FVElementGeometry, class ElementVolumeVariables>
void Dumux::CCTpfaGridFluxVariablesCache< P, FVC, FVCF, false, TheTraits >::updateElement ( const typename FVElementGeometry::GridGeometry::GridView::template Codim< 0 >::Entity & element,
const FVElementGeometry & fvGeometry,
const ElementVolumeVariables & elemVolVars )
inline

Member Data Documentation

◆ cachingEnabled

template<class P, class FVC, class FVCF, class TheTraits>
bool Dumux::CCTpfaGridFluxVariablesCache< P, FVC, FVCF, false, TheTraits >::cachingEnabled = false
staticconstexpr

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