*comdeck,surcmx                                                         avm

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

      integer surlng,surilg,sustat,dessur,dessup
      parameter (surlng=8,surilg=16)
      common /surcmx/ sustat(5),dessur(14),dessup(14,surlng)
c
co surint(12)     the integer description of most recently
c                 ref surface
c     record structure for surface data
c                  1, type of surface
c                     = 0 - hermite
c                     = 1 - rational b-spline.
c                     = 2 - ruled surface.
c                     = 3 - surface of revoulution.
c                     = 4 - tabulated cylinder.
c                     = 5 - planar surface.
c                     = 6 - offset surface.
c                  2, number of control points in u-dir
c                  3, number of control points in v-dir
c                  4, form number.
c                     = 0 - b-spline
c                     = 1 - plane
c                     = 2 - right circular cone
c                     = 3 - cone
c                     = 4 - sphere
c                     = 5 - torus
c                     = 6 - surface of revolution
c                     = 7 - tabulate cylinder surface
c                     = 8 - ruled surface
c                     = 9 - general quadratic surface
c                     = 10 - planar, circular capping surface
c                     = 11 - planar, quadrilateral surface
c                  5, definition coordinate system.
c                  6,
c                  7,
c                  8,
c                  9, dimension md
c                     = 3 - poloynomial in 3d space.
c                     = 4 - rational in 3d space.
c                 10,
c                 11, number of knots in u-dir
c                 12, number of knots in v-dir
c                 13, basis order of surface in u-dir
c                 14, basis order of surface in v-dir
c                 15,
c                 16, packed flag information.
c                     bit 1 - 0 = u-nonperodic
c                             1 = u-perodic
c                     bit 2 - 0 = v-nonperodic
c                             1 = v-perodic
c                     bit 3 - 0 = u,v-rational
c                             1 = u,v-polynomial
c                     bit 4 - 0 = u-open curve
c                             1 = u-closed curve
c                     bit 5 - 0 = v-open curve
c                             1 = v-closed curve
c                     bit 6 - 0 = minmax box doesn'T EXIST
c                             1 = minmax box exist
c                     bit 7 - 0 = not in piecewise bez form in u-dir
c                             1 = piecewise bez form u-dir
c                     bit 8 - 0 = not in piecewise bez form in v-dir
c                             1 = piecewise bez form v-dir
c     record structure for surface
c                  1, pointer to surface data file
c                  2,
c                  3,
c                  4,
c                  5,
c                  6, pointer to parameter data
c                  7, pointer to attached subareas
c                  8, pointer to graphical data
c
