Flux variables cache class for staggered models. Specialization in case of storing the flux cache. More...
#include <dumux/discretization/staggered/gridfluxvariablescache.hh>
Flux variables cache class for staggered models. Specialization in case of storing the flux cache.
Public Types | |
using | Traits = TheTraits |
the flux var cache traits More... | |
using | FluxVariablesCache = typename Traits::FluxVariablesCache |
export the flux variable cache type More... | |
using | Scalar = typename FluxVariablesCache::Scalar |
using | LocalView = typename Traits::template LocalView< ThisType, cachingEnabled > |
export the type of the local view More... | |
Public Member Functions | |
StaggeredGridFluxVariablesCache (const Problem &problem, const std::string ¶mGroup="") | |
template<class GridGeometry , class GridVolumeVariables , class SolutionVector > | |
void | update (const GridGeometry &gridGeometry, const GridVolumeVariables &gridVolVars, const SolutionVector &sol, bool forceUpdate=false) |
const StaggeredUpwindMethods< Scalar, upwindSchemeOrder > & | staggeredUpwindMethods () const |
Return the StaggeredUpwindMethods. More... | |
const Problem & | problem () const |
const FluxVariablesCache & | operator[] (std::size_t scvfIdx) const |
FluxVariablesCache & | operator[] (std::size_t scvfIdx) |
Static Public Attributes | |
static constexpr bool | useHigherOrder = upwindSchemeOrder > 1 |
static constexpr bool | cachingEnabled = true |
make it possible to query if caching is enabled More... | |
using Dumux::StaggeredGridFluxVariablesCache< P, FVC, FVCF, true, upwindSchemeOrder, TheTraits >::FluxVariablesCache = typename Traits::FluxVariablesCache |
export the flux variable cache type
using Dumux::StaggeredGridFluxVariablesCache< P, FVC, FVCF, true, upwindSchemeOrder, TheTraits >::LocalView = typename Traits::template LocalView<ThisType, cachingEnabled> |
export the type of the local view
using Dumux::StaggeredGridFluxVariablesCache< P, FVC, FVCF, true, upwindSchemeOrder, TheTraits >::Scalar = typename FluxVariablesCache::Scalar |
using Dumux::StaggeredGridFluxVariablesCache< P, FVC, FVCF, true, upwindSchemeOrder, TheTraits >::Traits = TheTraits |
the flux var cache traits
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Return the StaggeredUpwindMethods.
|
inline |
|
staticconstexpr |
make it possible to query if caching is enabled
|
staticconstexpr |