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 | UpwindScheme = StaggeredUpwindMethods< Scalar, upwindSchemeOrder > |
export upwind scheme More... | |
using | LocalView = typename Traits::template LocalView< ThisType, cachingEnabled > |
export the type of the local view More... | |
Public Member Functions | |
StaggeredGridFluxVariablesCache (const Problem &problem) | |
template<class GridGeometry , class GridVolumeVariables , class SolutionVector > | |
void | update (const GridGeometry &gridGeometry, const GridVolumeVariables &gridVolVars, const SolutionVector &sol, bool forceUpdate=false) |
const UpwindScheme & | 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
using Dumux::StaggeredGridFluxVariablesCache< P, FVC, FVCF, true, upwindSchemeOrder, TheTraits >::UpwindScheme = StaggeredUpwindMethods<Scalar, upwindSchemeOrder> |
export upwind scheme
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Return the StaggeredUpwindMethods.
|
inline |
|
staticconstexpr |
make it possible to query if caching is enabled
|
staticconstexpr |