3.5-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::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. More...

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

Description

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

Flux variables cache class for staggered models. Specialization in case of not 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
 the scalar type More...
 
using LocalView = typename Traits::template LocalView< ThisType, cachingEnabled >
 export the type of the local view More...
 
using UpwindScheme = StaggeredUpwindMethods< Scalar, upwindSchemeOrder >
 export upwind scheme 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 Problem & problem () const
 
const UpwindSchemestaggeredUpwindMethods () const
 Return the UpwindingMethods. More...
 

Static Public Attributes

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

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

export the flux variable cache type

◆ 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>

export the type of the local view

◆ 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

the scalar type

◆ Traits

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

the flux var cache traits

◆ 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>

export upwind scheme

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

Return the UpwindingMethods.

◆ 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

make it possible to query if caching is enabled


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