3.5-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Public Member Functions | Protected Attributes | List of all members
Dumux::CellCenterGridVariablesView< ActualGridVariables > Class Template Reference

Cell center specific auxiliary GridVariables classes. Required for the Dumux multi-domain framework. More...

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

Inheritance diagram for Dumux::CellCenterGridVariablesView< ActualGridVariables >:

Description

template<class ActualGridVariables>
class Dumux::CellCenterGridVariablesView< ActualGridVariables >

Cell center specific auxiliary GridVariables classes. Required for the Dumux multi-domain framework.

Public Types

using GridVolumeVariables = typename ActualGridVariables::GridVolumeVariables
 
using GridFaceVariables = typename ActualGridVariables::GridFaceVariables
 
using GridFluxVariablesCache = typename ActualGridVariables::GridFluxVariablesCache
 
using VolumeVariables = typename GridVolumeVariables::VolumeVariables
 export type of the volume variables More...
 
using PrimaryVariables = typename VolumeVariables::PrimaryVariables
 export primary variable type More...
 
using GridGeometry = typename ActualGridVariables::GridGeometry
 

Public Member Functions

template<class SolVector >
void init (const SolVector &curSol)
 initialize all variables (stationary case) More...
 
template<class SolVector >
void update (const SolVector &curSol)
 update the volume variables and the flux variables cache More...
 
template<class SolVector >
void resetTimeStep (const SolVector &sol)
 resets state to the one before time integration More...
 
const GridFluxVariablesCachegridFluxVarsCache () const
 return the flux variables cache More...
 
GridFluxVariablesCachegridFluxVarsCache ()
 return the flux variables cache More...
 
const GridVolumeVariablescurGridVolVars () const
 return the current volume variables More...
 
GridVolumeVariablescurGridVolVars ()
 return the current volume variables More...
 
const GridVolumeVariablesprevGridVolVars () const
 return the volume variables of the previous time step (for instationary problems) More...
 
GridVolumeVariablesprevGridVolVars ()
 return the volume variables of the previous time step (for instationary problems) More...
 
const GridFaceVariablescurGridFaceVars () const
 return the current face variables More...
 
GridFaceVariablescurGridFaceVars ()
 return the current face variables More...
 
const GridFaceVariablesprevGridFaceVars () const
 return the previous face variables More...
 
GridFaceVariablesprevGridFaceVars ()
 return the previous face variables More...
 
const GridGeometrygridGeometry () const
 return the fv grid geometry More...
 
const ActualGridVariables & gridVariables () const
 
ActualGridVariables & gridVariables ()
 

Protected Attributes

ActualGridVariables * gridVariables_
 

Member Typedef Documentation

◆ GridFaceVariables

template<class ActualGridVariables >
using Dumux::StaggeredGridVariablesView< ActualGridVariables >::GridFaceVariables = typename ActualGridVariables::GridFaceVariables
inherited

◆ GridFluxVariablesCache

template<class ActualGridVariables >
using Dumux::StaggeredGridVariablesView< ActualGridVariables >::GridFluxVariablesCache = typename ActualGridVariables::GridFluxVariablesCache
inherited

◆ GridGeometry

template<class ActualGridVariables >
using Dumux::StaggeredGridVariablesView< ActualGridVariables >::GridGeometry = typename ActualGridVariables::GridGeometry
inherited

◆ GridVolumeVariables

template<class ActualGridVariables >
using Dumux::StaggeredGridVariablesView< ActualGridVariables >::GridVolumeVariables = typename ActualGridVariables::GridVolumeVariables
inherited

◆ PrimaryVariables

template<class ActualGridVariables >
using Dumux::StaggeredGridVariablesView< ActualGridVariables >::PrimaryVariables = typename VolumeVariables::PrimaryVariables
inherited

export primary variable type

◆ VolumeVariables

template<class ActualGridVariables >
using Dumux::StaggeredGridVariablesView< ActualGridVariables >::VolumeVariables = typename GridVolumeVariables::VolumeVariables
inherited

export type of the volume variables

Member Function Documentation

◆ curGridFaceVars() [1/2]

template<class ActualGridVariables >
GridFaceVariables & Dumux::StaggeredGridVariablesView< ActualGridVariables >::curGridFaceVars ( )
inlineinherited

return the current face variables

◆ curGridFaceVars() [2/2]

template<class ActualGridVariables >
const GridFaceVariables & Dumux::StaggeredGridVariablesView< ActualGridVariables >::curGridFaceVars ( ) const
inlineinherited

return the current face variables

◆ curGridVolVars() [1/2]

template<class ActualGridVariables >
GridVolumeVariables & Dumux::StaggeredGridVariablesView< ActualGridVariables >::curGridVolVars ( )
inlineinherited

return the current volume variables

◆ curGridVolVars() [2/2]

template<class ActualGridVariables >
const GridVolumeVariables & Dumux::StaggeredGridVariablesView< ActualGridVariables >::curGridVolVars ( ) const
inlineinherited

return the current volume variables

◆ gridFluxVarsCache() [1/2]

template<class ActualGridVariables >
GridFluxVariablesCache & Dumux::StaggeredGridVariablesView< ActualGridVariables >::gridFluxVarsCache ( )
inlineinherited

return the flux variables cache

◆ gridFluxVarsCache() [2/2]

template<class ActualGridVariables >
const GridFluxVariablesCache & Dumux::StaggeredGridVariablesView< ActualGridVariables >::gridFluxVarsCache ( ) const
inlineinherited

return the flux variables cache

◆ gridGeometry()

template<class ActualGridVariables >
const GridGeometry & Dumux::StaggeredGridVariablesView< ActualGridVariables >::gridGeometry ( ) const
inlineinherited

return the fv grid geometry

◆ gridVariables() [1/2]

template<class ActualGridVariables >
ActualGridVariables & Dumux::StaggeredGridVariablesView< ActualGridVariables >::gridVariables ( )
inlineinherited

◆ gridVariables() [2/2]

template<class ActualGridVariables >
const ActualGridVariables & Dumux::StaggeredGridVariablesView< ActualGridVariables >::gridVariables ( ) const
inlineinherited

◆ init()

template<class ActualGridVariables >
template<class SolVector >
void Dumux::CellCenterGridVariablesView< ActualGridVariables >::init ( const SolVector &  curSol)
inline

initialize all variables (stationary case)

◆ prevGridFaceVars() [1/2]

template<class ActualGridVariables >
GridFaceVariables & Dumux::StaggeredGridVariablesView< ActualGridVariables >::prevGridFaceVars ( )
inlineinherited

return the previous face variables

◆ prevGridFaceVars() [2/2]

template<class ActualGridVariables >
const GridFaceVariables & Dumux::StaggeredGridVariablesView< ActualGridVariables >::prevGridFaceVars ( ) const
inlineinherited

return the previous face variables

◆ prevGridVolVars() [1/2]

template<class ActualGridVariables >
GridVolumeVariables & Dumux::StaggeredGridVariablesView< ActualGridVariables >::prevGridVolVars ( )
inlineinherited

return the volume variables of the previous time step (for instationary problems)

◆ prevGridVolVars() [2/2]

template<class ActualGridVariables >
const GridVolumeVariables & Dumux::StaggeredGridVariablesView< ActualGridVariables >::prevGridVolVars ( ) const
inlineinherited

return the volume variables of the previous time step (for instationary problems)

◆ resetTimeStep()

template<class ActualGridVariables >
template<class SolVector >
void Dumux::CellCenterGridVariablesView< ActualGridVariables >::resetTimeStep ( const SolVector &  sol)
inline

resets state to the one before time integration

◆ update()

template<class ActualGridVariables >
template<class SolVector >
void Dumux::CellCenterGridVariablesView< ActualGridVariables >::update ( const SolVector &  curSol)
inline

update the volume variables and the flux variables cache

Member Data Documentation

◆ gridVariables_

template<class ActualGridVariables >
ActualGridVariables* Dumux::StaggeredGridVariablesView< ActualGridVariables >::gridVariables_
protectedinherited

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