Subroutine Type |
Utility/Data Access |
|
Definition |
Uses the quintic (fifth order) spline fitting method to return the interpolated value or n-th derivative of the interpolated value for a Reference_Spline element. |
|
Use |
The function can be called by any user-defined subroutine. |
|
Calling Syntax |
FortranCALL QUISPL (XVAL, ZVAL, ID, IORD, ARRAY, ERRFLG)
Cc_quispl (xval, zval, id, iord, array, errflg)
Python[array, errflg] = py_quispl (xval, zval, id, iord)
MATLAB[array, errflg] = m_quispl (xval, zval, id, iord) |
|
Input Arguments |
[double] XVAL |
The X value at which the QUISPL spline function is supposed to interpolate the output value. |
[double] ZVAL |
The Z value at which the QUISPL spline function is supposed to interpolate the output value |
|
[integer] ID |
The ID of the Reference_Spline element |
|
[integer] IORD |
The order of the derivative to be returned by the QUISPL function |
|
Output Values |
[double] ARRAY |
The vector output value of dimension 3. If IORD is 0, then ARRAY(1) contains the computed interpolated value y. If IORD is 1, then ARRAY(1) and ARRAY(2) contain the derivatives of y with respect to x and z. If IORD is 2, then ARRAY(1), ARRAY(2) and ARRAY(3) contain the second derivatives of y with respect to xx, xz, and zz, respectively. |
[logical] ERRFLG |
Logical variable that is returned to the calling subroutine and that indicates the success of the QUISPL function call. |