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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

GETMOD returns the current analysis mode.<br />

Use<br />

Called By<br />

Any user-written subroutine<br />

Calling Sequence<br />

CALL GETMOD (mode)<br />

Output Argument<br />

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

mode An integer variable that specifies the current analysis mode.<br />

GETSLV<br />

GETSLV returns the name of the active solver, either HARWELL or CALAHAN.<br />

Use<br />

Called by<br />

Any user-written subroutine<br />

Variable: Analysis mode:<br />

mode=1 Kinematics<br />

mode=2 Reserved<br />

mode=3 Initial conditions<br />

mode=4 Dynamics<br />

mode=5 Statics<br />

mode=6 Quasi-statics<br />

mode=7 Linearization<br />

Caution: GETMOD should be called from a user-written subroutine only when iflag is false. (That<br />

is, GETMOD should not be called during the subroutine initialization.) Calls <strong>to</strong> GETMOD<br />

when iflag is true can result in erroneous mode information.<br />

39

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

Saved successfully!

Ooh no, something went wrong!