3.6-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, 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 >
StaggeredElementFaceVariables bind (const typename FVElementGeometry::GridGeometry::GridView::template Codim< 0 >::Entity &element, const FVElementGeometry &fvGeometry, const SolutionVector &sol) &&
 bind the local view (r-value overload) This overload is called when an instance of this class is a temporary in the usage context This allows a usage like this: const auto view = localView(...).bind(element); More...
 
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 >
StaggeredElementFaceVariables bindElement (const typename FVElementGeometry::GridGeometry::GridView::template Codim< 0 >::Entity &element, const FVElementGeometry &fvGeometry, const SolutionVector &sol) &&
 bind the local view (r-value overload) This overload is called when an instance of this class is a temporary in the usage context This allows a usage like this: const auto view = localView(...).bind(element); More...
 
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() [1/2]

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

◆ bind() [2/2]

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

bind the local view (r-value overload) This overload is called when an instance of this class is a temporary in the usage context This allows a usage like this: const auto view = localView(...).bind(element);

◆ bindElement() [1/2]

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

◆ bindElement() [2/2]

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

bind the local view (r-value overload) This overload is called when an instance of this class is a temporary in the usage context This allows a usage like this: const auto view = localView(...).bind(element);

◆ 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: