![]() |
Documentation 6b54b78464
|
Linear interpolation. More...
#include <C1DInterpolation.hpp>
Public Member Functions | |
| CLinearInterpolation ()=default | |
| CLinearInterpolation (const std::vector< su2double > &X, const std::vector< su2double > &Data) | |
| Constructor of the CLinearInterpolation class. | |
| su2double | EvaluateSpline (su2double Point_Interp) const override |
| Evaluate the value of the spline at a point. | |
Public Member Functions inherited from C1DInterpolation | |
| 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. | |
| su2double | operator() (su2double Point_Interp) const |
Additional Inherited Members | |
Protected Member Functions inherited from C1DInterpolation | |
| size_t | lower_bound (su2double xi) const |
| Find containing interval. | |
Protected Attributes inherited from C1DInterpolation | |
| std::vector< su2double > | x |
| std::vector< su2double > | y |
| Data points. | |
Linear interpolation.
|
default |
|
inline |
Constructor of the CLinearInterpolation class.
| [in] | X | - the x values (sorted low to high). |
| [in] | Data | - the f(x) values. |
Evaluate the value of the spline at a point.
Implements C1DInterpolation.