Discontinuous Galerkin Library
#include "dg/algorithm.h"
|
\( f(x_1,x_2) = 2\begin{cases} \frac{x_1x_2}{x_1+x_2} &\text{ if } x_1x_2 > 0 \\ 0 & \text { else } \end{cases} \) More...
Public Member Functions | |
template<class T > | |
DG_DEVICE T | operator() (T x1, T x2) const |
\( f(x_1,x_2) = 2\begin{cases} \frac{x_1x_2}{x_1+x_2} &\text{ if } x_1x_2 > 0 \\ 0 & \text { else } \end{cases} \)
|
inline |