version 3.10.0
Loading...
Searching...
No Matches
Dumux::CCMpfaGridFluxVariablesCache< TheTraits, false > Class Template Reference

Flux variable caches on a gridview with grid caching disabled.

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

Inheritance diagram for Dumux::CCMpfaGridFluxVariablesCache< TheTraits, false >:

Public Types

using Traits = TheTraits
 export the Traits
using PrimaryInteractionVolume = typename Traits::PrimaryInteractionVolume
 export the interaction volume types
using SecondaryInteractionVolume = typename Traits::SecondaryInteractionVolume
using PrimaryIvDataHandle = typename Traits::PrimaryIvDataHandle
 export the data handle types used
using SecondaryIvDataHandle = typename Traits::SecondaryIvDataHandle
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

 CCMpfaGridFluxVariablesCache (const Problem &problem)
 The constructor.
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 TheTraits>
using Dumux::CCMpfaGridFluxVariablesCache< TheTraits, false >::FluxVariablesCache = typename Traits::FluxVariablesCache

◆ LocalView

template<class TheTraits>
using Dumux::CCMpfaGridFluxVariablesCache< TheTraits, false >::LocalView = typename Traits::template LocalView<ThisType, cachingEnabled>

◆ PrimaryInteractionVolume

template<class TheTraits>
using Dumux::CCMpfaGridFluxVariablesCache< TheTraits, false >::PrimaryInteractionVolume = typename Traits::PrimaryInteractionVolume

◆ PrimaryIvDataHandle

template<class TheTraits>
using Dumux::CCMpfaGridFluxVariablesCache< TheTraits, false >::PrimaryIvDataHandle = typename Traits::PrimaryIvDataHandle

◆ SecondaryInteractionVolume

template<class TheTraits>
using Dumux::CCMpfaGridFluxVariablesCache< TheTraits, false >::SecondaryInteractionVolume = typename Traits::SecondaryInteractionVolume

◆ SecondaryIvDataHandle

template<class TheTraits>
using Dumux::CCMpfaGridFluxVariablesCache< TheTraits, false >::SecondaryIvDataHandle = typename Traits::SecondaryIvDataHandle

◆ Traits

template<class TheTraits>
using Dumux::CCMpfaGridFluxVariablesCache< TheTraits, false >::Traits = TheTraits

Constructor & Destructor Documentation

◆ CCMpfaGridFluxVariablesCache()

template<class TheTraits>
Dumux::CCMpfaGridFluxVariablesCache< TheTraits, false >::CCMpfaGridFluxVariablesCache ( const Problem & problem)
inline

Member Function Documentation

◆ problem()

template<class TheTraits>
const Problem & Dumux::CCMpfaGridFluxVariablesCache< TheTraits, false >::problem ( ) const
inline

◆ update()

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

◆ updateElement()

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

Member Data Documentation

◆ cachingEnabled

template<class TheTraits>
bool Dumux::CCMpfaGridFluxVariablesCache< TheTraits, false >::cachingEnabled = false
staticconstexpr

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