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

Class for the face variables vector. Specialization for the case of not storing the face variables globally. More...

#include <dumux/discretization/staggered/elementfacevariables.hh>

Description

template<class GFV>
class Dumux::StaggeredElementFaceVariables< GFV, false >

Class for the face variables vector. Specialization for the case of not storing the face variables globally.

Public Types

using GridFaceVariables = GFV
 export type of the grid volume variables More...
 
using FaceVariables = typename GridFaceVariables::FaceVariables
 export type of the volume variables More...
 

Public Member Functions

 StaggeredElementFaceVariables (const GridFaceVariables &globalFacesVars)
 
template<class SubControlVolumeFace , typename std::enable_if_t<!std::is_integral< SubControlVolumeFace >::value, int > = 0>
const FaceVariablesoperator[] (const SubControlVolumeFace &scvf) const
 const operator for the access with an scvf More...
 
const FaceVariablesoperator[] (const std::size_t scvfIdx) const
 const operator for the access with an index More...
 
template<class SubControlVolumeFace , typename std::enable_if_t<!std::is_integral< SubControlVolumeFace >::value, int > = 0>
FaceVariablesoperator[] (const SubControlVolumeFace &scvf)
 operator for the access with an scvf More...
 
FaceVariablesoperator[] (const std::size_t scvfIdx)
 
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 >
void bindElement (const typename FVElementGeometry::GridGeometry::GridView::template Codim< 0 >::Entity &element, const FVElementGeometry &fvGeometry, const SolutionVector &sol)
 
const GridFaceVariablesgridFaceVariables () const
 The global volume variables object we are a restriction of. More...
 

Member Typedef Documentation

◆ FaceVariables

template<class GFV >
using Dumux::StaggeredElementFaceVariables< GFV, false >::FaceVariables = typename GridFaceVariables::FaceVariables

export type of the volume variables

◆ GridFaceVariables

template<class GFV >
using Dumux::StaggeredElementFaceVariables< GFV, false >::GridFaceVariables = GFV

export type of the grid volume variables

Constructor & Destructor Documentation

◆ StaggeredElementFaceVariables()

template<class GFV >
Dumux::StaggeredElementFaceVariables< GFV, false >::StaggeredElementFaceVariables ( const GridFaceVariables globalFacesVars)
inline

Member Function Documentation

◆ bind()

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

For compatibility reasons with the case of not storing the vol vars. function to be called before assembling an element, preparing the vol vars within the stencil

◆ bindElement()

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

Binding of an element, prepares only the face variables of the element specialization for Staggered models

◆ gridFaceVariables()

template<class GFV >
const GridFaceVariables & Dumux::StaggeredElementFaceVariables< GFV, false >::gridFaceVariables ( ) const
inline

The global volume variables object we are a restriction of.

◆ operator[]() [1/4]

template<class GFV >
FaceVariables & Dumux::StaggeredElementFaceVariables< GFV, false >::operator[] ( const std::size_t  scvfIdx)
inline

◆ operator[]() [2/4]

template<class GFV >
const FaceVariables & Dumux::StaggeredElementFaceVariables< GFV, false >::operator[] ( const std::size_t  scvfIdx) const
inline

const operator for the access with an index

◆ operator[]() [3/4]

template<class GFV >
template<class SubControlVolumeFace , typename std::enable_if_t<!std::is_integral< SubControlVolumeFace >::value, int > = 0>
FaceVariables & Dumux::StaggeredElementFaceVariables< GFV, false >::operator[] ( const SubControlVolumeFace &  scvf)
inline

operator for the access with an scvf

◆ operator[]() [4/4]

template<class GFV >
template<class SubControlVolumeFace , typename std::enable_if_t<!std::is_integral< SubControlVolumeFace >::value, int > = 0>
const FaceVariables & Dumux::StaggeredElementFaceVariables< GFV, false >::operator[] ( const SubControlVolumeFace &  scvf) const
inline

const operator for the access with an scvf


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