3.4
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Loading...
Searching...
No Matches
Dumux::UpwindSchemeImpl< GridGeometry, DiscretizationMethod::box > Class Template Reference

Upwind scheme for the box method (uses the standard scheme). More...

#include <dumux/flux/upwindscheme.hh>

Inheritance diagram for Dumux::UpwindSchemeImpl< GridGeometry, DiscretizationMethod::box >:

Description

template<class GridGeometry>
class Dumux::UpwindSchemeImpl< GridGeometry, DiscretizationMethod::box >

Upwind scheme for the box method (uses the standard scheme).

Static Public Member Functions

template<class FluxVariables, class UpwindTermFunction, class Scalar>
static Scalar apply (const FluxVariables &fluxVars, const UpwindTermFunction &upwindTerm, Scalar flux, int phaseIdx)
 applies a simple upwind scheme to the precalculated advective flux
template<class ElemVolVars, class SubControlVolumeFace, class UpwindTermFunction, class Scalar>
static Scalar apply (const ElemVolVars &elemVolVars, const SubControlVolumeFace &scvf, const UpwindTermFunction &upwindTerm, Scalar flux, int phaseIdx)
 applies a simple upwind scheme to the precalculated advective flux across the given scvf
template<class ElemVolVars, class SubControlVolumeFace, class UpwindTermFunction, class Scalar>
static Scalar multiplier (const ElemVolVars &elemVolVars, const SubControlVolumeFace &scvf, const UpwindTermFunction &upwindTerm, Scalar flux, int phaseIdx)
 returns the upwind factor which is multiplied to the advective flux across the given scvf

Member Function Documentation

◆ apply() [1/2]

template<class GridGeometry>
template<class ElemVolVars, class SubControlVolumeFace, class UpwindTermFunction, class Scalar>
Scalar Dumux::UpwindSchemeImpl< GridGeometry, DiscretizationMethod::box >::apply ( const ElemVolVars & elemVolVars,
const SubControlVolumeFace & scvf,
const UpwindTermFunction & upwindTerm,
Scalar flux,
int phaseIdx )
inlinestatic

applies a simple upwind scheme to the precalculated advective flux across the given scvf

◆ apply() [2/2]

template<class GridGeometry>
template<class FluxVariables, class UpwindTermFunction, class Scalar>
Scalar Dumux::UpwindSchemeImpl< GridGeometry, DiscretizationMethod::box >::apply ( const FluxVariables & fluxVars,
const UpwindTermFunction & upwindTerm,
Scalar flux,
int phaseIdx )
inlinestatic

applies a simple upwind scheme to the precalculated advective flux

◆ multiplier()

template<class GridGeometry>
template<class ElemVolVars, class SubControlVolumeFace, class UpwindTermFunction, class Scalar>
Scalar Dumux::UpwindSchemeImpl< GridGeometry, DiscretizationMethod::box >::multiplier ( const ElemVolVars & elemVolVars,
const SubControlVolumeFace & scvf,
const UpwindTermFunction & upwindTerm,
Scalar flux,
int phaseIdx )
inlinestatic

returns the upwind factor which is multiplied to the advective flux across the given scvf


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