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

Class for the element volume variables vector for the staggered model. Specialization in case the volume variables are stored globally. More...

#include <dumux/discretization/staggered/freeflow/elementvolumevariables.hh>

Description

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

Class for the element volume variables vector for the staggered model. Specialization in case the volume variables are stored globally.

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

 StaggeredElementVolumeVariables (const GridVolumeVariables &gridVolVars)
 Constructor. More...
 
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 More...
 
const VolumeVariablesoperator[] (const std::size_t scvIdx) const
 
template<class FVElementGeometry , class SolutionVector , typename std::enable_if_t< isMultiTypeBlockVector< SolutionVector >::value, int > = 0>
void bind (const typename FVElementGeometry::GridGeometry::GridView::template Codim< 0 >::Entity &element, const FVElementGeometry &fvGeometry, const SolutionVector &sol)
 
template<class FVElementGeometry , class SolutionVector , typename std::enable_if_t<!isMultiTypeBlockVector< SolutionVector >::value, int > = 0>
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)
 function to prepare the vol vars within the element More...
 
const GridVolumeVariablesgridVolVars () const
 The global volume variables object we are a restriction of. More...
 

Member Typedef Documentation

◆ GridVolumeVariables

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

export type of the grid volume variables

◆ VolumeVariables

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

export type of the volume variables

Constructor & Destructor Documentation

◆ StaggeredElementVolumeVariables()

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

Constructor.

Member Function Documentation

◆ bind() [1/2]

template<class GVV >
template<class FVElementGeometry , class SolutionVector , typename std::enable_if_t< isMultiTypeBlockVector< SolutionVector >::value, int > = 0>
void Dumux::StaggeredElementVolumeVariables< GVV, true >::bind ( const typename FVElementGeometry::GridGeometry::GridView::template Codim< 0 >::Entity &  element,
const FVElementGeometry &  fvGeometry,
const SolutionVector &  sol 
)
inline

Binding of an element, prepares the volume variables within the element stencil called by the local jacobian to prepare element assembly. Specialization callable with MultiTypeBlockVector.

◆ bind() [2/2]

template<class GVV >
template<class FVElementGeometry , class SolutionVector , typename std::enable_if_t<!isMultiTypeBlockVector< SolutionVector >::value, int > = 0>
void Dumux::StaggeredElementVolumeVariables< GVV, true >::bind ( const typename FVElementGeometry::GridGeometry::GridView::template Codim< 0 >::Entity &  element,
const FVElementGeometry &  fvGeometry,
const SolutionVector &  sol 
)
inline

Binding of an element, prepares the volume variables within the element stencil called by the local jacobian to prepare element assembly

◆ bindElement()

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

function to prepare the vol vars within the element

◆ gridVolVars()

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

The global volume variables object we are a restriction of.

◆ operator[]() [1/2]

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

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

◆ operator[]() [2/2]

template<class GVV >
template<class SubControlVolume , typename std::enable_if_t<!std::is_integral< SubControlVolume >::value, int > = 0>
const VolumeVariables & Dumux::StaggeredElementVolumeVariables< 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: