![]() |
OGS
|
|
Wrapper for curve interpolation to be used with exprtk. Converts MathLib::PiecewiseLinearInterpolation to an exprtk function interface.
Definition at line 23 of file ExprtkUtils.h.
#include <ExprtkUtils.h>
Public Member Functions | |
| CurveWrapper (MathLib::PiecewiseLinearInterpolation const &curve) | |
| double | operator() (double const &t) override |
Private Attributes | |
| MathLib::PiecewiseLinearInterpolation const & | curve_ |
|
inlineexplicit |
Definition at line 25 of file ExprtkUtils.h.
References curve_.
|
inlineoverride |
|
private |
Definition at line 34 of file ExprtkUtils.h.
Referenced by CurveWrapper(), and operator()().