3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Loading...
Searching...
No Matches
Dumux::CCTpfaElementVolumeVariables< GVV, true > Class Template Reference

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

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

Inheritance diagram for Dumux::CCTpfaElementVolumeVariables< GVV, true >:
Inheritance graph

Description

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

The local (stencil) volume variables class for cell centered tpfa 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
using VolumeVariables = typename GridVolumeVariables::VolumeVariables
 export type of the volume variables

Public Member Functions

 CCTpfaElementVolumeVariables (const GridVolumeVariables &gridVolVars)
 Constructor.
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
const VolumeVariablesoperator[] (const std::size_t scvIdx) const
 operator for the access with an index
template<class FVElementGeometry, class SolutionVector>
void bind (const typename FVElementGeometry::GridGeometry::GridView::template Codim< 0 >::Entity &element, const FVElementGeometry &fvGeometry, const SolutionVector &sol)
 precompute all boundary volume variables in a stencil of an element, the remaining ones are cached
template<class FVElementGeometry, class SolutionVector>
void bindElement (const typename FVElementGeometry::GridGeometry::GridView::template Codim< 0 >::Entity &element, const FVElementGeometry &fvGeometry, const SolutionVector &sol)
 precompute the volume variables of an element - do nothing: volVars are cached
const GridVolumeVariablesgridVolVars () const
 The global volume variables object we are a restriction of.

Member Typedef Documentation

◆ GridVolumeVariables

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

export type of the grid volume variables

◆ VolumeVariables

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

export type of the volume variables

Constructor & Destructor Documentation

◆ CCTpfaElementVolumeVariables()

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

Constructor.

Member Function Documentation

◆ bind()

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

precompute all boundary volume variables in a stencil of an element, the remaining ones are cached

◆ bindElement()

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

precompute the volume variables of an element - do nothing: volVars are cached

◆ gridVolVars()

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

The global volume variables object we are a restriction of.

◆ operator[]() [1/2]

template<class GVV>
const VolumeVariables & Dumux::CCTpfaElementVolumeVariables< 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::CCTpfaElementVolumeVariables< 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: