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. More...
 
DG_DEVICE double operator() (double x, double y) const
 Return profile. More...
 

Detailed Description

\( f(x,y) =B+ A \sin(k_x x) \sin(k_y y) \)

Constructor & Destructor Documentation

◆ SinXSinY()

dg::SinXSinY::SinXSinY ( double  amp,
double  bamp,
double  kx,
double  ky 
)
inline

Construct.

Parameters
ampamplitude A
bampbackgroundamp B
kxkx
kyky

Member Function Documentation

◆ operator()()

DG_DEVICE double dg::SinXSinY::operator() ( double  x,
double  y 
) const
inline

Return profile.

Parameters
xx - coordinate
yy - coordinate
Returns
\( f(x,y)\)

The documentation for this struct was generated from the following file: