OpenFAST
Wind turbine multiphysics simulator
Public Member Functions | List of all members
nwtc_num::interpstp Interface Reference

This funtion returns a y-value that corresponds to an input x-value by interpolating into the arrays. More...

Public Member Functions

complex(siki) function interpstpcomp4 (XVal, XAry, YAry, Ind, AryLen)
 This funtion returns a y-value that corresponds to an input x-value by interpolating into the arrays. More...
 
complex(r8ki) function interpstpcomp8 (XVal, XAry, YAry, Ind, AryLen)
 This funtion returns a y-value that corresponds to an input x-value by interpolating into the arrays. More...
 
complex(quki) function interpstpcomp16 (XVal, XAry, YAry, Ind, AryLen)
 This funtion returns a y-value that corresponds to an input x-value by interpolating into the arrays. More...
 
real(siki) function interpstpreal4 (XVal, XAry, YAry, Ind, AryLen)
 This funtion returns a y-value that corresponds to an input x-value by interpolating into the arrays. More...
 
real(r8ki) function interpstpreal4_8 (XVal, XAry, YAry, Ind, AryLen)
 This funtion returns a y-value that corresponds to an input x-value by interpolating into the arrays. More...
 
real(r8ki) function interpstpreal8 (XVal, XAry, YAry, Ind, AryLen)
 This funtion returns a y-value that corresponds to an input x-value by interpolating into the arrays. More...
 
real(quki) function interpstpreal16 (XVal, XAry, YAry, Ind, AryLen)
 This funtion returns a y-value that corresponds to an input x-value by interpolating into the arrays. More...
 

Detailed Description

This funtion returns a y-value that corresponds to an input x-value by interpolating into the arrays.

It uses the passed index as the starting point and does a stepwise interpolation from there. This is especially useful when the calling routines save the value from the last time this routine was called for a given case where XVal does not change much from call to call. When there is no correlation from one interpolation to another, InterpBin() (nwtc_num::interpbin) may be a better choice. It returns the first or last YAry() value if XVal is outside the limits of XAry().

Use InterpStp (nwtc_num::interpstp) instead of directly calling a specific routine in the generic interface.

Parameters
[in]arylenLength of the arrays.
[in,out]indInitial and final index into the arrays.
[in]xaryArray of X values to be interpolated.
[in]xvalX value to be interpolated.
[in]yaryArray of Y values to be interpolated.

Member Function/Subroutine Documentation

◆ interpstpcomp16()

complex(quki) function nwtc_num::interpstp::interpstpcomp16 ( real(quki), intent(in)  XVal,
real(quki), dimension (arylen), intent(in)  XAry,
complex(quki), dimension (arylen), intent(in)  YAry,
integer, intent(inout)  Ind,
integer, intent(in)  AryLen 
)

This funtion returns a y-value that corresponds to an input x-value by interpolating into the arrays.

It uses the passed index as the starting point and does a stepwise interpolation from there. This is especially useful when the calling routines save the value from the last time this routine was called for a given case where XVal does not change much from call to call. When there is no correlation from one interpolation to another, InterpBin() (nwtc_num::interpbin) may be a better choice. It returns the first or last YAry() value if XVal is outside the limits of XAry().

Use InterpStp (nwtc_num::interpstp) instead of directly calling a specific routine in the generic interface.

Parameters
[in]arylenLength of the arrays.
[in,out]indInitial and final index into the arrays.
[in]xaryArray of X values to be interpolated.
[in]xvalX value to be interpolated.
[in]yaryArray of Y values to be interpolated.
Returns
The interpolated value of Y at XVal
Parameters
[in]arylenLength of the arrays.
[in,out]indInitial and final index into the arrays.
[in]xaryArray of X values to be interpolated.
[in]xvalX value to be interpolated.
[in]yaryArray of Y values to be interpolated.

◆ interpstpcomp4()

complex(siki) function nwtc_num::interpstp::interpstpcomp4 ( real(siki), intent(in)  XVal,
real(siki), dimension (arylen), intent(in)  XAry,
complex(siki), dimension (arylen), intent(in)  YAry,
integer, intent(inout)  Ind,
integer, intent(in)  AryLen 
)

This funtion returns a y-value that corresponds to an input x-value by interpolating into the arrays.

It uses the passed index as the starting point and does a stepwise interpolation from there. This is especially useful when the calling routines save the value from the last time this routine was called for a given case where XVal does not change much from call to call. When there is no correlation from one interpolation to another, InterpBin() (nwtc_num::interpbin) may be a better choice. It returns the first or last YAry() value if XVal is outside the limits of XAry().

Use InterpStp (nwtc_num::interpstp) instead of directly calling a specific routine in the generic interface.

Parameters
[in]arylenLength of the arrays.
[in,out]indInitial and final index into the arrays.
[in]xaryArray of X values to be interpolated.
[in]xvalX value to be interpolated.
[in]yaryArray of Y values to be interpolated.

◆ interpstpcomp8()

complex(r8ki) function nwtc_num::interpstp::interpstpcomp8 ( real(r8ki), intent(in)  XVal,
real(r8ki), dimension (arylen), intent(in)  XAry,
complex(r8ki), dimension (arylen), intent(in)  YAry,
integer, intent(inout)  Ind,
integer, intent(in)  AryLen 
)

This funtion returns a y-value that corresponds to an input x-value by interpolating into the arrays.

It uses the passed index as the starting point and does a stepwise interpolation from there. This is especially useful when the calling routines save the value from the last time this routine was called for a given case where XVal does not change much from call to call. When there is no correlation from one interpolation to another, InterpBin() (nwtc_num::interpbin) may be a better choice. It returns the first or last YAry() value if XVal is outside the limits of XAry().

Use InterpStp (nwtc_num::interpstp) instead of directly calling a specific routine in the generic interface.

Parameters
[in]arylenLength of the arrays.
[in,out]indInitial and final index into the arrays.
[in]xaryArray of X values to be interpolated.
[in]xvalX value to be interpolated.
[in]yaryArray of Y values to be interpolated.
Returns
The interpolated value of Y at XVal
Parameters
[in]arylenLength of the arrays.
[in,out]indInitial and final index into the arrays.
[in]xaryArray of X values to be interpolated.
[in]xvalX value to be interpolated.
[in]yaryArray of Y values to be interpolated.

◆ interpstpreal16()

real(quki) function nwtc_num::interpstp::interpstpreal16 ( real(quki), intent(in)  XVal,
real(quki), dimension (arylen), intent(in)  XAry,
real(quki), dimension (arylen), intent(in)  YAry,
integer, intent(inout)  Ind,
integer, intent(in)  AryLen 
)

This funtion returns a y-value that corresponds to an input x-value by interpolating into the arrays.

It uses the passed index as the starting point and does a stepwise interpolation from there. This is especially useful when the calling routines save the value from the last time this routine was called for a given case where XVal does not change much from call to call. When there is no correlation from one interpolation to another, InterpBin() (nwtc_num::interpbin) may be a better choice. It returns the first or last YAry() value if XVal is outside the limits of XAry().

Use InterpStp (nwtc_num::interpstp) instead of directly calling a specific routine in the generic interface.

Parameters
[in]arylenLength of the arrays.
[in,out]indInitial and final index into the arrays.
[in]xaryArray of X values to be interpolated.
[in]xvalX value to be interpolated.
[in]yaryArray of Y values to be interpolated.
Returns
The interpolated value of Y at XVal

◆ interpstpreal4()

real(siki) function nwtc_num::interpstp::interpstpreal4 ( real(siki), intent(in)  XVal,
real(siki), dimension (arylen), intent(in)  XAry,
real(siki), dimension (arylen), intent(in)  YAry,
integer, intent(inout)  Ind,
integer, intent(in)  AryLen 
)

This funtion returns a y-value that corresponds to an input x-value by interpolating into the arrays.

It uses the passed index as the starting point and does a stepwise interpolation from there. This is especially useful when the calling routines save the value from the last time this routine was called for a given case where XVal does not change much from call to call. When there is no correlation from one interpolation to another, InterpBin() (nwtc_num::interpbin) may be a better choice. It returns the first or last YAry() value if XVal is outside the limits of XAry().

Use InterpStp (nwtc_num::interpstp) instead of directly calling a specific routine in the generic interface.

Parameters
[in]arylenLength of the arrays.
[in,out]indInitial and final index into the arrays.
[in]xaryArray of X values to be interpolated.
[in]xvalX value to be interpolated.
[in]yaryArray of Y values to be interpolated.
Returns
The interpolated value of Y at XVal

◆ interpstpreal4_8()

real(r8ki) function nwtc_num::interpstp::interpstpreal4_8 ( real(siki), intent(in)  XVal,
real(siki), dimension (arylen), intent(in)  XAry,
real(r8ki), dimension (arylen), intent(in)  YAry,
integer, intent(inout)  Ind,
integer, intent(in)  AryLen 
)

This funtion returns a y-value that corresponds to an input x-value by interpolating into the arrays.

It uses the passed index as the starting point and does a stepwise interpolation from there. This is especially useful when the calling routines save the value from the last time this routine was called for a given case where XVal does not change much from call to call. When there is no correlation from one interpolation to another, InterpBin() (nwtc_num::interpbin) may be a better choice. It returns the first or last YAry() value if XVal is outside the limits of XAry().

Use InterpStp (nwtc_num::interpstp) instead of directly calling a specific routine in the generic interface.

Parameters
[in]arylenLength of the arrays.
[in,out]indInitial and final index into the arrays.
[in]xaryArray of X values to be interpolated.
[in]xvalX value to be interpolated.
[in]yaryArray of Y values to be interpolated.
Returns
The interpolated value of Y at XVal

◆ interpstpreal8()

real(r8ki) function nwtc_num::interpstp::interpstpreal8 ( real(r8ki), intent(in)  XVal,
real(r8ki), dimension (arylen), intent(in)  XAry,
real(r8ki), dimension (arylen), intent(in)  YAry,
integer, intent(inout)  Ind,
integer, intent(in)  AryLen 
)

This funtion returns a y-value that corresponds to an input x-value by interpolating into the arrays.

It uses the passed index as the starting point and does a stepwise interpolation from there. This is especially useful when the calling routines save the value from the last time this routine was called for a given case where XVal does not change much from call to call. When there is no correlation from one interpolation to another, InterpBin() (nwtc_num::interpbin) may be a better choice. It returns the first or last YAry() value if XVal is outside the limits of XAry().

Use InterpStp (nwtc_num::interpstp) instead of directly calling a specific routine in the generic interface.

Parameters
[in]arylenLength of the arrays.
[in,out]indInitial and final index into the arrays.
[in]xaryArray of X values to be interpolated.
[in]xvalX value to be interpolated.
[in]yaryArray of Y values to be interpolated.
Returns
The interpolated value of Y at XVal

The documentation for this interface was generated from the following file: