02.04.2013 Views

Welcome to Adams/Solver Subroutines - Kxcad.net

Welcome to Adams/Solver Subroutines - Kxcad.net

Welcome to Adams/Solver Subroutines - Kxcad.net

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Use<br />

Called By<br />

SPLINE_READ<br />

Calling Sequence<br />

CALL PUT_SPLINE (id, nx, nz, x, y, z, errflg)<br />

Input Argument<br />

<strong>Welcome</strong> <strong>to</strong> <strong>Adams</strong>/<strong>Solver</strong> <strong>Subroutines</strong><br />

id An integer variable containing the ID of the SPLINE statement.<br />

nx An integer variable that specifies the number of x values contained in the<br />

x array. The number of x values must be at least 4.<br />

nz An integer variable that specifies the number of z values contained in the<br />

z array. The number of z values must be at least 1.<br />

x A double-precision array containing the x values for the spline element.<br />

The number of x values must be at least nx.<br />

y A double-precision array containing the y values for the spline element.<br />

The number of y values must be at least nx · nz.<br />

z A double-precision array containing the z values for the spline element.<br />

The number of z values must be at least nz.<br />

Output Argument<br />

errflg A logical variable that indicates if <strong>Adams</strong> successfully accepts the x, y,<br />

[and z] data. SPLINE_READ checks the value of errflg after calling<br />

PUT_SPLINE.<br />

Extended Definition<br />

PUT_SPLINE transfers spline data <strong>to</strong> <strong>Adams</strong>/<strong>Solver</strong> from local variables that you define in the<br />

SPLINE_READ user-written subroutine. For an example of a SPLINE_READ subroutine that calls<br />

PUT_SPLINE, see SPLINE_READ.<br />

Cautions<br />

• If there are more than nx values in x, more than nx · nz values in y, or more than nz values in z,<br />

then <strong>Adams</strong>/<strong>Solver</strong> ignores the extra values.<br />

77

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!