\( f(x,y,z) = Ae^{-\frac{(z-z_0)^2}{2\sigma_z^2}} \)
More...
\( f(x,y,z) = Ae^{-\frac{(z-z_0)^2}{2\sigma_z^2}} \)
◆ GaussianZ()
dg::GaussianZ::GaussianZ |
( |
double |
z0, |
|
|
double |
sigma_z, |
|
|
double |
amp |
|
) |
| |
|
inline |
Functor returning a gaussian.
- Parameters
-
z0 | z-center-coordinate |
sigma_z | z - variance (must be !=0) |
amp | Amplitude |
◆ operator()() [1/2]
DG_DEVICE double dg::GaussianZ::operator() |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| const |
|
inline |
Return the value of the gaussian.
\[ f(x,y,z) = Ae^{-\frac{(z-z_0)^2}{2\sigma_z^2}} \]
- Parameters
-
x | x - coordinate |
y | y - coordinate |
z | z - coordinate |
- Returns
- gaussian
◆ operator()() [2/2]
DG_DEVICE double dg::GaussianZ::operator() |
( |
double |
z | ) |
const |
|
inline |
Return the value of the gaussian.
\[ f(z) = Ae^{-\frac{(z-z_0)^2}{2\sigma_z^2}} \]
- Parameters
-
- Returns
- gaussian
The documentation for this struct was generated from the following file: