VERB4D
|
Represents one dimensional function f with single valued argument x that can be interpolated using monotone cubic interpolation. More...
#include <vector>
#include <map>
#include <string>
Go to the source code of this file.
Classes | |
class | Opm::MonotCubicInterpolator |
Represents one dimensional function f with single valued argument x that can be interpolated using monotone cubic interpolation. More... | |
Namespaces | |
Opm | |
Namespace included for using the monotone cubic interpolator. | |
Represents one dimensional function f with single valued argument x that can be interpolated using monotone cubic interpolation.
Class to represent a one-dimensional function f with single-valued argument x. The function is represented by a table of function values. Interpolation between table values is cubic and monotonicity preserving if input values are monotonous.
Outside and
, the class will extrapolate using the constant
or
.
Extra functionality:
Monotonicity preserving cubic interpolation algorithm is taken from Fritsch and Carlson, "Monotone piecewise cubic interpolation", SIAM J. Numer. Anal. 17, 238–246, no. 2,
Algorithm also described here: http://en.wikipedia.org/wiki/Monotone_cubic_interpolation