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::StaggeredElementFaceVariables< GFV, true > Class Template Reference

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

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

Description

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

Class for the face variables vector. Specialization for the case of 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 &gridFaceVariables)
 
template<class SubControlVolumeFace , typename std::enable_if_t<!std::is_integral< SubControlVolumeFace >::value, int > = 0>
const FaceVariablesoperator[] (const SubControlVolumeFace &scvf) const
 operator for the access with an scvf More...
 
const FaceVariablesoperator[] (const std::size_t scvfIdx) const
 
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, true >::FaceVariables = typename GridFaceVariables::FaceVariables

export type of the volume variables

◆ GridFaceVariables

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

export type of the grid volume variables

Constructor & Destructor Documentation

◆ StaggeredElementFaceVariables()

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

Member Function Documentation

◆ bind()

template<class GFV >
template<class FVElementGeometry , class SolutionVector >
void Dumux::StaggeredElementFaceVariables< GFV, true >::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 face 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, true >::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, true >::gridFaceVariables ( ) const
inline

The global volume variables object we are a restriction of.

◆ operator[]() [1/2]

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

operator for the access with an index needed for cc methods for the access to the boundary volume variables

◆ operator[]() [2/2]

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

operator for the access with an scvf


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