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.

190<br />

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

C --- COMMON Blocks -----------------------------------<br />

C<br />

COMMON ...<br />

C<br />

C === Executable code =================================<br />

C<br />

C Read in the information which appears in the COMMON<br />

C blocks, through which this routine shares information<br />

C with other user-written subroutines.<br />

C<br />

READ (IUNIT) ...<br />

C<br />

RETURN<br />

END<br />

Example<br />

For an example of this subroutine, see relsub.f.<br />

REQSUB<br />

The REQSUB evaluation subroutine computes the output values for a REQUEST statement (C++ or<br />

FORTRAN). REQSUB is optional. You only need it if you do not want <strong>to</strong> use the standard requests or<br />

F1,F2,...,F8 expressions in the REQUEST statement.<br />

Use<br />

Corresponding Statement<br />

Calling Sequence<br />

SUBROUTINE REQSUB (id, time, par, npar, iflag, result)

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

Saved successfully!

Ooh no, something went wrong!