*comdeck,resucm                                                          jas

c *** Copyright ANSYS.  All Rights Reserved.
c *** ansys, inc.

      LONGINT  resilcL,resdlcL,resllcL,rescycL,resstpL,
     x         resuGeomfpL
      integer  resset,resmax,resrw,resync,AvailDataGlobal,
     x         AvailDataSet,rstsuppressFromFile,resuFormat,
     x         resuGeomID

      common /resucm/
c              --- LONGINT vars
     x         resilcL,resdlcL,resllcL,rescycL,resstpL,
     x         resuGeomfpL,

c              --- integer vars
     x         resset,resmax,resrw,resync,AvailDataGlobal,
     x         AvailDataSet,rstsuppressFromFile,resuFormat,
     x         resuGeomID

      integer    RESU_REV50,      RESU_REV55,      RESU_REV90,
     x           RESU_REV145,     RESU_LATEST
      parameter (RESU_REV50=1,    RESU_REV55=2,    RESU_REV90=3,
     x           RESU_REV145=4,   RESU_LATEST=4)


      character*8  SyncMessage
      common /resucmc/ SyncMessage


co  resilcL              - location of load set index (DSI)
co  resdlcL              - location of time/freq index (TIM)
co  resllcL              - location of loadstep/iteration index (LSP)
co  rescycL              - location of cyclic symmetry harmonic index (CYC)
co  resstpL              - location of current load set header
co  resuGeomfpL          - location of the geometry record for the current set
co                         of results
co  resset               - current result file load set (one just read/write)
co  resmax               - maximum number of load sets allowed on file
co  resrw                - read=1  write=2  read-write=0
co  resync               - sync message key 
c                           0, no sync message and dump the file buffer every time point
c                           1, sync message and dump the file buffer every time point
c                          -1, no sync message and do not dump the file buffer
co  AvailDataGlobal      - bits indicating available data in any data set
co  AvailDataSet         - bits indicating available data in this data set
co  rstsuppressFromFile  - bits set on rstsuppress command used to generate the file
c                           (see rstsuppressCmd.F)
co  resuFormat           - key denoting which results file format is being used
c                            = RESU_REV50 means to use the original file format.
c                                This format was used in all versions prior to R5.4.
c                            = RESU_REV55 means to use the old (short) format.  See
c                                fdresu.inc for description of changes (see 32/64 bit
c                                version).  This format was used for all versions
c                                from R5.5 up to and including R8.1.
c                            = RESU_REV90 means to use the new (long integer) format.
c                                See fdresu.inc for description of changes (see 32/64
c                                bit version).  This format was used for all versions
c                                from R9.0 up to and including R14.0.
c                            = RESU_REV145 means to use the latest results file format.
c                                This includes the longer (80 word) main/geometry headers
c                                along with certain other file changes.  This format is
c                                used in R14.5 on.
c                            = RESU_LATEST means to use the latest format (currently this
c                                is RESU_REV145)
c   resuGeomID           - key identifying which geometry (mesh) is used for the current
c                          set of results
co  SyncMessage          - file name for sync messages

c
c          **********  AvailData bits  **********
c  bit   data item
c
c element data (see elparm.inc)
c   1     EMS
c   2     ENF
c   3     ENS
c   4     ENG
c   5     EGR
c   6     EEL
c   7     EPL
c   8     ECR
c   9     ETH
c  10     EUL
c  11     EFX
c  12     ELF
c  13     EMN
c  14     ECD
c  15     ENL
c  16     EHC
c  17     EPT
c  18     SURF
c  19     EDI
c  20     ESTR
c  21     ECT
c  22     EXYZ
c  23     EBAC
c  24     ESVR
c  25     EMR
c  26     ---

c nodal data
c  27     NSL
c  28     VSL
c  29     ASL
c  30     RF
c  31     ---


c          **********  results file mask  **********
c  bit   routine(s)      sum?      description
c   0      all            -        all results file entries          1
c   1                    yes       displacements                     2
c   2      several        -        all element results               4
c   3                    yes       reaction forces                   8
c   4                    no        master dof list                  16
c
c   8      esmxxx        yes       element misc. data              256
c   9      enfxxx        yes       element nodal forces            512
c  10      ensxxx        yes       element nodal stresses         1024
c  11      engxxx        const     element volume and energies    2048
c  12      egrxxx        yes       element nodal gradients        4096
c  13      eelxxx        yes       element elastic strains        8192
c  14      eplxxx        no        element plastic strains       16384
c  15      ecrxxx        no        element creep strains
c  16      ethxxx        no        element thermal strains
c  17      eulxxx        const     element euler angles
c  18      efxxxx        yes       element nodal fluxes         262144
c  19      elfxxx        no        element local forces         524288
c  20      emnxxx        no        element misc non-sum forces
c  21      ecdxxx        yes       element current densities   2097152
c  22      enlxxx        no        element nonlinear data      4194304
c  23      ehcxxx        no        element heat generations    8388608
c  24      eptxxx        no        element temperatures       16777216
