Discontinuous Galerkin Library
#include "dg/algorithm.h"
|
Public Member Functions | |
GaussianY (double y0, double sigma_y, double amp) | |
Functor returning a gaussian. More... | |
DG_DEVICE double | operator() (double x, double y) const |
Return the value of the gaussian. More... | |
|
inline |
Functor returning a gaussian.
y0 | y-center-coordinate |
sigma_y | y - variance (must be !=0) |
amp | Amplitude |
|
inline |
Return the value of the gaussian.
x | x - coordinate |
y | y - coordinate |