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

\( f(x,y) =A/\cosh^2(k_x x) \) More...

Public Member Functions

 InvCoshXsq (double amp, double kx)
 Construct with two coefficients. More...
 
DG_DEVICE double operator() (double x) const
 
DG_DEVICE double operator() (double x, double y) const
 
DG_DEVICE double operator() (double x, double y, double z) const
 

Detailed Description

\( f(x,y) =A/\cosh^2(k_x x) \)

Constructor & Destructor Documentation

◆ InvCoshXsq()

dg::InvCoshXsq::InvCoshXsq ( double  amp,
double  kx 
)
inline

Construct with two coefficients.

Parameters
ampamplitude
kxkx

Member Function Documentation

◆ operator()() [1/3]

DG_DEVICE double dg::InvCoshXsq::operator() ( double  x) const
inline

◆ operator()() [2/3]

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

◆ operator()() [3/3]

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

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