version 3.8.0
Loading...
Searching...
No Matches
Dumux::StaggeredGridFluxVariablesCache< P, FVC, FVCF, false, upwindSchemeOrder, TheTraits > Class Template Reference

Flux variables cache class for staggered models. Specialization in case of not storing the flux cache.

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

Public Types

using Traits = TheTraits
 the flux var cache traits
 
using FluxVariablesCache = typename Traits::FluxVariablesCache
 export the flux variable cache type
 
using Scalar = typename FluxVariablesCache::Scalar
 the scalar type
 
using LocalView = typename Traits::template LocalView<ThisType, cachingEnabled>
 export the type of the local view
 
using UpwindScheme = StaggeredUpwindMethods<Scalar, upwindSchemeOrder>
 export upwind scheme
 

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 Problem & problem () const
 
const UpwindSchemestaggeredUpwindMethods () const
 Return the UpwindingMethods.
 

Static Public Attributes

static constexpr bool cachingEnabled = false
 make it possible to query if caching is enabled
 

Member Typedef Documentation

◆ FluxVariablesCache

template<class P , class FVC , class FVCF , int upwindSchemeOrder, class TheTraits >
using Dumux::StaggeredGridFluxVariablesCache< P, FVC, FVCF, false, upwindSchemeOrder, TheTraits >::FluxVariablesCache = typename Traits::FluxVariablesCache

◆ LocalView

template<class P , class FVC , class FVCF , int upwindSchemeOrder, class TheTraits >
using Dumux::StaggeredGridFluxVariablesCache< P, FVC, FVCF, false, upwindSchemeOrder, TheTraits >::LocalView = typename Traits::template LocalView<ThisType, cachingEnabled>

◆ Scalar

template<class P , class FVC , class FVCF , int upwindSchemeOrder, class TheTraits >
using Dumux::StaggeredGridFluxVariablesCache< P, FVC, FVCF, false, upwindSchemeOrder, TheTraits >::Scalar = typename FluxVariablesCache::Scalar

◆ Traits

template<class P , class FVC , class FVCF , int upwindSchemeOrder, class TheTraits >
using Dumux::StaggeredGridFluxVariablesCache< P, FVC, FVCF, false, upwindSchemeOrder, TheTraits >::Traits = TheTraits

◆ UpwindScheme

template<class P , class FVC , class FVCF , int upwindSchemeOrder, class TheTraits >
using Dumux::StaggeredGridFluxVariablesCache< P, FVC, FVCF, false, upwindSchemeOrder, TheTraits >::UpwindScheme = StaggeredUpwindMethods<Scalar, upwindSchemeOrder>

Constructor & Destructor Documentation

◆ StaggeredGridFluxVariablesCache()

template<class P , class FVC , class FVCF , int upwindSchemeOrder, class TheTraits >
Dumux::StaggeredGridFluxVariablesCache< P, FVC, FVCF, false, upwindSchemeOrder, TheTraits >::StaggeredGridFluxVariablesCache ( const Problem & problem)
inline

Member Function Documentation

◆ problem()

template<class P , class FVC , class FVCF , int upwindSchemeOrder, class TheTraits >
const Problem & Dumux::StaggeredGridFluxVariablesCache< P, FVC, FVCF, false, upwindSchemeOrder, TheTraits >::problem ( ) const
inline

◆ staggeredUpwindMethods()

template<class P , class FVC , class FVCF , int upwindSchemeOrder, class TheTraits >
const UpwindScheme & Dumux::StaggeredGridFluxVariablesCache< P, FVC, FVCF, false, upwindSchemeOrder, TheTraits >::staggeredUpwindMethods ( ) const
inline

◆ update()

template<class P , class FVC , class FVCF , int upwindSchemeOrder, class TheTraits >
template<class GridGeometry , class GridVolumeVariables , class SolutionVector >
void Dumux::StaggeredGridFluxVariablesCache< P, FVC, FVCF, false, upwindSchemeOrder, TheTraits >::update ( const GridGeometry & gridGeometry,
const GridVolumeVariables & gridVolVars,
const SolutionVector & sol,
bool forceUpdate = false )
inline

Member Data Documentation

◆ cachingEnabled

template<class P , class FVC , class FVCF , int upwindSchemeOrder, class TheTraits >
constexpr bool Dumux::StaggeredGridFluxVariablesCache< P, FVC, FVCF, false, upwindSchemeOrder, TheTraits >::cachingEnabled = false
staticconstexpr

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