![]() |
Documentation 6b54b78464
|
Base class for 1D interpolation. More...
#include <C1DInterpolation.hpp>
Public Member Functions | |
| virtual | ~C1DInterpolation ()=default |
| Virtual destructor of the C1DInterpolation class. | |
| virtual void | SetSpline (const std::vector< su2double > &X, const std::vector< su2double > &Data) |
| Virtual method for setting the coefficients of the respective spline. | |
| virtual su2double | EvaluateSpline (su2double Point_Interp) const =0 |
| Evaluate the value of the spline at a point. | |
| su2double | operator() (su2double Point_Interp) const |
Protected Member Functions | |
| size_t | lower_bound (su2double xi) const |
| Find containing interval. | |
Protected Attributes | |
| std::vector< su2double > | x |
| std::vector< su2double > | y |
| Data points. | |
Base class for 1D interpolation.
|
virtualdefault |
Virtual destructor of the C1DInterpolation class.
Evaluate the value of the spline at a point.
Implemented in CAkimaInterpolation, and CLinearInterpolation.
|
inlineprotected |
Find containing interval.
| [in] | xi | - Point for which interpolation is required. |
|
inlinevirtual |
Virtual method for setting the coefficients of the respective spline.
| [in] | X | - the x values. |
| [in] | Data | - the f(x) values. |
Reimplemented in CAkimaInterpolation, and CCubicSpline.
|
protected |
|
protected |
Data points.