PUT_SPLINE

Utility/SetupUsed in conjunction with SPLINE_READ. It is used to store data read by SPLINE_READ within MotionSolve.

Use

This function can be called by SPLINE_READ.

Format

CALL PUT_SPLINE(ID, NX, NZ, X, Y, Z, ERRFLG)

Attributes

ID
[integer]
The identifier of the corresponding Reference_Spline element.
NX
[integer]
The number of elements in the array X. Must be greater than or equal to 4.
NZ
[integer]
The number of elements in the array Z. Must be greater than or equal to 1.
X
[double precision]
An array containing X values of the Reference_Spline element. Length must be greater than or equal to NX.
Y
[double precision]
An array containing Y values of the Reference_Spline element. Length must be greater than or equal to NX times NZ.
Z
[double precision]
An array containing Z values of the Reference_Spline element. Length must be greater than or equal to NZ.

Output

ERRFLG
[logical]
A logical flag that represents the success of the PUT_SPLINE function call. This is checked by SPLINE_READ.

Example

For an example of PUT_SPLINE, please refer to the install_path>\hwsolvers\usersub.