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::CCTpfa > Class Template Reference

Upwind scheme for the cell-centered tpfa scheme. More...

#include <dumux/flux/upwindscheme.hh>

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

Description

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

Upwind scheme for the cell-centered tpfa scheme.

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

◆ 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 
)
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: