![]() |
OpenFAST
Wind turbine multiphysics simulator
|
This funtion returns a y-value that corresponds to an input x-value by interpolating into the arrays. More...
Public Member Functions | |
| complex(reki) function | interpbincomp (XVal, XAry, YAry, ILo, AryLen) |
| This funtion returns a y-value that corresponds to an input x-value by interpolating into the arrays. More... | |
| real(reki) function | interpbinreal (XVal, XAry, YAry, ILo, AryLen) |
| This funtion returns a y-value that corresponds to an input x-value by interpolating into the arrays. More... | |
This funtion returns a y-value that corresponds to an input x-value by interpolating into the arrays.
It uses a binary interpolation scheme that takes about log(AryLen) / log(2) steps to converge. It returns the first or last YAry() value if XVal is outside the limits of XAry().
Use InterpBin (nwtc_num::interpbin) instead of directly calling a specific routine in the generic interface.
| [in] | arylen | Length of the arrays. |
| [in,out] | ilo | The low index into the arrays. |
| [in] | xary | Array of X values to be interpolated. |
| [in] | xval | X value to be interpolated. |
| [in] | yary | Array of Y values to be interpolated. |
| complex(reki) function nwtc_num::interpbin::interpbincomp | ( | real(reki), intent(in) | XVal, |
| real(reki), dimension (arylen), intent(in) | XAry, | ||
| complex(reki), dimension (arylen), intent(in) | YAry, | ||
| integer, intent(inout) | ILo, | ||
| integer, intent(in) | AryLen | ||
| ) |
This funtion returns a y-value that corresponds to an input x-value by interpolating into the arrays.
It uses a binary interpolation scheme that takes about log(AryLen) / log(2) steps to converge. It returns the first or last YAry() value if XVal is outside the limits of XAry().
Use InterpBin (nwtc_num::interpbin) instead of directly calling a specific routine in the generic interface.
| [in] | arylen | Length of the arrays. |
| [in,out] | ilo | The low index into the arrays. |
| [in] | xary | Array of X values to be interpolated. |
| [in] | xval | X value to be interpolated. |
| [in] | yary | Array of Y values to be interpolated. |
| real(reki) function nwtc_num::interpbin::interpbinreal | ( | real(reki), intent(in) | XVal, |
| real(reki), dimension (arylen), intent(in) | XAry, | ||
| real(reki), dimension (arylen), intent(in) | YAry, | ||
| integer, intent(inout) | ILo, | ||
| integer, intent(in) | AryLen | ||
| ) |
This funtion returns a y-value that corresponds to an input x-value by interpolating into the arrays.
It uses a binary interpolation scheme that takes about log(AryLen) / log(2) steps to converge. It returns the first or last YAry() value if XVal is outside the limits of XAry().
Use InterpBin (nwtc_num::interpbin) instead of directly calling a specific routine in the generic interface.
| [in] | arylen | Length of the arrays. |
| [in,out] | ilo | The low index into the arrays. |
| [in] | xary | Array of X values to be interpolated. |
| [in] | xval | X value to be interpolated. |
| [in] | yary | Array of Y values to be interpolated. |
| [in] | arylen | Length of the arrays. |
| [in,out] | ilo | The low index into the arrays. |
| [in] | xary | Array of X values to be interpolated. |
| [in] | xval | X value to be interpolated. |
| [in] | yary | Array of Y values to be interpolated. |
1.8.13