*comdeck,bolcmd                                                              yt
c 
c *** Copyright ANSYS.  All Rights Reserved.
c *** ansys, inc.
c
c
c *** author/date: yu-hua ting/11-16-93
c
c *** primary function:
c
c     (double precision real) common for boolean operations
c
c     the twin is of this common block is 'BOLCMI'
c
c     (other ansys/shapes interface c-routine-related
c     global variables used by boolean operations are
c     stored in the common block 'STKCOM')
c
      integer nd_bolcmd
      parameter (nd_bolcmd=200)
      double precision
     x         xscall,xscalu,xmcent,xmcdst,xmsize,
     x         xmszmx,xmpdst,xxtran,xxscal,
     x         xtolpt,xprosz,xtolap,xtolkt,xtolag,
     x         tolmem,ddmemo,ttmemo,ppmemo,
     x         toltim,ddtime,tttime,pptime,
     x         dprosz,dtolap,dtolpt,dtolkt,dtolag,
     x         tlscev,dscall,dscalu,dxtran,dxscal,
     x         tratio,dratio,xlenmx,xlenmn,
     x         pcentl,xdirll,ydirll,zdirll,pimgtol,
     x         xtolptsv,xwpfloor,bdspr
c
      common  /bolcmd/
     x         xscall,xscalu,xmcent(3),xmcdst,xmsize(3),
     x         xmszmx,xmpdst,xxtran(3),xxscal,
     x         xtolpt,xprosz,xtolap,xtolkt,xtolag,
     x         tolmem,ddmemo(20),ttmemo(20),ppmemo(20),
     x         toltim,ddtime(20),tttime(20),pptime(20),
     x         dprosz,dtolap,dtolpt,dtolkt,dtolag,
     x         tlscev,dscall,dscalu,dxtran(3),dxscal,
     x         tratio,dratio,xlenmx,xlenmn,
     x         pcentl(3),xdirll(3),ydirll(3),zdirll(3),
     x         pimgtol,xtolptsv,xwpfloor,bdspr(27)
c
c  *** number of double precisions in this common block == 200
c  *** number of integers          in this common block == 40
c  ***
c  *** important !
c
c      if the above numbers 120 and 40 are changed
c      then the numbers should be updated also in the routines
c
c      "ansres", "anssav"
c
c  *** timing parameters used to measure the timing of boolean
c  *** operations
c
c  xscall - scaling lower limit
c  xscalu - scaling upper limit
c
c  xmcent - xyz-coordinates of the center of the ansys
c           geometries for a boolean operation
c  xmcdst - distance between the center of the ansys
c           geometries and the origin (0,0,0)
c  xmsize - sizes of the ansys geometries along the
c           xyz-directions for a boolean operation
c  xmszmx - maximum size along the xyz-directions
c  xmpdst - minimum of the distances of the keypoints
c           of the ansys geometries for a boolean operation
c  xxtran - 3-d translation vector (derived from xmcent,
c           and xmsize) used to scale the ansys geometries
c           for a boolean operation
c  xxscal - scale factor (derived from xmcent, and xmsize)
c           used to scale the ansys geometries for a
c           boolean operation
c
c  *** tolerance parameters used inside the ansys/shapes boolean
c  *** operations
c
c  xtolpt - point tolerance used inside shapes
c           (shapes default xtolpt = 1.0d-9)
c  xprosz - problem size of the input geometries for boolean operations
c           (shapes default xprosz = 1.0d0)
c  xtolap - approximation tolerance used inside shapes to approximate
c           the new intersection curves c nverted from shapes to ansys
c           (shapes default xtolap = 1.0d-6)
c  xtolkt - knot tolerance used inside shapes (not used currently)
c           (shapes default xtolkt = 0.0d0)
c  xtolag - angular tolerance used inside shapes (not used currently)
c           (shapes default unknown)
c
c  *** default tolerance parameters
c
c  dprosz - problem size of the input geometries for boolean operations
c  dtolap - approximation tolerance used inside shapes to approximate
c           the new intersection curves c nverted from shapes to ansys
c  dtolpt - point tolerance used inside shapes
c  dtolkt - knot tolerance used inside shapes (not used currently)
c  dtolag - angular tolerance used inside shapes (not used currently)
c
c  tolmem - total memory spent for a boolean operation operation
c  ddmemo - memory counters for the sub_operations
c  ttmemo - memory usages for the sub_operations
c  ppmemo - % of memory usages for the sub_operations
c
c  toltim - total time spent for a boolean operationthe operation
c  ddtime - timing counters for the sub_operations
c  tttime - time spent for the sub_operations
c  pptime - % of time spent for the sub_operations
c
c  tlscev - tolerance used to compare "scev" and "scevv"
c
c  dscall - default setting for xscall
c  dscalu - default setting for xscall
c  dxtran - default setting for xscall
c  dxscal - default setting for xscall
c
c  tratio - tolerance ratio used to detect the relatively
c           tiny lines
c
c           >= 0 - detect the lines which have lengths
c                  < tratio*xmxlen
c
c           <  0 - detect the lines which have lengths
c                  < abs(tratio)
c
c  ratio  - default for tratio
c
c  xlenmx - current maximum length of lines of the new
c           output entities from a boolean operation
c
c  xlenmn - current minimum length of new intersection
c           lines of the new output entities from a
c           boolean operation
c  pcentl - xyz-components of the center of the local
c           coordinate system with respect to the global
c           cartesian coordinate system
c  xdirll - xyz-components of the x-directional vector
c           of the local coordinate system with respect
c           to the global cartesian coordinate system
c  ydirll - xyz-components of the y-directional vector
c           of the local coordinate system with respect
c           to the global cartesian coordinate system
c  zdirll - xyz-components of the z-directional vector
c           of the local coordinate system with respect
c           to the global cartesian coordinate system
c
c  pimgtol - upper limit for pre image tolerance (default = 2.0)
c
c  xtolptsv - location to save xtolpt before each boolean to allow restore of old xtolpt after boolean
c
c  xwpfloor - working plane length , width floor 
c             0.0 = floor of 1.0 
c            !0.0 = scale to model using as  multiplier
c
c  bdspr, bispr  - not used
c
