|
Discontinuous Galerkin Library
#include "dg/algorithm.h"
|
\( f(x,y) =B+ A \sin(k_x x) \sin(k_y y) \) More...
Public Member Functions | |
| SinXSinY (double amp, double bamp, double kx, double ky) | |
| Construct. | |
| DG_DEVICE double | operator() (double x, double y) const |
| Return profile. | |
\( f(x,y) =B+ A \sin(k_x x) \sin(k_y y) \)
|
inline |
Construct.
| amp | amplitude A |
| bamp | backgroundamp B |
| kx | kx |
| ky | ky |
|
inline |
Return profile.
| x | x - coordinate |
| y | y - coordinate |