Appendix C.  Short description of each common block.

COMMON //
Blank common used for 2D contour labelling by DISSPLA.  Declared to DISSPLA by
calling BCOMON from BGNCO2.  Currently dimensioned 10000.  Used in DISSPLA
only.
COMMON /CCLMAP/
Contour color map information, set by CCMAP and used by CONCLR.  Used inthe
graphics interface only.
COMMON /CHPK/
Number of characters that can be packed into an integer word.  Used by DISSPLA
interface routines to pack type CHARACTER strings into type INTEGER arrays to
be passed to DISSPLA.  Also used by some UNIX-version routines
(READIM,READF,READQ,READQH,READX, PAR2D,PAR2DA, PAR3D,PAR3DA, SCRDMP) to
indicate the number of bytes per word, used for binary I/O through C.  Used by
HELP routines in PARSER to set the record length of the direct access Help
file.
COMMON /CONATT/
Contour attributes, set by CONAUT, CONINC, or CONMAN.  Initialized by BCONAT.
COMMON /CONT/
Contour specifications, set by CONAUT, CONINC, or CONMAN.  Initialized by
BCONT.
COMMON /DISAX2/
2D axis scaling and translation information.  Used in DISSPLA only.
COMMON /DISAX3/
3D axis scaling and translation information.  Used in DISSPLA only.
COMMON /DISDEV/
Keeps track of which DISSPLA devices have been used.  Initialized in BDISDE
and used for possible extra cleanup on a particular device in DONPLT.  Used in
DISSPLA only.
COMMON /DISINF/
Collection of information for DISSPLA interface: initial (x,y,z) viewpoint,
light source, MINMAX box center, viewing vector, and axis scale factors.  Set by
AXES2D,AXES3D.  Used in DISSPLA only.
Contains relative axis scaling, and the axis to be considered "up" in the plot.
COMMON /DISLIN/
Line style information.  Used in DISSPLA only.
COMMON /DISMMX/
MINMAX box values.  Used in DISSPLA only.
COMMON /DISP/
Flag indicating whether plotting has been initialized or not.  Used in
graphics interface only.
COMMON /DISPLT/
DISSPLA plot size and offset of the physical origin from the usual position.
Used in DISSPLA only.
COMMON /DISTMP/
Temporary space for routines in DISSPLA interface.  Dimensioned 3000.  Used
for scaling and translation of coordinates in LINE2,LINE3,POLY2,POLY3.  Used
in DISSPLA only.
COMMON /DISVEC/
Vector attributes.  Used in DISSPLA only.
COMMON /DISVPT/
3D viewpoint.  Used in DISSPLA only.
COMMON /DMINF/
Used to pass information to the DISSPLA Dicomed device driver on CRAY/COS.
Used in DISSPLA only.
COMMON /FLUID/
Specification of fluid properties: gamma (ratio of specific heats) and R (gas
constant).  Initialized by BFLUID and used exclusively in subdirectory
FUNCTIONS.
COMMON /FREEST/
Freestream density, pressure, and velocity magnitude.  Set in SCAFUN,VECFUN,
used in many of the FUNCTION subroutines.
COMMON /FSUR/
Function surface associated information, such as offset of the walls and
scaling of the function axis.  Set by FSUCM1 and initialized by BFSUR.  Used
in FSU2D,FSU3D and BGN2S,BGN3S.
COMMON /FUNC/
Function number, set by FUNCM1.  Initialized by BFUNC.
COMMON /GRAAX2/
2D axis scaling and translation information.  Used in GRAFIX only.
COMMON /GRAAX3/
3D axis scaling and translation information.  Used in GRAFIX only.
COMMON /GRACLR/
Store the current (base) color.  PSHADE may change the actual display color
for light/dark shading.  Used in GRAFIX only.
COMMON /GRAINF/
Collection of information for GRAFIX interface: initial (x,y,z) viewpoint, light
source, MINMAX box center, viewing vector, and axis scale factors.  Set by
AXES2D,AXES3D.  Used in GRAFIX only.
COMMON /GRALIN/
Line style information.  Used in GRAFIX only.
COMMON /GRAMMX/
Possibly rounded MINMAX box values.  Used in GRAFIX only.
COMMON /GRAPOL/
Polygon surface properties (only transparency is used).  Used in GRAFIX only.
COMMON /GRATMP/
Temporary space to transpose (x,y,z) data for calling CTROID and NRMVEC from
POLY3.  Dimensioned 3000.  Used in GRAFIX only.
COMMON /GRAVEC/
Vector attributes.  Used in GRAFIX only.
COMMON /GRAVPT/
Initial 3D viewpoint, stored for access by various GRAFIX interface routines.
Set by VIEWPT.  Used in GRAFIX only.
COMMON /GRIDS/
Contains all information on separate grids: number of grids, dimensions, type
(1D, 2D, or 3D), permanent (real) walls (this isn't used yet), freestream Mach
number and other Q header information for each grid.  Initialized by BGRIDS.
Information is set by READX, READQ, READF, READIM, and READQH.
COMMON /IRSCLR/
Store the current (base) color.  PSHADE may change the actual display color
for light/dark shading.  Used in IRIS or IRIS2 only.
COMMON /IRSCTB/
Color table and inverse color table.  Used in IRIS or IRIS2 only.
COMMON /IRSHDW/
Z-buffer switch and near and far depth values, and backface polygon removal
switch.  Depth values are initialized in IRIS; switches are set in OPEWIX; both
are used in EXEDL.  Used in IRIS2 only.
COMMON /IRSINF/
Collection of information for IRIS interface: initial (x,y,z) viewpoint, light
source, MINMAX box center, viewing vector, axis scale factors, screen drag,
values, zoom increment, and IRIS form of current viewpoint.  Set by
AXES2D,AXES3D.  Used in IRIS or IRIS2 only.  IRIS2 has a set of information
for each graphics port.
COMMON /IRSLIN/
Line style, width, and symbol information.  Used in IRIS or IRIS2 only.
COMMON /IRSMEX/
Size and position of the graphics port.  Set by SETVPO, used for mouse control
in EXEQUE.  Used in IRIS2 only.  Has a set of information for each graphics
port.
COMMON /IRSMMX/
Possibly rounded MINMAX box values.  Used in IRIS or IRIS2 only.  IRIS2 has a
set of information for each graphics port.
COMMON /IRSMOD/
Current IRIS display mode (RGB, single or double buffered).  Used in IRIS or
IRIS2 only.
COMMON /IRSMSE/
Mouse initial and maximum values for object manipulation.  Initialized in
BIRSMS.  Manipulation is done in EXEQUE.  Used in IRIS only.
COMMON /IRSOBJ/
List of object indices.  Graphical objects are started/ended by calling
BGNOBJ,ENDOBJ, and displayed in EXEDL.  2D text objects are kept separate from
normal world space objects in IRIS2.  Initialized in BIRSOB.  Used in IRIS or
IRIS2 only.  IRIS2 has a set of information for each graphics port.
COMMON /IRSPOL/
Polygon surface properties (only transparency is used).  Used in IRIS or IRIS2
only.
COMMON /IRSSC3/
3D axis scaling information.  Needed for undoing axis scaling for shading
purposes (done in POLY3).  Used in IRIS or IRIS2 only.
COMMON /IRSTMP/
Temporary space to transpose (x,y,z) data for passing to POLF or POLF2.
Transposed data is also used when calling CTROID and NRMVEC from POLY3.
Dimensioned 3000.  Used in IRIS or IRIS2 only.
COMMON /IRSTXT/
Transformation matrix for 2D text, and conversion factor from pixels to
"inches".  (The screen is taken as 11"x8.5".)  Separated out from /IRSXFM/ in
IRIS2 (used in IRIS2 only).
COMMON /IRSVEC/
Vector attributes.  Used in IRIS or IRIS2 only.
COMMON /IRSVPT/
Initial 3D viewpoint, stored for access by various IRIS interface routines.
Set by VIEWPT.  Used in IRIS or IRIS2 only.
COMMON /IRSWIN/
Current graphics port (or window) index.  Used in IRIS2 only.
COMMON /IRSWIX/
List of graphics port IDs, associated index, relative "age" of the window, and
screen location where next port would be opened.  Used in IRIS2 only.
COMMON /IRSXFM/
Text and plot transformation information in IRIS, plot information only in
IRIS2.  Used in IRIS or IRIS2 only.  IRIS2 has a set of information for each
graphics port.
COMMON /JMPENV/
Save the subroutine call stack from a call to SETJMP (called from PLOT3D).
LONGJM can be called with this stack to return to the point of the SETJMP call.
COMMON /MINM/
Plot axis ranges, set by MINCM1.  Initialized by BMINM.
COMMON /MODE/
Indicates whether the program was started up batch or interactive, and whether
the current input and output devices are interactive or not.  (If either is
NOT interactive, input should be echoed back to the output device to get a
complete log file.)  Also indicates whether prompting is enabled or disabled.
Initialized by BMODE, set by SETMOD and SETECH (called from INITIO).
COMMON /PARARC/
Character information for /PARARG/.  Used in PARSER only.
COMMON /PARARG/
Information on arguments that have been parsed by FNDARG.  Used in PARSER only.
COMMON /PARCOM/
Character command, parsed by FNDCOM.  Used in PARSER only.
COMMON /PARIO/
Current input and output unit numbers for terminal I/O.  A zero means use "*".
Also, current journal file unit number.  A zero means NO journal file.
Initialized in BPARIO, set by INITIO.  Used in PARSER only.
COMMON /PARIOS/
Input and output unit number stacks.  Initialized in BPARIO, set by INITIO.
Current I/O devices and the stacks are controlled through
PSHINP,POPINP,RSTINP, and PSHOUT,POPOUT,RSTOUT to push, pop, or reset the
stacks.  Used in PARSER only.
COMMON /PARPRC/
Current parser prompt string (type CHARACTER, so it coudn't be stored in
/PARPRM/).  Initialized in BPARPR.  Used in PARSER only.
COMMON /PARPRM/
Current parser prompt string information (length).  Initialized in BPARPR.
Used in PARSER only.
COMMON /PARPSC/
Type CHARACTER data for parser prompt stack (the actual prompt strings!).
Used in PARSER only.
COMMON /PARPST/
Parser prompt stack.  Initialized in BPARPR; PSHPRM,POPPPRM,RSTPRM push, pop,
or reset the prompt string stack.  Used in PARSER only.
COMMON /PARQAC/
Character information for /PARQAR/.  Used in PARSER only.
COMMON /PARQAR/
Information on qualifier arguments that have been parsed by FNDQAR.  Used in
PARSER only.
COMMON /PARQUC/
Character information for /PARQUA/.  Used in PARSER only.
COMMON /PARQUA/
Information on qualifiers that have been parsed by FNDQUA.  Used in PARSER
only.
COMMON /PLTOPT/
Plot options, set by PLTCM1 and used heavily in the graphics interface.
Initialized by BPLTOP.
COMMON /RAKATT/
Rake attributes, set by RAKIJK and RAKXYZ.  Used by PAR2DA,PAR3DA.
COMMON /RAKE/
Specification of rakes for particle traces: number of rakes, whether to read
or write the traces to a file, whether the starting points are in (x,y,z) or
(i,j,k) space, how the particles should be restricted, whether the particles
should go in the plus and/or minus vector direction, maximum number of points
per trace segment, the grid numbers that the particles start in, and the
starting positions themselves.  Initialized by BRAKE, and during a READ
command by REAINI.  Set by RAKIJK and RAKXYZ, used by nD/PARTICLES routines.
COMMON /RAKEC/
Read or write particle trace file names.  Since these are type CHARACTER, they
could not be included in /RAKE/.  Set by RAKCM1, used by PART2D,PART3D.
COMMON /SCRI/
Viewpoint motion information for PLOT/SCRIPT option.  Initialized by INISCR,
modified by CTRSCR,VPTSCR,HLDSCR,GOSCR.  Used in the graphics interface (so
far only IRIS or IRIS2) only.
COMMON /SUBATT/
Subset attributes.  Set by SUBSAD, used by GRD2D,GRD3D,HOL2D,HOL3D to set grid
and hole boundary attributes, and VEC2D,VEC3D to set the vector attributes
(like line width).
COMMON /SUBS/
Subset specifications: number of subsets, number of ranges in i, j, and k, and
the sets of ranges (start, end, increment).  Initialized by BSUBS, and during
a READ command by REAINI.
COMMON /TEMP1/
Temporary storage (currently 6000 words).  Used in 2D/GRID by
GRD2L,GRD2LS,GRD2S,GRD2SS,HOL2L, in 3D/GRID by
GRD3L,GRD3LS,GRD3S,GRD3SS,HOL3L, in SHOCKS by SHK2L,SHK2LB,SHK3L,SHK3LB, and
in CONTOUR by CON2L,CON2LB,CON3L,CON3LB.
COMMON /TEMP2/
Temporary storage (currently 8000 words).  Used in 2D/PARTICLES by
PAR2D,PAR2L,PAR2LS, and in 3D/PARTICLES by PAR3D,PAR3L,PAR3LS.
COMMON /TEXT/
Additional lines of text for plot, set by TXTCM1, used in TIXPLT.  Initialized
by BTEXT.
COMMON /UNITS/
List of FORTRAN unit numbers that can be used for I/O.  A unit number can be
reserved by calling GETLUN, released by calling FRELUN.  Initialized in first
call to GETLUN.  In the Unix version, units 11-50 are put in the list.  The
COS version uses 51-90.  Used in UNIX or COS only.
COMMON /VARIAB/
Information on each variable stored in the WORK array: index into WORK, array
length, whether the variable has been read in (or computed) or not (in
memory), FORTRAN unit number (if file is open), record number in file, format
type (formatted, unformatted, or binary), and whether the data is whole or in
planes in the file.  Initialized by BVARIA.  Used in subdirectory STORAGE
only.
COMMON /VARIAC/
Type character stuff that couldn't be stored in /VARIAB/: variable name and
source file from which it was read (if it was read in).
COMMON /VECATT/
Vector attributes, set by VECCM1, used by the nD/VECTOR routines.  Initialized
by BVECAT.
COMMON /VECT/
Vector (arrow) properties and associated scalar function number, set by
VECCM1, used by the nD/VECTOR routines.  Initialized by BVECT.
COMMON /VIEWAX/
Axes to be used for a 2D plot, or a 3D function surface plot.  Set by VIECM1,
initialized by BVIEWA.  Used in quite a few places, having to do with 2D, or
3D function surface plots.
COMMON /VPNT/
3D viewpoint, set by VPTANG or VPTXYZ.  Initialized by BVPNT.
COMMON /WALATT/
Wall attributes.  Set by WALSAD, used by WAL2D,WAL3D to set wall attributes.
COMMON /WALL/
Wall specifications: number of walls, number of ranges in i, j, and k, and
the sets of ranges (start, end, increment).  Initialized by BWALL, and during
a READ command by REAINI.
COMMON /WKARRY/
Gives the maximum number of words available in the WORK array, and the next
free word.  Set by PLOT3D from information passed to it from MAIN.  After
that, used only by the STORAGE routines.
