|
Mallard 0.8.0
Unstructured, GPU accelerated, high-order finite volume CFD solver
Mallard website |
An exprtk expression in the variables x, y, z and t. More...
#include <expression.h>
Public Member Functions | |
| Expression (const std::string &name, const std::string &text) | |
| bool | depends_on_time () const |
| Whether the value can depend on t. | |
| double | operator() (double x, double y, double t=0.0) const |
| Evaluate at (x, y, z = 0, t). | |
| double | operator() (double x, double y, double z, double t) const |
| Evaluate at (x, y, z, t). | |
| template<typename T > | |
| double | at (const T &x, const int n_dim, double t=0.0) const |
| Evaluate at the point with coordinates x[0..n_dim) (z = 0 if n_dim = 2). | |
An exprtk expression in the variables x, y, z and t.
|
inline |
Evaluate at the point with coordinates x[0..n_dim) (z = 0 if n_dim = 2).
|
inline |
Whether the value can depend on t.
Evaluate at (x, y, z = 0, t).
Evaluate at (x, y, z, t).