Discontinuous Galerkin Library
#include "dg/algorithm.h"
Loading...
Searching...
No Matches

\( f(x,y) =B+ A \cos(k_x x) \cos(k_y y) \) More...

Public Member Functions

 CosXCosY (double amp, double bamp, double kx, double ky)
 Construct.
 
DG_DEVICE double operator() (double x, double y) const
 Return profile.
 

Detailed Description

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

Constructor & Destructor Documentation

◆ CosXCosY()

dg::CosXCosY::CosXCosY ( 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::CosXCosY::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: