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

\( f(x,y) = f(x,y,z) = ay+b \) More...

Public Member Functions

 LinearY (double a, double b)
 Construct with two coefficients. More...
 
DG_DEVICE double operator() (double x, double y, double z) const
 
DG_DEVICE double operator() (double x, double y) const
 

Detailed Description

\( f(x,y) = f(x,y,z) = ay+b \)

Constructor & Destructor Documentation

◆ LinearY()

dg::LinearY::LinearY ( double  a,
double  b 
)
inline

Construct with two coefficients.

Parameters
alinear coefficient
bconstant coefficient

Member Function Documentation

◆ operator()() [1/2]

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

◆ operator()() [2/2]

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

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