\( f(\psi) = \begin{cases} 1 \text{ if } \psi < \psi_{\max}\\ 0 \text{ if } \psi > (\psi_{\max} + 4\alpha) \\ \exp\left( - \frac{(\psi - \psi_{\max})^2}{2\alpha^2}\right), \text{ else} \end{cases} \)
More...
\( f(\psi) = \begin{cases} 1 \text{ if } \psi < \psi_{\max}\\ 0 \text{ if } \psi > (\psi_{\max} + 4\alpha) \\ \exp\left( - \frac{(\psi - \psi_{\max})^2}{2\alpha^2}\right), \text{ else} \end{cases} \)
One up to psimax
, then a Gaussian down to zero
◆ GaussianDamping()
dg::GaussianDamping::GaussianDamping |
( |
double |
psimax, |
|
|
double |
alpha |
|
) |
| |
|
inline |
◆ operator()()
DG_DEVICE double dg::GaussianDamping::operator() |
( |
double |
psi | ) |
const |
|
inline |
The documentation for this struct was generated from the following file: