3.6-git
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::StaggeredGridFaceVariables< P, FV, true, Traits > Class Template Reference

Face variables cache class for staggered models. Specialization in case of storing the face variables. More...

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

Description

template<class P, class FV, class Traits>
class Dumux::StaggeredGridFaceVariables< P, FV, true, Traits >

Face variables cache class for staggered models. Specialization in case of storing the face variables.

Public Types

using LocalView = typename Traits::template LocalView< ThisType, cachingEnabled >
 export the type of the local view More...
 
using FaceVariables = typename Traits::FaceVariables
 export the type of the face variables More...
 

Public Member Functions

 StaggeredGridFaceVariables (const Problem &problem)
 
template<class GridGeometry , class SolutionVector >
void update (const GridGeometry &gridGeometry, const SolutionVector &sol)
 Update all face variables. More...
 
const FaceVariablesfaceVars (const std::size_t facetIdx) const
 
FaceVariablesfaceVars (const std::size_t facetIdx)
 
const Problem & problem () const
 

Static Public Attributes

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

Member Typedef Documentation

◆ FaceVariables

template<class P , class FV , class Traits >
using Dumux::StaggeredGridFaceVariables< P, FV, true, Traits >::FaceVariables = typename Traits::FaceVariables

export the type of the face variables

◆ LocalView

template<class P , class FV , class Traits >
using Dumux::StaggeredGridFaceVariables< P, FV, true, Traits >::LocalView = typename Traits::template LocalView<ThisType, cachingEnabled>

export the type of the local view

Constructor & Destructor Documentation

◆ StaggeredGridFaceVariables()

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

Member Function Documentation

◆ faceVars() [1/2]

template<class P , class FV , class Traits >
FaceVariables & Dumux::StaggeredGridFaceVariables< P, FV, true, Traits >::faceVars ( const std::size_t  facetIdx)
inline

◆ faceVars() [2/2]

template<class P , class FV , class Traits >
const FaceVariables & Dumux::StaggeredGridFaceVariables< P, FV, true, Traits >::faceVars ( const std::size_t  facetIdx) const
inline

◆ problem()

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

◆ update()

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

Update all face variables.

Member Data Documentation

◆ cachingEnabled

template<class P , class FV , class Traits >
constexpr bool Dumux::StaggeredGridFaceVariables< P, FV, true, Traits >::cachingEnabled = true
staticconstexpr

make it possible to query if caching is enabled


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