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

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

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

Description

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

The local (stencil) volume variables class for cell centered tpfa models with 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

 CCTpfaElementVolumeVariables (const GridVolumeVariables &gridVolVars)
 Constructor. More...
 
template<class FVElementGeometry , class SolutionVector >
void bind (const typename FVElementGeometry::GridGeometry::GridView::template Codim< 0 >::Entity &element, const FVElementGeometry &fvGeometry, const SolutionVector &sol)
 Prepares the volume variables within the element stencil. More...
 
template<class FVElementGeometry , class SolutionVector >
void bindElement (const typename FVElementGeometry::GridGeometry::GridView::template Codim< 0 >::Entity &element, const FVElementGeometry &fvGeometry, const SolutionVector &sol)
 
template<class SubControlVolume , typename std::enable_if_t<!std::is_integral< SubControlVolume >::value, int > = 0>
const VolumeVariablesoperator[] (const SubControlVolume &scv) const
 access operator with scv More...
 
template<class SubControlVolume , typename std::enable_if_t<!std::is_integral< SubControlVolume >::value, int > = 0>
VolumeVariablesoperator[] (const SubControlVolume &scv)
 access operator with scv More...
 
const VolumeVariablesoperator[] (std::size_t scvIdx) const
 access operator with scv index More...
 
VolumeVariablesoperator[] (std::size_t scvIdx)
 access operator with scv index More...
 
const GridVolumeVariablesgridVolVars () const
 The global volume variables object we are a restriction of. More...
 

Member Typedef Documentation

◆ GridVolumeVariables

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

export type of the grid volume variables

◆ VolumeVariables

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

export type of the volume variables

Constructor & Destructor Documentation

◆ CCTpfaElementVolumeVariables()

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

Constructor.

Member Function Documentation

◆ bind()

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

Prepares the volume variables within the element stencil.

Check if user added additional DOF dependencies, i.e. the residual of DOF globalI depends on additional DOFs not included in the discretization schemes' occupation pattern

◆ bindElement()

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

◆ gridVolVars()

template<class GVV >
const GridVolumeVariables & Dumux::CCTpfaElementVolumeVariables< 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::CCTpfaElementVolumeVariables< GVV, false >::operator[] ( const SubControlVolume &  scv)
inline

access operator with scv

◆ operator[]() [2/4]

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

access operator with scv

◆ operator[]() [3/4]

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

access operator with scv index

◆ operator[]() [4/4]

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

access operator with scv index


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