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

Grid volume variables class for staggered models. Specialization in case of storing the volume variables. More...

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

Description

template<class Traits>
class Dumux::StaggeredGridVolumeVariables< Traits, true >

Grid volume variables class for staggered models. Specialization in case of storing the volume variables.

Public Types

using Problem = typename Traits::Problem
 export the problem type More...
 
using Indices = typename Traits::VolumeVariables::Indices
 export the type of the indices More...
 
using VolumeVariables = typename Traits::VolumeVariables
 export the type of the VolumeVariables More...
 
using LocalView = typename Traits::template LocalView< ThisType, cachingEnabled >
 export the type of the local view More...
 

Public Member Functions

 StaggeredGridVolumeVariables (const Problem &problem)
 
template<class GridGeometry , class SolutionVector >
void update (const GridGeometry &gridGeometry, const SolutionVector &sol)
 Update all volume variables. More...
 
const VolumeVariablesvolVars (const std::size_t scvIdx) const
 
VolumeVariablesvolVars (const std::size_t scvIdx)
 
template<class SubControlVolume , typename std::enable_if_t<!std::is_integral< SubControlVolume >::value, int > = 0>
const VolumeVariablesvolVars (const SubControlVolume &scv) const
 
template<class SubControlVolume , typename std::enable_if_t<!std::is_integral< SubControlVolume >::value, int > = 0>
VolumeVariablesvolVars (const SubControlVolume &scv)
 
const Problemproblem () const
 
template<class... Args>
PrimaryVariables getBoundaryPriVars (Args &&... args) const
 

Static Public Attributes

static constexpr bool cachingEnabled = true
 make it possible to query if caching is enabled More...
 

Member Typedef Documentation

◆ Indices

template<class Traits >
using Dumux::StaggeredGridVolumeVariables< Traits, true >::Indices = typename Traits::VolumeVariables::Indices

export the type of the indices

◆ LocalView

template<class Traits >
using Dumux::StaggeredGridVolumeVariables< Traits, true >::LocalView = typename Traits::template LocalView<ThisType, cachingEnabled>

export the type of the local view

◆ Problem

template<class Traits >
using Dumux::StaggeredGridVolumeVariables< Traits, true >::Problem = typename Traits::Problem

export the problem type

◆ VolumeVariables

template<class Traits >
using Dumux::StaggeredGridVolumeVariables< Traits, true >::VolumeVariables = typename Traits::VolumeVariables

export the type of the VolumeVariables

Constructor & Destructor Documentation

◆ StaggeredGridVolumeVariables()

template<class Traits >
Dumux::StaggeredGridVolumeVariables< Traits, true >::StaggeredGridVolumeVariables ( const Problem problem)
inline

Member Function Documentation

◆ getBoundaryPriVars()

template<class Traits >
template<class... Args>
PrimaryVariables Dumux::StaggeredGridVolumeVariables< Traits, true >::getBoundaryPriVars ( Args &&...  args) const
inline

Returns the primary variables used for the boundary volVars and checks for admissible combinations for boundary conditions.

◆ problem()

template<class Traits >
const Problem & Dumux::StaggeredGridVolumeVariables< Traits, true >::problem ( ) const
inline

◆ update()

template<class Traits >
template<class GridGeometry , class SolutionVector >
void Dumux::StaggeredGridVolumeVariables< Traits, true >::update ( const GridGeometry &  gridGeometry,
const SolutionVector &  sol 
)
inline

Update all volume variables.

◆ volVars() [1/4]

template<class Traits >
VolumeVariables & Dumux::StaggeredGridVolumeVariables< Traits, true >::volVars ( const std::size_t  scvIdx)
inline

◆ volVars() [2/4]

template<class Traits >
const VolumeVariables & Dumux::StaggeredGridVolumeVariables< Traits, true >::volVars ( const std::size_t  scvIdx) const
inline

◆ volVars() [3/4]

template<class Traits >
template<class SubControlVolume , typename std::enable_if_t<!std::is_integral< SubControlVolume >::value, int > = 0>
VolumeVariables & Dumux::StaggeredGridVolumeVariables< Traits, true >::volVars ( const SubControlVolume &  scv)
inline

◆ volVars() [4/4]

template<class Traits >
template<class SubControlVolume , typename std::enable_if_t<!std::is_integral< SubControlVolume >::value, int > = 0>
const VolumeVariables & Dumux::StaggeredGridVolumeVariables< Traits, true >::volVars ( const SubControlVolume &  scv) const
inline

Member Data Documentation

◆ cachingEnabled

template<class Traits >
constexpr bool Dumux::StaggeredGridVolumeVariables< Traits, true >::cachingEnabled = true
staticconstexpr

make it possible to query if caching is enabled


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