Discontinuous Galerkin Library
#include "dg/algorithm.h"
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
dg::SlopeLimiter< Limiter > Struct Template Reference

up(v,gm,g0,gp,hm,hp)={+hmΛ(g0,gm) if v0hpΛ(gp,g0) else More...

Public Member Functions

 SlopeLimiter ()
 
 SlopeLimiter (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::SlopeLimiter< Limiter >

up(v,gm,g0,gp,hm,hp)={+hmΛ(g0,gm) if v0hpΛ(gp,g0) else

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

Constructor & Destructor Documentation

◆ SlopeLimiter() [1/2]

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

◆ SlopeLimiter() [2/2]

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

Member Function Documentation

◆ operator()()

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

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