The flux variables caches for an element with caching enabled. More...
#include <dumux/discretization/cellcentered/mpfa/elementfluxvariablescache.hh>
The flux variables caches for an element with caching enabled.
Public Types | |
using | PrimaryInteractionVolume = typename GFVC::PrimaryInteractionVolume |
export the interaction volume types More... | |
using | SecondaryInteractionVolume = typename GFVC::SecondaryInteractionVolume |
using | PrimaryIvDataHandle = typename GFVC::PrimaryIvDataHandle |
export the data handle types used More... | |
using | SecondaryIvDataHandle = typename GFVC::SecondaryIvDataHandle |
using | FluxVariablesCache = typename GFVC::FluxVariablesCache |
export the flux variable cache type More... | |
using | GridFluxVariablesCache = GFVC |
export the type of the grid flux variables More... | |
Public Member Functions | |
CCMpfaElementFluxVariablesCache (const GridFluxVariablesCache &global) | |
The constructor. More... | |
template<class FVElementGeometry , class ElementVolumeVariables > | |
void | bindElement (const typename FVElementGeometry::GridGeometry::GridView::template Codim< 0 >::Entity &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars) |
Bind the flux var caches for scvfs inside the element only. More... | |
template<class FVElementGeometry , class ElementVolumeVariables > | |
void | bind (const typename FVElementGeometry::GridGeometry::GridView::template Codim< 0 >::Entity &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars) |
Specialization for the global caching being enabled - do nothing here. More... | |
template<class FVElementGeometry , class ElementVolumeVariables > | |
void | bindScvf (const typename FVElementGeometry::GridGeometry::GridView::template Codim< 0 >::Entity &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const typename FVElementGeometry::SubControlVolumeFace &scvf) |
Bind the flux var caches for an individual scvf. More... | |
template<class FVElementGeometry , class ElementVolumeVariables > | |
void | update (const typename FVElementGeometry::GridGeometry::GridView::template Codim< 0 >::Entity &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars) |
Specialization for the global caching being enabled - do nothing here. More... | |
template<class SubControlVolumeFace > | |
const FluxVariablesCache & | operator[] (const SubControlVolumeFace &scvf) const |
access operators in the case of caching More... | |
template<class SubControlVolumeFace > | |
const PrimaryInteractionVolume & | primaryInteractionVolume (const SubControlVolumeFace &scvf) const |
access to the interaction volume an scvf is embedded in More... | |
template<class SubControlVolumeFace > | |
const PrimaryIvDataHandle & | primaryDataHandle (const SubControlVolumeFace &scvf) const |
access to the data handle of an interaction volume an scvf is embedded in More... | |
template<class SubControlVolumeFace > | |
const SecondaryInteractionVolume & | secondaryInteractionVolume (const SubControlVolumeFace &scvf) const |
access to the interaction volume an scvf is embedded in More... | |
template<class SubControlVolumeFace > | |
const SecondaryIvDataHandle & | secondaryDataHandle (const SubControlVolumeFace &scvf) const |
access to the data handle of an interaction volume an scvf is embedded in More... | |
const GridFluxVariablesCache & | gridFluxVarsCache () const |
The global object we are a restriction of. More... | |
Static Public Attributes | |
static constexpr bool | cachingEnabled = true |
make it possible to query if caching is enabled More... | |
using Dumux::CCMpfaElementFluxVariablesCache< GFVC, true >::FluxVariablesCache = typename GFVC::FluxVariablesCache |
export the flux variable cache type
using Dumux::CCMpfaElementFluxVariablesCache< GFVC, true >::GridFluxVariablesCache = GFVC |
export the type of the grid flux variables
using Dumux::CCMpfaElementFluxVariablesCache< GFVC, true >::PrimaryInteractionVolume = typename GFVC::PrimaryInteractionVolume |
export the interaction volume types
using Dumux::CCMpfaElementFluxVariablesCache< GFVC, true >::PrimaryIvDataHandle = typename GFVC::PrimaryIvDataHandle |
export the data handle types used
using Dumux::CCMpfaElementFluxVariablesCache< GFVC, true >::SecondaryInteractionVolume = typename GFVC::SecondaryInteractionVolume |
using Dumux::CCMpfaElementFluxVariablesCache< GFVC, true >::SecondaryIvDataHandle = typename GFVC::SecondaryIvDataHandle |
|
inline |
The constructor.
|
inline |
Specialization for the global caching being enabled - do nothing here.
|
inline |
Bind the flux var caches for scvfs inside the element only.
|
inline |
Bind the flux var caches for an individual scvf.
|
inline |
The global object we are a restriction of.
|
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 |
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 |
Specialization for the global caching being enabled - do nothing here.
|
staticconstexpr |
make it possible to query if caching is enabled