3.6-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::CVFE< DM > > Class Template Reference

Upwind scheme for control-volume finite element methods (uses the standard scheme) More...

#include <dumux/flux/upwindscheme.hh>

Description

template<class GridGeometry, class DM>
class Dumux::UpwindSchemeImpl< GridGeometry, DiscretizationMethods::CVFE< DM > >

Upwind scheme for control-volume finite element methods (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 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 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...
 

Member Function Documentation

◆ apply() [1/2]

template<class GridGeometry , class DM >
template<class ElemVolVars , class SubControlVolumeFace , class UpwindTermFunction , class Scalar >
static Scalar Dumux::UpwindSchemeImpl< GridGeometry, DiscretizationMethods::CVFE< DM > >::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 , class DM >
template<class FluxVariables , class UpwindTermFunction , class Scalar >
static Scalar Dumux::UpwindSchemeImpl< GridGeometry, DiscretizationMethods::CVFE< DM > >::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 , class DM >
template<class ElemVolVars , class SubControlVolumeFace , class UpwindTermFunction , class Scalar >
static Scalar Dumux::UpwindSchemeImpl< GridGeometry, DiscretizationMethods::CVFE< DM > >::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: