Discontinuous Galerkin Library
#include "dg/algorithm.h"
dg::SlopeLimiterProduct< Limiter > Struct Template Reference

\( \text{up}(v, g_m, g_0, g_p, h_m, h_p ) = v \begin{cases} +h_m \Lambda( g_0, g_m) &\text{ if } v \geq 0 \\ -h_p \Lambda( g_p, g_0) &\text{ else} \end{cases} \) More...

Public Member Functions

 SlopeLimiterProduct ()
 
 SlopeLimiterProduct (Limiter l)
 
template<class T >
DG_DEVICEoperator() (T v, T gm, T g0, T gp, T hm, T hp) const
 

Detailed Description

template<class Limiter>
struct dg::SlopeLimiterProduct< Limiter >

\( \text{up}(v, g_m, g_0, g_p, h_m, h_p ) = v \begin{cases} +h_m \Lambda( g_0, g_m) &\text{ if } v \geq 0 \\ -h_p \Lambda( g_p, g_0) &\text{ else} \end{cases} \)

Template Parameters
LimiterAny two-dimensional functor
See also
VanLeer, MinMod

Constructor & Destructor Documentation

◆ SlopeLimiterProduct() [1/2]

template<class Limiter >
dg::SlopeLimiterProduct< Limiter >::SlopeLimiterProduct ( )
inline

◆ SlopeLimiterProduct() [2/2]

template<class Limiter >
dg::SlopeLimiterProduct< Limiter >::SlopeLimiterProduct ( Limiter  l)
inline

Member Function Documentation

◆ operator()()

template<class Limiter >
template<class T >
DG_DEVICE T dg::SlopeLimiterProduct< Limiter >::operator() ( v,
gm,
g0,
gp,
hm,
hp 
) const
inline

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