3.6-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Public Member Functions | List of all members
Dumux::CCMpfaElementVolumeVariables< GVV, true > Class Template Reference

The local (stencil) volume variables class for cell centered mpfa models with caching. More...

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

Description

template<class GVV>
class Dumux::CCMpfaElementVolumeVariables< GVV, true >

The local (stencil) volume variables class for cell centered mpfa models with caching.

Note
the volume variables are stored for the whole grid view in the corresponding GridVolumeVariables class

Public Types

using GridVolumeVariables = GVV
 export type of the grid volume variables More...
 
using VolumeVariables = typename GridVolumeVariables::VolumeVariables
 export type of the volume variables More...
 

Public Member Functions

 CCMpfaElementVolumeVariables (const GridVolumeVariables &gridVolVars)
 Constructor. More...
 
template<class SubControlVolume , typename std::enable_if_t<!std::is_integral< SubControlVolume >::value, int > = 0>
const VolumeVariablesoperator[] (const SubControlVolume &scv) const
 operator for the access with an scv More...
 
const VolumeVariablesoperator[] (const std::size_t scvIdx) const
 operator for the access with an index More...
 
template<class FVElementGeometry , class SolutionVector >
CCMpfaElementVolumeVariables bind (const typename FVElementGeometry::GridGeometry::GridView::template Codim< 0 >::Entity &element, const FVElementGeometry &fvGeometry, const SolutionVector &sol) &&
 bind the local view (r-value overload) This overload is called when an instance of this class is a temporary in the usage context This allows a usage like this: const auto view = localView(...).bind(element); More...
 
template<class FVElementGeometry , class SolutionVector >
void bind (const typename FVElementGeometry::GridGeometry::GridView::template Codim< 0 >::Entity &element, const FVElementGeometry &fvGeometry, const SolutionVector &sol) &
 
template<class FVElementGeometry , class SolutionVector >
CCMpfaElementVolumeVariables bindElement (const typename FVElementGeometry::GridGeometry::GridView::template Codim< 0 >::Entity &element, const FVElementGeometry &fvGeometry, const SolutionVector &sol) &&
 bind the local view (r-value overload) This overload is called when an instance of this class is a temporary in the usage context This allows a usage like this: const auto view = localView(...).bind(element); More...
 
template<class FVElementGeometry , class SolutionVector >
void bindElement (const typename FVElementGeometry::GridGeometry::GridView::template Codim< 0 >::Entity &element, const FVElementGeometry &fvGeometry, const SolutionVector &sol) &
 
void clear ()
 Clear all local storage. More...
 
const GridVolumeVariablesgridVolVars () const
 The global volume variables object we are a restriction of. More...
 

Member Typedef Documentation

◆ GridVolumeVariables

template<class GVV >
using Dumux::CCMpfaElementVolumeVariables< GVV, true >::GridVolumeVariables = GVV

export type of the grid volume variables

◆ VolumeVariables

template<class GVV >
using Dumux::CCMpfaElementVolumeVariables< GVV, true >::VolumeVariables = typename GridVolumeVariables::VolumeVariables

export type of the volume variables

Constructor & Destructor Documentation

◆ CCMpfaElementVolumeVariables()

template<class GVV >
Dumux::CCMpfaElementVolumeVariables< GVV, true >::CCMpfaElementVolumeVariables ( const GridVolumeVariables gridVolVars)
inline

Constructor.

Member Function Documentation

◆ bind() [1/2]

template<class GVV >
template<class FVElementGeometry , class SolutionVector >
void Dumux::CCMpfaElementVolumeVariables< GVV, true >::bind ( const typename FVElementGeometry::GridGeometry::GridView::template Codim< 0 >::Entity &  element,
const FVElementGeometry &  fvGeometry,
const SolutionVector &  sol 
) &
inline

◆ bind() [2/2]

template<class GVV >
template<class FVElementGeometry , class SolutionVector >
CCMpfaElementVolumeVariables Dumux::CCMpfaElementVolumeVariables< GVV, true >::bind ( const typename FVElementGeometry::GridGeometry::GridView::template Codim< 0 >::Entity &  element,
const FVElementGeometry &  fvGeometry,
const SolutionVector &  sol 
) &&
inline

bind the local view (r-value overload) This overload is called when an instance of this class is a temporary in the usage context This allows a usage like this: const auto view = localView(...).bind(element);

◆ bindElement() [1/2]

template<class GVV >
template<class FVElementGeometry , class SolutionVector >
void Dumux::CCMpfaElementVolumeVariables< GVV, true >::bindElement ( const typename FVElementGeometry::GridGeometry::GridView::template Codim< 0 >::Entity &  element,
const FVElementGeometry &  fvGeometry,
const SolutionVector &  sol 
) &
inline

◆ bindElement() [2/2]

template<class GVV >
template<class FVElementGeometry , class SolutionVector >
CCMpfaElementVolumeVariables Dumux::CCMpfaElementVolumeVariables< GVV, true >::bindElement ( const typename FVElementGeometry::GridGeometry::GridView::template Codim< 0 >::Entity &  element,
const FVElementGeometry &  fvGeometry,
const SolutionVector &  sol 
) &&
inline

bind the local view (r-value overload) This overload is called when an instance of this class is a temporary in the usage context This allows a usage like this: const auto view = localView(...).bind(element);

◆ clear()

template<class GVV >
void Dumux::CCMpfaElementVolumeVariables< GVV, true >::clear ( )
inline

Clear all local storage.

◆ gridVolVars()

template<class GVV >
const GridVolumeVariables & Dumux::CCMpfaElementVolumeVariables< GVV, true >::gridVolVars ( ) const
inline

The global volume variables object we are a restriction of.

◆ operator[]() [1/2]

template<class GVV >
const VolumeVariables & Dumux::CCMpfaElementVolumeVariables< GVV, true >::operator[] ( const std::size_t  scvIdx) const
inline

operator for the access with an index

◆ operator[]() [2/2]

template<class GVV >
template<class SubControlVolume , typename std::enable_if_t<!std::is_integral< SubControlVolume >::value, int > = 0>
const VolumeVariables & Dumux::CCMpfaElementVolumeVariables< GVV, true >::operator[] ( const SubControlVolume &  scv) const
inline

operator for the access with an scv


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