Discontinuous Galerkin Library
#include "dg/algorithm.h"

\( \text{up}(v, b, f ) = \begin{cases} b &\text{ if } v \geq 0 \\ f &\text{ else} \end{cases} \) More...

Public Member Functions

template<class T >
DG_DEVICEoperator() (T velocity, T backward, T forward) const
 

Detailed Description

\( \text{up}(v, b, f ) = \begin{cases} b &\text{ if } v \geq 0 \\ f &\text{ else} \end{cases} \)

Member Function Documentation

◆ operator()()

template<class T >
DG_DEVICE T dg::Upwind::operator() ( velocity,
backward,
forward 
) const
inline

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