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::CVFEElementVolumeVariables< GVV, false > Class Template Reference

The local (stencil) volume variables class for control-volume finite element without caching. More...

#include <dumux/discretization/cvfe/elementvolumevariables.hh>

Description

template<class GVV>
class Dumux::CVFEElementVolumeVariables< GVV, false >

The local (stencil) volume variables class for control-volume finite element without caching.

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

 CVFEElementVolumeVariables (const GridVolumeVariables &gridVolVars)
 Constructor. More...
 
template<class FVElementGeometry , class SolutionVector >
CVFEElementVolumeVariables 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 >
CVFEElementVolumeVariables 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) &
 
const VolumeVariablesoperator[] (std::size_t scvIdx) const
 
VolumeVariablesoperator[] (std::size_t scvIdx)
 
template<class SubControlVolume , typename std::enable_if_t<!std::is_integral< SubControlVolume >::value, int > = 0>
const VolumeVariablesoperator[] (const SubControlVolume &scv) const
 
template<class SubControlVolume , typename std::enable_if_t<!std::is_integral< SubControlVolume >::value, int > = 0>
VolumeVariablesoperator[] (const SubControlVolume &scv)
 
const GridVolumeVariablesgridVolVars () const
 The global volume variables object we are a restriction of. More...
 

Member Typedef Documentation

◆ GridVolumeVariables

template<class GVV >
using Dumux::CVFEElementVolumeVariables< GVV, false >::GridVolumeVariables = GVV

export type of the grid volume variables

◆ VolumeVariables

template<class GVV >
using Dumux::CVFEElementVolumeVariables< GVV, false >::VolumeVariables = typename GridVolumeVariables::VolumeVariables

export type of the volume variables

Constructor & Destructor Documentation

◆ CVFEElementVolumeVariables()

template<class GVV >
Dumux::CVFEElementVolumeVariables< GVV, false >::CVFEElementVolumeVariables ( const GridVolumeVariables gridVolVars)
inline

Constructor.

Member Function Documentation

◆ bind() [1/2]

template<class GVV >
template<class FVElementGeometry , class SolutionVector >
void Dumux::CVFEElementVolumeVariables< GVV, false >::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 >
CVFEElementVolumeVariables Dumux::CVFEElementVolumeVariables< GVV, false >::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::CVFEElementVolumeVariables< GVV, false >::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 >
CVFEElementVolumeVariables Dumux::CVFEElementVolumeVariables< GVV, false >::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);

◆ gridVolVars()

template<class GVV >
const GridVolumeVariables & Dumux::CVFEElementVolumeVariables< GVV, false >::gridVolVars ( ) const
inline

The global volume variables object we are a restriction of.

◆ operator[]() [1/4]

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

◆ operator[]() [2/4]

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

◆ operator[]() [3/4]

template<class GVV >
VolumeVariables & Dumux::CVFEElementVolumeVariables< GVV, false >::operator[] ( std::size_t  scvIdx)
inline

◆ operator[]() [4/4]

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

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