Discontinuous Galerkin Library
#include "dg/algorithm.h"
|
\( f(x,y) = Ae^{-\frac{(x-x_0)^2}{2\sigma_x^2} } \) More...
Public Member Functions | |
GaussianX (double x0, double sigma_x, double amp) | |
A Gaussian in x. More... | |
DG_DEVICE double | operator() (double x) const |
DG_DEVICE double | operator() (double x, double y) const |
DG_DEVICE double | operator() (double x, double y, double z) const |
\( f(x,y) = Ae^{-\frac{(x-x_0)^2}{2\sigma_x^2} } \)
|
inline |
A Gaussian in x.
x0 | x-center-coordinate |
sigma_x | x - variance (must be !=0) |
amp | Amplitude |
|
inline |
|
inline |
|
inline |