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

\( f(x) = f(x,y) = f(x,y,z) =B+ A \sin(k_x x) \) More...

Public Member Functions

 SinX (double amp, double bamp, double kx)
 Construct. 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) = f(x,y) = f(x,y,z) =B+ A \sin(k_x x) \)

Constructor & Destructor Documentation

◆ SinX()

dg::SinX::SinX ( double  amp,
double  bamp,
double  kx 
)
inline

Construct.

Parameters
ampamplitude A
bampbackgroundamp B
kxkx

Member Function Documentation

◆ operator()() [1/3]

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

◆ operator()() [2/3]

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

◆ operator()() [3/3]

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

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