Mushy Layer
1.0
|
Class for handling spline interpolation. More...
#include <ChomboSpline.h>
Public Types | |
enum | bd_type { first_deriv = 1, second_deriv = 2 } |
boundary types | |
Public Member Functions | |
void | set_boundary (bd_type left, Real left_value, bd_type right, Real right_value, bool force_linear_extrapolation=false) |
optional, but if called it has to come be before set_points() | |
void | set_points (const std::vector< Real > &x, const std::vector< Real > &y, bool cubic_spline=true) |
set the points to interpolate on | |
Real | operator() (Real x) const |
Perform operation. | |
Class for handling spline interpolation.