version 3.10.0
Loading...
Searching...
No Matches
Dumux::StaggeredGridFaceVariables< P, FV, true, Traits > Class Template Reference

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

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

Inheritance diagram for Dumux::StaggeredGridFaceVariables< P, FV, true, Traits >:

Public Types

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

Public Member Functions

 StaggeredGridFaceVariables (const Problem &problem)
template<class GridGeometry, class SolutionVector>
void update (const GridGeometry &gridGeometry, const SolutionVector &sol)
 Update all face variables.
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

Member Typedef Documentation

◆ FaceVariables

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

◆ LocalView

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

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

Member Data Documentation

◆ cachingEnabled

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

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