3.5-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Static Public Member Functions | List of all members
Dumux::UpwindSchemeImpl< GridGeometry, DiscretizationMethods::CCMpfa > Class Template Reference

Upwind scheme for cell-centered mpfa schemes. More...

#include <dumux/flux/upwindscheme.hh>

Inheritance diagram for Dumux::UpwindSchemeImpl< GridGeometry, DiscretizationMethods::CCMpfa >:

Description

template<class GridGeometry>
class Dumux::UpwindSchemeImpl< GridGeometry, DiscretizationMethods::CCMpfa >

Upwind scheme for cell-centered mpfa schemes.

Static Public Member Functions

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 More...
 
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 More...
 
template<class FluxVariables , class UpwindTermFunction , class Scalar >
static Scalar apply (const FluxVariables &fluxVars, const UpwindTermFunction &upwindTerm, Scalar flux, int phaseIdx)
 

Member Function Documentation

◆ apply() [1/2]

template<class GridGeometry >
template<class ElemVolVars , class SubControlVolumeFace , class UpwindTermFunction , class Scalar >
static Scalar Dumux::UpwindSchemeImpl< GridGeometry, DiscretizationMethods::CCTpfa >::apply ( const ElemVolVars &  elemVolVars,
const SubControlVolumeFace &  scvf,
const UpwindTermFunction &  upwindTerm,
Scalar  flux,
int  phaseIdx 
)
inlinestaticinherited

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 >
static Scalar Dumux::UpwindSchemeImpl< GridGeometry, DiscretizationMethods::CCTpfa >::apply ( const FluxVariables &  fluxVars,
const UpwindTermFunction &  upwindTerm,
Scalar  flux,
int  phaseIdx 
)
inlinestaticinherited

◆ multiplier()

template<class GridGeometry >
template<class ElemVolVars , class SubControlVolumeFace , class UpwindTermFunction , class Scalar >
static Scalar Dumux::UpwindSchemeImpl< GridGeometry, DiscretizationMethods::CCTpfa >::multiplier ( const ElemVolVars &  elemVolVars,
const SubControlVolumeFace &  scvf,
const UpwindTermFunction &  upwindTerm,
Scalar  flux,
int  phaseIdx 
)
inlinestaticinherited

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: