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

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

Public Member Functions

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

Detailed Description

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

Constructor & Destructor Documentation

◆ LinearZ()

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

Construct with two coefficients.

Parameters
alinear coefficient
bconstant coefficient

Member Function Documentation

◆ operator()()

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

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