Spline.hpp File Reference Class implementing cubic splines. More... #include <opm/material/common/TridiagonalMatrix.hpp> #include <opm/material/common/PolynomialUtils.hpp> #include <opm/common/ErrorMacros.hpp> #include <opm/material/common/Unused.hpp> #include <ostream> #include <vector> #include <tuple>
Include dependency graph for Spline.hpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Detailed DescriptionClass implementing cubic splines. This class supports full, natural, periodic and monotonic cubic splines. Full a splines are splines which, given sampling points , fulfill the following conditions
for any given boundary slopes and . Natural splines which are defined by
For periodic splines of splines the slopes at the boundaries are identical:
Finally, there are monotonic splines which guarantee that the curve is confined by its sampling points, i.e.,
For more information on monotonic splines, see http://en.wikipedia.org/wiki/Monotone_cubic_interpolation Full, natural and periodic splines are continuous in their first and second derivatives, i.e.,
holds for such splines. Monotonic splines are only continuous up to their first derivative, i.e., for these only
is true. |
||||||||||||||||||||