*comdeck,d2com                                                         pft
c 
c *** Copyright ANSYS.  All Rights Reserved.
c *** ansys, inc.
c
c *** mpg d2com < AGrphPlot SurfPlotStress PGrphPlot DrawIsos: 2d plot data
c
c
      integer d2com_int,d2com_dp,d2com_char
      parameter (d2com_int=72,d2com_dp=21,d2com_char=6)
      integer
     x  iclra,iclrg,iclrt,kybell,kycmap,ltyp2d,ngrtyp,ngrsav,
     x  mver4,mver6,n2pass,npln2d,npty2d,
     x  iopn33,keycmp,keyseg,ksegsv,kbwmen,
     x  iout2d,kdbg2d,keywui,kgrout,kyim2d,kcpy2d,outl2d,dmap2d,
     x  kui2d,key_texture,kui_power,key_alt,kxmlbits,kui_legend,
     x  kui_background,d2csi2,kxmlbits2,k3thic,k3ital,k3tang,k3tsiz,
     x  k3strs,kypanl,knonui,kyplot,kuirep,kydith,kuipik,
     x  gr_pickmac,gr_keymac,gr_keygraf,kuidyn,k3tstrip,
     x  itexture,key_trans
      double precision
     x  xmin2d,xmax2d,ymin2d,ymax2d,ptrans,
     x  sscale_modal,yloclb33,yloclbsv,del_alt,d3gtrf,d2cspr,
     x  gyfreq,doldgrx
      common /d2com/
     x  xmin2d,xmax2d,ymin2d,ymax2d,ptrans,
     x  sscale_modal,yloclb33,yloclbsv,del_alt(3),d3gtrf,d2cspr(6),
     x  gyfreq(2),doldgrx,iclra,iclrg,iclrt,kybell,kycmap,ltyp2d,ngrtyp,
     x  ngrsav,mver4,mver6,n2pass,npln2d,npty2d,
     x  iopn33,keycmp,keyseg,ksegsv,kbwmen,
     x  iout2d,kdbg2d,keywui,kgrout,kyim2d,kcpy2d,outl2d,dmap2d(11),
     x  kui2d,key_texture,kui_power,key_alt(3),kxmlbits,kui_legend,
     x  kui_background,d2csi2(8),kxmlbits2,k3thic,k3ital,k3tang,k3tsiz,
     x  k3strs,kypanl,knonui,kyplot,kuirep,kydith,kuipik,
     x  gr_pickmac,gr_keymac,gr_keygraf,kuidyn,k3tstrip,
     x  itexture,key_trans
      character*8          driv2d,dr2dsv,d2cspc
      character*24         xmlenc
      character*(PARMSIZE) chD2Lab, gr_tabnam
      common /d2comc/ driv2d,dr2dsv,chD2Lab,gr_tabnam(2),xmlenc,
     x                d2cspc(3)
c
co  d2cspc(6)   - spare character*8 variables
co  d2csi2(8)   - spare integer variables
co  d2cspr(6)   - spare double precision variables
co  doldgrx     - old saved postion of graph curve x value used in d3grph
co  ptrans      - previous translucency value
co  dr2dsv      - saved character*8 current 2d driver name.
co  driv2d      - the character*8 name of the current 2d graphics driver
co  chD2Lab     - character*32 for special entity labeling
co  gr_tabnam(2)- table names used for /psf (i.e. 2 only for lines)
co  iclra       - fill color
co  iclrg       - graph color
co  iclrt       - text color
co  itexture    - current texture
co  iopn33      - file open key for file33
co  iout2d      - debug output unit number
co  kbwmen      - black/white menu key
co  kcpy2d      - hard copy key (0=no copy,1=perform hard copy after plot)
co  outl2d      - outline color  (saved)
co  dmap2d(11)  - discrete color map  (saved)
co  k3ital      - annotated text style setting
co  k3tang      - annotated text angle setting
co  k3thic      - annotated text thickness setting
co  k3tsiz      - annotated text size percentage setting
co  k3strs      - 3d contour band key (-1=def, 0=normal, 1=bands), d2inqr(41,i)
co  k3tstrip    - 3d tri-strip over-ride key (/dv3d,tris,1) - d2inqr(27,i)
co  kui2d       - ui key
co  kuipik      - ui picking highlite key
co  kuirep      - ui auto replot key
co  kuidyn      - ui dynamic manipulation type (0=new PowerGraphic edges,
co                                              1=old bounding box)
co  kui_power   - ui PowerGraphics key  (0=off, 1=on)
co                 (i.e. if 1, set /gra,power when /menu,on) DEFAULT
co  kui_legend  - ui enhanced legend key(0=off, 1=on)
co                 (i.e. if 1, set /plo,info,3 when /menu,on)
co  kui_background  - ui shaded background key(0=off, 1=on)
co                     (i.e. if 1, set /color,pbak,on when /menu,on)
co  key_alt     - key for alternate grid spacing algorithm(graph plots).
co  kdbg2d      - /debug,,,,,,,,,,key
co  key_texture - texture on/off key
co  key_trans   - translucency on/off key
co  keycmp      - /cmap capability key
co  keyseg      - /seg capability key
co  keywui      - ui filtering key
co  kgrout      - key for ascii output file - used in plt33i only.
co  knonui      - key for non-ui x11 mode
co  ksegsv      - segment save key
co  kybell      - bell over-ride key
co  kydith      - dithering key (see d3zout)
co  kycmap      - 128 contour color key
co  kyim2d      - fast immediate mode key
co                   0 = initial setting -> alpha mode
co                   1 = graph mode set in d3wstr -> set alpha mode in d3wclo
co                  -1 = force the setting of alpha mode in d3wend (usual)
co                  -2 = text size and clipping window set in d3wstr
co                        -> reset back in d3wclo - speeds up non-ui mode
co  kypanl      - non-ui panel key (0=status only, 1=graphical panel)
co  kyplot      - current immediate mode plot type key
co                   1=node, 2=elem, 3=kp, 4=line, 5=area, 6=volume
co  ltyp2d      - line style key
co  n2pass      - key for number of times channel is opened
co  ngrtyp      - 1,file33  2,tek  3,xx  4,yy   5,zz
co  ngrsav      - saved ngrtyp - used for closing down old interface
co  npln2d      - number of color planes
co  npty2d      - performed plot key
co  mver4       - /verify key
co  mver6       - /mverif key -> 1 = read file,  2 = read  file open
co                                              -1 = write file open
co  xmin2d      - current clipping window "x" minimum
co  xmax2d      - current clipping window "x" maximum
co  ymin2d      - current clipping window "y" minimum
co  ymax2d      - current clipping window "y" maximum
co  gr_pickmac  - /pmac key which allows writing macro-input file contents
co                 to the log file.
co  gr_keymac   - /pmac key error message key
co  gr_keygraf  - grid display key (0=normal display, 1=graph display)
co                 - used to identify if a graph display was called
co                   without setting it by command name.
co  sscale_modal - stress scaling used for modal animation
co  yloclb33     - docu column height for graph file - used for /noerase
co  yloclbsv     - docu column height for non-graph file - used for /noerase
co  del_alt      - delta for alternate grid spacing algorithm(graph plots).
co  d3gtrf       - reference temperature used in d3grid.F for select MPPLOTs.
co  kxmlbits     - xml option bits for output during /xml command
co  kxmlbits2    - xml option bits for output during /xml command
co  gyfreq(2)	 - ordinate values (xylim(1,2) and xylim(2,2)) of Campbell plot	
c
