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.

60<br />

<strong>Adams</strong>/<strong>Solver</strong><br />

array A double-precision array of length three which contains the returned<br />

values of x, y, z.<br />

istat An integer variable that indicates either the success or teason for the<br />

failure of the call <strong>to</strong> GTCURV.<br />

Extended Definition<br />

GTCURV evaluates a B-spline or a user-written curve defined by a CURVE statements and returns one<br />

of the following:<br />

• A value for the dependent variables (x, y, z) for each value it receives for alpha.<br />

• The first partial derivatives of the dependent variable.<br />

• The second partial derivatives of the dependent variable.<br />

GTSTRG<br />

GTSTRG returns the character string s<strong>to</strong>red in a STRING statement.<br />

Use<br />

Called By<br />

Any user-written subroutine<br />

0<br />

1<br />

2<br />

iord array(1) array(1) array(1)<br />

x( α ) y( α ) z( α )<br />

dx( α )<br />

------------dα<br />

dx 2 ( α )<br />

dα 2<br />

-----------------<br />

dy( α )<br />

------------dα<br />

dy 2 ( α )<br />

dα 2<br />

-----------------<br />

dxz( α )<br />

---------------dα<br />

dz 2 ( α )<br />

dα 2<br />

----------------<br />

If: Then:<br />

istat= -1 Fatal error, invalid id or iord is out of the range.<br />

istat= 0 The call <strong>to</strong> GTCURV was successful.<br />

istat= 1 alpha is less than MINPAR, the curve was evaluated at<br />

MINPAR.<br />

istat= 2 alpha is greater than MAXPAR, the curve was evaluated<br />

at MAXPAR.

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

Saved successfully!

Ooh no, something went wrong!