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

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

#include <dumux/flux/upwindscheme.hh>

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

Description

template<class GridGeometry>
class Dumux::UpwindSchemeImpl< GridGeometry, DiscretizationMethod::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, DiscretizationMethod::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, DiscretizationMethod::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, DiscretizationMethod::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: