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

Finite volume-specific local view on grid variables. More...

#include <dumux/discretization/fvgridvariables.hh>

Description

template<class GV>
class Dumux::Experimental::FVGridVariablesLocalView< GV >

Finite volume-specific local view on grid variables.

Template Parameters
GVThe grid variables class

Public Types

using GridVariables = GV
 export corresponding grid-wide class More...
 

Public Member Functions

 FVGridVariablesLocalView (const GridVariables &gridVariables)
 Constructor. More...
 
void bind (const Element &element, const FVElementGeometry &fvGeometry)
 Bind this local view to a grid element. More...
 
void bindElemVolVars (const Element &element, const FVElementGeometry &fvGeometry)
 Bind only the volume variables local view to a grid element. More...
 
const ElementVolumeVariables & elemVolVars () const
 return reference to the elem vol vars More...
 
ElementVolumeVariables & elemVolVars ()
 
const ElementFluxVariablesCache & elemFluxVarsCache () const
 return reference to the flux variables cache More...
 
ElementFluxVariablesCache & elemFluxVarsCache ()
 
const GridVariablesgridVariables () const
 Return reference to the grid variables. More...
 

Member Typedef Documentation

◆ GridVariables

template<class GV >
using Dumux::Experimental::FVGridVariablesLocalView< GV >::GridVariables = GV

export corresponding grid-wide class

Constructor & Destructor Documentation

◆ FVGridVariablesLocalView()

template<class GV >
Dumux::Experimental::FVGridVariablesLocalView< GV >::FVGridVariablesLocalView ( const GridVariables gridVariables)
inline

Constructor.

Member Function Documentation

◆ bind()

template<class GV >
void Dumux::Experimental::FVGridVariablesLocalView< GV >::bind ( const Element &  element,
const FVElementGeometry &  fvGeometry 
)
inline

Bind this local view to a grid element.

Parameters
elementThe grid element
fvGeometryLocal view on the grid geometry

◆ bindElemVolVars()

template<class GV >
void Dumux::Experimental::FVGridVariablesLocalView< GV >::bindElemVolVars ( const Element &  element,
const FVElementGeometry &  fvGeometry 
)
inline

Bind only the volume variables local view to a grid element.

Parameters
elementThe grid element
fvGeometryLocal view on the grid geometry

◆ elemFluxVarsCache() [1/2]

template<class GV >
ElementFluxVariablesCache & Dumux::Experimental::FVGridVariablesLocalView< GV >::elemFluxVarsCache ( )
inline

◆ elemFluxVarsCache() [2/2]

template<class GV >
const ElementFluxVariablesCache & Dumux::Experimental::FVGridVariablesLocalView< GV >::elemFluxVarsCache ( ) const
inline

return reference to the flux variables cache

◆ elemVolVars() [1/2]

template<class GV >
ElementVolumeVariables & Dumux::Experimental::FVGridVariablesLocalView< GV >::elemVolVars ( )
inline

◆ elemVolVars() [2/2]

template<class GV >
const ElementVolumeVariables & Dumux::Experimental::FVGridVariablesLocalView< GV >::elemVolVars ( ) const
inline

return reference to the elem vol vars

◆ gridVariables()

template<class GV >
const GridVariables & Dumux::Experimental::FVGridVariablesLocalView< GV >::gridVariables ( ) const
inline

Return reference to the grid variables.


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