Reading Floating Point and Integer Variables
To read both floating point and integer variables in the records, the following coding can be used in the postprocessing program:
INCLUDE 'aba_param.inc' DIMENSION ARRAY(513), JRRAY(NPRECD,513) EQUIVALENCE (ARRAY(1),JRRAY(1,1))
With this technique, for example, the record key is available after each
call to DBFILE with LOP
=0 as
KEY = JRRAY (1,2)
The use of aba_param.inc
eliminates the
need to have different versions of the code for single and double precision.
The file aba_param.inc
defines an appropriate
IMPLICIT REAL
statement and sets the value of
NPRECD
to 1 or 2, depending upon whether the
machine uses single or double precision. The file
aba_param.inc
is referenced from the
site
subdirectory of the
Abaqus
installation when the postprocessing program is compiled and linked using the
abaqus make utility (explained below).