Flux variable caches on a gridview with grid caching enabled. More...
#include <dumux/discretization/cellcentered/mpfa/gridfluxvariablescache.hh>

Flux variable caches on a gridview with grid caching enabled.
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 caching is enabled, precompute transmissibilities for all scv faces. | |
| template<class FVElementGeometry, class ElementVolumeVariables> | |
| void | updateElement (const typename FVElementGeometry::GridGeometry::GridView::template Codim< 0 >::Entity &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars) |
| template<class SubControlVolumeFace> | |
| const FluxVariablesCache & | operator[] (const SubControlVolumeFace &scvf) const |
| access operators in the case of caching | |
| template<class SubControlVolumeFace> | |
| FluxVariablesCache & | operator[] (const SubControlVolumeFace &scvf) |
| access operators in the case of caching | |
| template<class SubControlVolumeFace> | |
| const PrimaryInteractionVolume & | primaryInteractionVolume (const SubControlVolumeFace &scvf) const |
| access to the interaction volume an scvf is embedded in | |
| template<class SubControlVolumeFace> | |
| const PrimaryIvDataHandle & | primaryDataHandle (const SubControlVolumeFace &scvf) const |
| access to the data handle of an interaction volume an scvf is embedded in | |
| template<class SubControlVolumeFace> | |
| const SecondaryInteractionVolume & | secondaryInteractionVolume (const SubControlVolumeFace &scvf) const |
| access to the interaction volume an scvf is embedded in | |
| template<class SubControlVolumeFace> | |
| const SecondaryIvDataHandle & | secondaryDataHandle (const SubControlVolumeFace &scvf) const |
| access to the data handle of an interaction volume an scvf is embedded in | |
| const Problem & | problem () const |
Static Public Attributes | |
| static constexpr bool | cachingEnabled = true |
| make it possible to query if caching is enabled | |
| using Dumux::CCMpfaGridFluxVariablesCache< TheTraits, true >::FluxVariablesCache = typename Traits::FluxVariablesCache |
export the flux variable cache type
| using Dumux::CCMpfaGridFluxVariablesCache< TheTraits, true >::LocalView = typename Traits::template LocalView<ThisType, cachingEnabled> |
export the type of the local view
| using Dumux::CCMpfaGridFluxVariablesCache< TheTraits, true >::PrimaryInteractionVolume = typename Traits::PrimaryInteractionVolume |
export the interaction volume types
| using Dumux::CCMpfaGridFluxVariablesCache< TheTraits, true >::PrimaryIvDataHandle = typename Traits::PrimaryIvDataHandle |
export the data handle types used
| using Dumux::CCMpfaGridFluxVariablesCache< TheTraits, true >::SecondaryInteractionVolume = typename Traits::SecondaryInteractionVolume |
| using Dumux::CCMpfaGridFluxVariablesCache< TheTraits, true >::SecondaryIvDataHandle = typename Traits::SecondaryIvDataHandle |
| using Dumux::CCMpfaGridFluxVariablesCache< TheTraits, true >::Traits = TheTraits |
export the Traits
|
inline |
The constructor.
|
inline |
access operators in the case of caching
|
inline |
access operators in the case of caching
|
inline |
access to the data handle of an interaction volume an scvf is embedded in
|
inline |
access to the interaction volume an scvf is embedded in
|
inline |
|
inline |
access to the data handle of an interaction volume an scvf is embedded in
|
inline |
access to the interaction volume an scvf is embedded in
|
inline |
When global caching is enabled, precompute transmissibilities for all scv faces.
|
inline |
|
staticconstexpr |
make it possible to query if caching is enabled