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

\( f(x) = f(x,y) = f(x,y,z) = B + A(1 - \sin(k_xx )) \) More...

Public Member Functions

 SinProfX (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(1 - \sin(k_xx )) \)

Constructor & Destructor Documentation

◆ SinProfX()

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

Construct.

Parameters
ampamplitude A
bampbackgroundamp B
kxkx

Member Function Documentation

◆ operator()() [1/3]

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

◆ operator()() [2/3]

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

◆ operator()() [3/3]

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

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