|
Discontinuous Galerkin Library
#include "dg/algorithm.h"
|
\( f(x) = f(x,y) = f(x,y,z) = ax+b \) More...
Public Member Functions | |
| LinearX (double a, double b) | |
| Construct with two coefficients. | |
| DG_DEVICE double | operator() (double x) const |
| DG_DEVICE double | operator() (double x, double) const |
| DG_DEVICE double | operator() (double x, double, double) const |
\( f(x) = f(x,y) = f(x,y,z) = ax+b \)
|
inline |
Construct with two coefficients.
| a | linear coefficient |
| b | constant coefficient |
|
inline |
|
inline |
|
inline |