![]() |
HydroFemPhysics
The GeMA Hydraulic FEM Physics Plugin
|
Declaration of the GmpPiecewiseCurve class. More...
#include <gmTrace.h>#include <gmLog.h>#include <assert.h>#include <cmath>#include <limits>#include <gmMathUtils.h>
Go to the source code of this file.
Macros | |
| #define | EPSILON 2.2204460492503131e-016 |
Functions | |
| int | GmpPiecewiseCurve::findInterval (double value, GmCRMatrix &curve, int col) |
| double | GmpPiecewiseCurve::interpolate (double x, GmCRMatrix &curve, const GmLogCategory &logger) |
| Returns the corresponding y value for a given x value. | |
| double | GmpPiecewiseCurve::derivativeGivenY (double y, GmCRMatrix &curve, const GmLogCategory &logger) |
| Returns the derivative of the curve at a given y value. | |
Declaration of the GmpPiecewiseCurve class.
| int GmpPiecewiseCurve::findInterval | ( | double | value, |
| GmCRMatrix & | curve, | ||
| int | col ) |
Find the interval where the given value is located Considers a monotonic curve