3.1-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...
 

Public Member Functions

 StaggeredGridFluxVariablesCache (const Problem &problem, const std::string &paramGroup="")
 
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 StaggeredUpwindMethods< Scalar, upwindSchemeOrder > & staggeredUpwindMethods () 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

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,
const std::string &  paramGroup = "" 
)
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 StaggeredUpwindMethods< Scalar, upwindSchemeOrder > & 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: