Documentation 6b54b78464
Loading...
Searching...
No Matches
CAkimaInterpolation Class Reference

Akima 1D interpolation. More...

#include <C1DInterpolation.hpp>

Inheritance diagram for CAkimaInterpolation:
[legend]

Public Member Functions

 CAkimaInterpolation ()=default
 
 CAkimaInterpolation (const std::vector< su2double > &X, const std::vector< su2double > &Data)
 Constructor of the CAkimaInterpolation class.
 
void SetSpline (const std::vector< su2double > &X, const std::vector< su2double > &Data) override
 Build the spline.
 
su2double EvaluateSpline (su2double Point_Interp) const final
 Evaluate the value of the spline at a point.
 
- Public Member Functions inherited from C1DInterpolation
virtual ~C1DInterpolation ()=default
 Virtual destructor of the C1DInterpolation class.
 
su2double operator() (su2double Point_Interp) const
 

Protected Attributes

std::vector< su2double > b
 
std::vector< su2double > c
 
std::vector< su2double > d
 local variables for Akima spline cooefficients
 
- Protected Attributes inherited from C1DInterpolation
std::vector< su2double > x
 
std::vector< su2double > y
 Data points.
 

Additional Inherited Members

- Protected Member Functions inherited from C1DInterpolation
size_t lower_bound (su2double xi) const
 Find containing interval.
 

Detailed Description

Akima 1D interpolation.

Constructor & Destructor Documentation

◆ CAkimaInterpolation() [1/2]

CAkimaInterpolation::CAkimaInterpolation ( )
default

◆ CAkimaInterpolation() [2/2]

CAkimaInterpolation::CAkimaInterpolation ( const std::vector< su2double > &  X,
const std::vector< su2double > &  Data 
)
inline

Constructor of the CAkimaInterpolation class.

Parameters
[in]X- the x values (sorted low to high).
[in]Data- the f(x) values.

Member Function Documentation

◆ EvaluateSpline()

su2double CAkimaInterpolation::EvaluateSpline ( su2double  Point_Interp) const
finalvirtual

Evaluate the value of the spline at a point.

Implements C1DInterpolation.

◆ SetSpline()

void CAkimaInterpolation::SetSpline ( const std::vector< su2double > &  X,
const std::vector< su2double > &  Data 
)
overridevirtual

Build the spline.

Reimplemented from C1DInterpolation.

Reimplemented in CCubicSpline.

Member Data Documentation

◆ b

std::vector<su2double> CAkimaInterpolation::b
protected

◆ c

std::vector<su2double> CAkimaInterpolation::c
protected

◆ d

std::vector<su2double> CAkimaInterpolation::d
protected

local variables for Akima spline cooefficients


The documentation for this class was generated from the following files: