Discontinuous Galerkin Library
#include "dg/algorithm.h"

\( f(x,y) = \lambda \ln{(\cosh{(x/\lambda) } +\epsilon \cos(y/\lambda)) } \) More...

Public Member Functions

 IslandXY (double lambda, double eps)
 Construct Island. More...
 
DG_DEVICE double operator() (double x, double y) const
 Return profile. More...
 

Detailed Description

\( f(x,y) = \lambda \ln{(\cosh{(x/\lambda) } +\epsilon \cos(y/\lambda)) } \)

Constructor & Destructor Documentation

◆ IslandXY()

dg::IslandXY::IslandXY ( double  lambda,
double  eps 
)
inline

Construct Island.

Parameters
lambdaamplitude (must be != 0)
epsy-amplitude

Member Function Documentation

◆ operator()()

DG_DEVICE double dg::IslandXY::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: