 $GLOBAL
   PROJECT = .T.,
   ORPHFIX = .T.,
   LEVEL2  = .T.,
   FRINGE  = 2,
   OFFSET  = 1,
   DISTANCE = 50,
   CNX = 1024,
   CNY = 1024,
   CNZ = 1024,
   $END

 $MESH NAME =  'body', $END

 $MESH NAME =  'nosecap', $END

 $MESH NAME =  'tailcap', $END

 $MESH NAME =  'slat_collar', $END

 $MESH NAME =  'slat', $END

 $MESH NAME =  'slat_tipcap1', $END

 $MESH NAME =  'slat_tipcap2', $END

 $MESH NAME =  'slat_tecap1', 
     OFFSET =  2,
     $END

 $MESH NAME =  'slat_tecap2', $END

 $MESH NAME =  'slat_tecap3', $END

 $MESH NAME =  'wing_collar', $END

 $MESH NAME =  'wing', $END

 $MESH NAME =  'wing_tipcap1', $END

 $MESH NAME =  'wing_tipcap2', $END

 $MESH NAME =  'wing_tipcap3', $END

 $MESH NAME =  'wing_tipcap4', $END

 $MESH NAME =  'wing_tipcap5', $END

 $MESH NAME =  'wing_tipcap6', $END

 $MESH NAME =  'wing_tecap1', $END

 $MESH NAME =  'wing_tecap2', $END

 $MESH NAME =  'wing_tecap3', $END

 $MESH NAME =  'flap_collar', $END

 $MESH NAME =  'flap', $END

 $MESH NAME =  'flap_tipcap1', $END

 $MESH NAME =  'flap_tipcap2', $END

 $MESH NAME =  'flap_tecap1', $END

 $MESH NAME =  'flap_tecap2', $END

 $MESH NAME =  'flap_tecap3', $END

 $MESH NAME =  'slat_wake_box', $END

 $MESH NAME =  'wing_wake_box', $END

 $MESH NAME =  'mid_box', $END

 $MESH NAME =  'outer_box' $END

 $MESH NAME =  'flap_cove_box_lwr', $END

 $MESH NAME =  'flap_cove_box_upr' $END

 $BCINP ISPARTOF = 'body', 
    IBTYP =     5,   17,   17,
    IBDIR =     3,    2,   -2,
    JBCS  =     1,    1,    1,
    JBCE  =    -1,   -1,   -1,
    KBCS  =     1,    1,   -1,
    KBCE  =    -1,    1,   -1,
    LBCS  =     1,    1,    1,
    LBCE  =     1,   -1,   -1,
    YSYM  = 1,
    $END

 $BCINP ISPARTOF = 'nosecap', 
    IBTYP =     5,   17,
    IBDIR =     3,    2,
    JBCS  =     1,    1,
    JBCE  =    -1,   -1,
    KBCS  =     1,    1,
    KBCE  =    -1,    1,
    LBCS  =     1,    1,
    LBCE  =     1,   -1,
    YSYM  = 1,
    $END

 $BCINP ISPARTOF = 'tailcap',
    IBTYP =     5,   17,
    IBDIR =     3,   -1,
    JBCS  =     1,   -1,
    JBCE  =    -1,   -1,
    KBCS  =     1,    1,
    KBCE  =    -1,   -1,
    LBCS  =     1,    1,
    LBCE  =     1,   -1,
    YSYM  = 1,
    $END

 $BCINP ISPARTOF = 'slat_collar', 
    IBTYP =     5,    5,   51,   
    IBDIR =     3,    3,    3,   
    JBCS  =     1,   55,    1,   
    JBCE  =    -1,  -55,   54,   
    KBCS  =     1,   37,   37,   
    KBCE  =    37,   -1,   -1,   
    LBCS  =     1,    1,    1,   
    LBCE  =     1,    1,    1,   
    $END

 $BCINP ISPARTOF = 'slat', 
    IBTYP =     5,   51,   
    IBDIR =     3,    3,   
    JBCS  =    55,    1,   
    JBCE  =   -55,   54,   
    KBCS  =     1,    1,   
    KBCE  =    -1,   -1,   
    LBCS  =     1,    1,   
    LBCE  =     1,    1,   
    $END

 $BCINP ISPARTOF = 'slat_tipcap1', 
    IBTYP =     5,   52,
    IBDIR =     3,    3,
    JBCS  =     1,  146,
    JBCE  =   145,   -1,
    KBCS  =     1,    1,
    KBCE  =    -1,   73,
    LBCS  =     1,    1,
    LBCE  =     1,    1,
    $END

 $BCINP ISPARTOF = 'slat_tipcap2', 
    IBTYP =     5,
    IBDIR =     3,
    JBCS  =     1,
    JBCE  =    -1,
    KBCS  =     1,
    KBCE  =    -1,
    LBCS  =     1,
    LBCE  =     1,
    $END

 $BCINP ISPARTOF = 'slat_tecap1',
    IBTYP =     5,
    IBDIR =     3,
    JBCS  =     1,
    JBCE  =    -1,
    KBCS  =     1,
    KBCE  =    -1,
    LBCS  =     1,
    LBCE  =     1,
    $END

 $BCINP ISPARTOF = 'slat_tecap2',
    IBTYP =     5,
    IBDIR =     3,
    JBCS  =     1,
    JBCE  =    -1,
    KBCS  =     1,
    KBCE  =    -1,
    LBCS  =     1,
    LBCE  =     1,
    $END

 $BCINP ISPARTOF = 'slat_tecap3',
    IBTYP =     5,
    IBDIR =     3,
    JBCS  =     1,
    JBCE  =    -1,
    KBCS  =     1,
    KBCE  =    -1,
    LBCS  =     1,
    LBCE  =     1,
    $END

 $BCINP ISPARTOF = 'wing_collar',
    IBTYP =     5,    5,   51,
    IBDIR =     3,    3,    3,
    JBCS  =     1,   73,    1,
    JBCE  =    -1,  -73,   72,
    KBCS  =     1,   37,   37,
    KBCE  =    37,   -1,   -1,
    LBCS  =     1,    1,    1,
    LBCE  =     1,    1,    1,
    $END

 $BCINP ISPARTOF = 'wing',
    IBTYP =     5,   51,
    IBDIR =     3,    3,
    JBCS  =    73,    1,
    JBCE  =   -73,   72,
    KBCS  =     1,    1,
    KBCE  =    -1,   -1,
    LBCS  =     1,    1,
    LBCE  =     1,    1,
    $END

 $BCINP ISPARTOF = 'wing_tipcap1',
    IBTYP =     5,   52,
    IBDIR =     3,    3,
    JBCS  =     1,   74,
    JBCE  =    73,   -1,
    KBCS  =     1,    1,
    KBCE  =    -1,   73,
    LBCS  =     1,    1,
    LBCE  =     1,    1,
    $END

 $BCINP ISPARTOF = 'wing_tipcap2',
    IBTYP =     5,
    IBDIR =     3,
    JBCS  =     1,
    JBCE  =    -1,
    KBCS  =     1,
    KBCE  =    -1,
    LBCS  =     1,
    LBCE  =     1,
    $END

 $BCINP ISPARTOF = 'wing_tipcap3',
    IBTYP =     5,
    IBDIR =     3,
    JBCS  =     1,
    JBCE  =    -1,
    KBCS  =     1,
    KBCE  =    -1,
    LBCS  =     1,
    LBCE  =     1,
    $END

 $BCINP ISPARTOF = 'wing_tipcap4',
    IBTYP =     5,
    IBDIR =     3,
    JBCS  =     1,
    JBCE  =    -1,
    KBCS  =     1,
    KBCE  =    -1,
    LBCS  =     1,
    LBCE  =     1,
    $END

 $BCINP ISPARTOF = 'wing_tipcap5',
    IBTYP =     5,
    IBDIR =     3,
    JBCS  =     1,
    JBCE  =    -1,
    KBCS  =     1,
    KBCE  =    -1,
    LBCS  =     1,
    LBCE  =     1,
    $END

 $BCINP ISPARTOF = 'wing_tipcap6',
    IBTYP =     5,
    IBDIR =     3,
    JBCS  =     1,
    JBCE  =    -1,
    KBCS  =     1,
    KBCE  =    -1,
    LBCS  =     1,
    LBCE  =     1,
    $END

 $BCINP ISPARTOF = 'wing_tecap1',
    IBTYP =     5,
    IBDIR =     3,
    JBCS  =     1,
    JBCE  =    -1,
    KBCS  =     1,
    KBCE  =    -1,
    LBCS  =     1,
    LBCE  =     1,
    $END

 $BCINP ISPARTOF = 'wing_tecap2',
    IBTYP =     5,
    IBDIR =     3,
    JBCS  =     1,
    JBCE  =    -1,
    KBCS  =     1,
    KBCE  =    -1,
    LBCS  =     1,
    LBCE  =     1,
    $END

 $BCINP ISPARTOF = 'wing_tecap3',
    IBTYP =     5,
    IBDIR =     3,
    JBCS  =     1,
    JBCE  =    -1,
    KBCS  =     1,
    KBCE  =    -1,
    LBCS  =     1,
    LBCE  =     1,
    $END

 $BCINP ISPARTOF = 'flap_collar',
    IBTYP =     5,    5,   51,
    IBDIR =     3,    3,    3,
    JBCS  =     1,   73,    1,
    JBCE  =    -1,  -73,   72,
    KBCS  =     1,   37,   37,
    KBCE  =    37,   -1,   -1,
    LBCS  =     1,    1,    1,
    LBCE  =     1,    1,    1,
    $END

 $BCINP ISPARTOF = 'flap',
    IBTYP =     5,   51,
    IBDIR =     3,    3,
    JBCS  =    73,    1,
    JBCE  =   -73,   72,
    KBCS  =     1,    1,
    KBCE  =    -1,   -1,
    LBCS  =     1,    1,
    LBCE  =     1,    1,
    $END

 $BCINP ISPARTOF = 'flap_tipcap1',
    IBTYP =     5,   52,
    IBDIR =     3,    3,
    JBCS  =     1,  146,
    JBCE  =   145,   -1,
    KBCS  =     1,    1,
    KBCE  =    -1,   73,
    LBCS  =     1,    1,
    LBCE  =     1,    1,
    $END

 $BCINP ISPARTOF = 'flap_tipcap2',
    IBTYP =     5,
    IBDIR =     3,
    JBCS  =     1,
    JBCE  =    -1,
    KBCS  =     1,
    KBCE  =    -1,
    LBCS  =     1,
    LBCE  =     1,
    $END

 $BCINP ISPARTOF = 'flap_tecap1',
    IBTYP =     5,
    IBDIR =     3,
    JBCS  =     1,
    JBCE  =    -1,
    KBCS  =     1,
    KBCE  =    -1,
    LBCS  =     1,
    LBCE  =     1,
    $END

 $BCINP ISPARTOF = 'flap_tecap2',
    IBTYP =     5,
    IBDIR =     3,
    JBCS  =     1,
    JBCE  =    -1,
    KBCS  =     1,
    KBCE  =    -1,
    LBCS  =     1,
    LBCE  =     1,
    $END

 $BCINP ISPARTOF = 'flap_tecap3',
    IBTYP =     5,
    IBDIR =     3,
    JBCS  =     1,
    JBCE  =    -1,
    KBCS  =     1,
    KBCE  =    -1,
    LBCS  =     1,
    LBCE  =     1,
    $END

 $BCINP ISPARTOF = 'slat_wake_box', $END

 $BCINP ISPARTOF = 'wing_wake_box', $END

 $BCINP ISPARTOF = 'mid_box',
    IBTYP =    17,
    IBDIR =     2,
    JBCS  =     1,
    JBCE  =    -1,
    KBCS  =     1,
    KBCE  =     1,
    LBCS  =     1,
    LBCE  =    -1,
    YSYM  = 1,
    $END

 $BCINP ISPARTOF = 'outer_box' 
    IBTYP =    40,   31,   40,   17,   40,   40,
    IBDIR =     1,   -1,   -2,    2,    3,   -3,
    JBCS  =     1,   -1,    1,    1,    1,    1,
    JBCE  =     1,   -1,   -1,   -1,   -1,   -1,
    KBCS  =     1,    1,   -1,    1,    1,    1,
    KBCE  =    -1,   -1,   -1,    1,   -1,   -1,
    LBCS  =     1,    1,    1,    1,    1,   -1,
    LBCE  =    -1,   -1,   -1,   -1,    1,   -1,
    YSYM  = 1,
    $END

 $BCINP ISPARTOF = 'flap_cove_box_lwr',
    IBTYP =     5,
    IBDIR =     3,
    JBCS  =     1,
    JBCE  =    37,
    KBCS  =     1,
    KBCE  =    -1,
    LBCS  =     1,
    LBCE  =     1,
    $END

 $BCINP ISPARTOF = 'flap_cove_box_upr', $END

C
C  Use HCUT option since there's more grid points inside surfs
C
 $HCUT NAME = 'main1',
    MEMBER =  'body', 'nosecap', 'tailcap',
              'slat_collar', 'slat', 'slat_tipcap1',
              'slat_tipcap2', 'slat_tecap1', 'slat_tecap2',
              'slat_tecap3', 'wing_collar', 'wing',
              'wing_tipcap1', 'wing_tipcap2', 'wing_tipcap3',
              'wing_tipcap4', 'wing_tipcap5', 'wing_tipcap6',
              'wing_tecap1', 'wing_tecap2', 'wing_tecap3',
              'flap_collar', 'flap', 'flap_tipcap1',
              'flap_tipcap2', 'flap_tecap1', 'flap_tecap2',
              'flap_tecap3', 'flap_cove_box_lwr',         
    CNX = 1024,
    CNY = 1024,
    CNZ = 1024,
    CARTX =  -20.,   45.,
    CARTY =    0.,   44.,
    CARTZ =  -15.,   15.,
 $END

 $HCUT NAME = 'main2',
    MEMBER =  'body', 'nosecap', 'tailcap',
              'slat_collar', 'slat', 'slat_tipcap1',
              'slat_tipcap2', 'slat_tecap1', 'slat_tecap2',
              'slat_tecap3', 'wing_collar', 'wing',
              'wing_tipcap1', 'wing_tipcap2', 'wing_tipcap3',
              'wing_tipcap4', 'wing_tipcap5', 'wing_tipcap6',
              'wing_tecap1', 'wing_tecap2', 'wing_tecap3',
              'flap_collar', 'flap', 'flap_tipcap1',
              'flap_tipcap2', 'flap_tecap1', 'flap_tecap2',
              'flap_tecap3', 'flap_cove_box_lwr',
    CNX = 1024,
    CNY = 1024,
    CNZ = 1024,
    CARTX =   45.,  105.,
    CARTY =    0.,   44.,
    CARTZ =  -15.,   15.,
 $END

 $HCUT NAME = 'main3',
    MEMBER =  'body', 'nosecap', 'tailcap',
              'slat_collar', 'slat', 'slat_tipcap1',
              'slat_tipcap2', 'slat_tecap1', 'slat_tecap2',
              'slat_tecap3', 'wing_collar', 'wing',
              'wing_tipcap1', 'wing_tipcap2', 'wing_tipcap3',
              'wing_tipcap4', 'wing_tipcap5', 'wing_tipcap6',
              'wing_tecap1', 'wing_tecap2', 'wing_tecap3',
              'flap_collar', 'flap', 'flap_tipcap1',
              'flap_tipcap2', 'flap_tecap1', 'flap_tecap2',
              'flap_tecap3', 'flap_cove_box_lwr',
    CNX = 1024,
    CNY = 1024,
    CNZ = 1024,
    CARTX =  -20.,   45.,
    CARTY =   44.,   88.,
    CARTZ =  -15.,   15.,
 $END

 $HCUT NAME = 'main4',
    MEMBER =  'body', 'nosecap', 'tailcap',
              'slat_collar', 'slat', 'slat_tipcap1',
              'slat_tipcap2', 'slat_tecap1', 'slat_tecap2',
              'slat_tecap3', 'wing_collar', 'wing',
              'wing_tipcap1', 'wing_tipcap2', 'wing_tipcap3',
              'wing_tipcap4', 'wing_tipcap5', 'wing_tipcap6',
              'wing_tecap1', 'wing_tecap2', 'wing_tecap3',
              'flap_collar', 'flap', 'flap_tipcap1',
              'flap_tipcap2', 'flap_tecap1', 'flap_tecap2',
              'flap_tecap3', 'flap_cove_box_lwr',
    CNX = 1024,
    CNY = 1024,
    CNZ = 1024,
    CARTX =   45.,  105.,
    CARTY =   44.,   88.,
    CARTZ =  -15.,   15.,
 $END
C
C  Index cutter in body.
C
    $REGION NAME = 'Index cutter in body',
           ISPARTOF = 'body',
                       $END

      $VOLUME ISPARTOF = 'Index cutter in body',
           JRANGE =  65,  66,
           KRANGE =  73,  75,
           LRANGE =   1,  48,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in body',
           JRANGE = 150, 150,
           KRANGE =  97,  97,
           LRANGE =   1,  49,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in body',
           JRANGE =   1,   1,
           KRANGE =   2,   3,
           LRANGE =  91,  97,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in body',
           JRANGE =   1,   1,
           KRANGE = 143, 145,
           LRANGE =  91,  97,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in body',
           JRANGE =  -1,  -1,
           KRANGE =   2,   2,
           LRANGE =  91,  97,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in body',
           JRANGE =  -1,  -1,
           KRANGE = 143, 145,
           LRANGE =  91,  97,
                      $END
C
C  Index cutter in slat_collar.
C
    $REGION NAME = 'Index cutter in slat_collar',
           ISPARTOF = 'slat_collar',
                       $END

      $VOLUME ISPARTOF = 'Index cutter in slat_collar',
           JRANGE =  55,  70,
           KRANGE =  37,  -1,
           LRANGE =   1,  34,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in slat_collar',
           JRANGE = -74, -55,
           KRANGE =  37,  -1,
           LRANGE =   1,  34,
                      $END
C
C  Unblanking slat_collar.
C
    $REGION NAME = 'Unblank slat_collar',
           ISPARTOF = 'slat_collar',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank slat_collar',
           JRANGE =  71, -75,
           KRANGE =  60,  -1,
           LRANGE =   1,   3,
                      $END
C
C  Index cutter in slat.
C
    $REGION NAME = 'Index cutter in slat',
           ISPARTOF = 'slat',
                       $END

      $VOLUME ISPARTOF = 'Index cutter in slat',
           JRANGE =  55,  70,
           KRANGE =   1,  -1,
           LRANGE =   1,  34,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in slat',
           JRANGE = -74, -55,
           KRANGE =   1,  -1,
           LRANGE =   1,  34,
                      $END
C
C  Unblanking slat.
C
    $REGION NAME = 'Unblank slat',
           ISPARTOF = 'slat',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank slat',
           JRANGE =  71, -75,
           KRANGE =   1,  12,
           LRANGE =   1,   3,
                      $END
C
C  Index cutter in slat_tipcap1.
C
    $REGION NAME = 'Index cutter in slat_tipcap1',
           ISPARTOF = 'slat_tipcap1',
                       $END

      $VOLUME ISPARTOF = 'Index cutter in slat_tipcap1',
           JRANGE = 135, 145,
           KRANGE =   1,  -1,
           LRANGE =   1,  34,
                      $END
C
C  Unblanking slat_tecap1.
C
    $REGION NAME = 'Unblank slat_tecap1',
           ISPARTOF = 'slat_tecap1',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank slat_tecap1',
           JRANGE =   1,  -1,
           KRANGE =  37,  -1,
           LRANGE =   1,   3,
                      $END
C
C  Unblanking slat_tecap2.
C
    $REGION NAME = 'Unblank slat_tecap2',
           ISPARTOF = 'slat_tecap2',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank slat_tecap2',
           JRANGE =   1,  -1,
           KRANGE =   1,  -1,
           LRANGE =   1,   3,
                      $END
C
C  Unblanking slat_tecap3.
C
    $REGION NAME = 'Unblank slat_tecap3',
           ISPARTOF = 'slat_tecap3',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank slat_tecap3',
           JRANGE =   1,  -1,
           KRANGE =   1,  -1,
           LRANGE =   1,   3,
                      $END
C
C  Index cutter in wing_collar.
C
    $REGION NAME = 'Index cutter in wing_collar',
           ISPARTOF = 'wing_collar',
                       $END

      $VOLUME ISPARTOF = 'Index cutter in wing_collar',
           JRANGE =  73,  89,
           KRANGE =  37,  -1,
           LRANGE =   1,  34,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in wing_collar',
           JRANGE = -91, -73,
           KRANGE =  37,  -1,
           LRANGE =   1,  34,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in wing_collar',
           JRANGE = 329, 336,
           KRANGE =  21,  24,
           LRANGE =   1,  33,
                      $END

C ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C  This cutter creates a hole where the flap_cove_box grids should take over.
C ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      $VOLUME ISPARTOF = 'Index cutter in wing_collar',
           JRANGE = 167, 190,
           KRANGE =  41,  -1,
           LRANGE =  46,  58,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in wing_collar',
           JRANGE = 101, 166,
           KRANGE =  41,  -1,
           LRANGE =  58,  58,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in wing_collar',
           JRANGE =  67, 100,
           KRANGE =  41,  -1,
           LRANGE =  47,  58,
                      $END
C
C  Unblanking wing_collar.
C
    $REGION NAME = 'Unblank wing_collar',
           ISPARTOF = 'wing_collar',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank wing_collar',
           JRANGE =  90, -92,
           KRANGE =  62,  -1,
           LRANGE =   1,   3,
                      $END
C
C  Index cutter in wing.
C
    $REGION NAME = 'Index cutter in wing',
           ISPARTOF = 'wing',
                       $END

      $VOLUME ISPARTOF = 'Index cutter in wing',
           JRANGE =  73,  89,
           KRANGE =   1,  -1,
           LRANGE =   1,  34,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in wing',
           JRANGE = -91, -73,
           KRANGE =   1,  -1,
           LRANGE =   1,  34,
                      $END

C ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C  This cutter creates a hole where the slat_wake_box grid should take-over.
C ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      $VOLUME ISPARTOF = 'Index cutter in wing',
           JRANGE = 316, 517,
           KRANGE =   1,  -1,
           LRANGE =  49,  73,
                      $END

C ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C  This cutter creates a hole where the flap_cove_box grids should take over.
C ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      $VOLUME ISPARTOF = 'Index cutter in wing',
           JRANGE = 170, 191,
           KRANGE =   1,  73,
           LRANGE =  46,  67,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in wing',
           JRANGE = 100, 169,
           KRANGE =   1,  73,
           LRANGE =  64,  67,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in wing',
           JRANGE = 100,  98,
           KRANGE =   1,  73,
           LRANGE =  44,  67,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in wing',
           JRANGE = 170, 191,
           KRANGE =  74, -10,
           LRANGE =  46,  67,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in wing',
           JRANGE = 100, 169,
           KRANGE =  74, -10,
           LRANGE =  59,  67,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in wing',
           JRANGE =  67,  98,
           KRANGE =  74, -10,
           LRANGE =  44,  67,
                      $END
C
C  Unblanking wing.
C
    $REGION NAME = 'Unblank wing',
           ISPARTOF = 'wing',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank wing',
           JRANGE =  90, -92,
           KRANGE =   1,  12,
           LRANGE =   1,   3,
                      $END
C
C  Index cutter in wing_tipcap1.
C
    $REGION NAME = 'Index cutter in wing_tipcap1',
           ISPARTOF = 'wing_tipcap1',
                       $END

      $VOLUME ISPARTOF = 'Index cutter in wing_tipcap1',
           JRANGE =  63,  73,
           KRANGE =   1,  -1,
           LRANGE =   1,  34,
                      $END
C
C  Unblanking wing_tecap1.
C
    $REGION NAME = 'Unblank wing_tecap1',
           ISPARTOF = 'wing_tecap1',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank wing_tecap1',
           JRANGE =   1,  -1,
           KRANGE =  37,  -1,
           LRANGE =   1,   3,
                      $END
C
C  Unblanking wing_tecap2.
C
    $REGION NAME = 'Unblank wing_tecap2',
           ISPARTOF = 'wing_tecap2',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank wing_tecap2',
           JRANGE =   1,  -1,
           KRANGE =   1,  -1,
           LRANGE =   1,   3,
                      $END
C
C  Unblanking wing_tecap3.
C
    $REGION NAME = 'Unblank wing_tecap3',
           ISPARTOF = 'wing_tecap3',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank wing_tecap3',
           JRANGE =   1,  -1,
           KRANGE =   1,  -1,
           LRANGE =   1,   3,
                      $END
C
C  Index cutter in flap_collar.
C
    $REGION NAME = 'Index cutter in flap_collar',
           ISPARTOF = 'flap_collar',
                       $END

      $VOLUME ISPARTOF = 'Index cutter in flap_collar',
           JRANGE =  73,  94,
           KRANGE =  37,  -1,
           LRANGE =   1,  25,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in flap_collar',
           JRANGE = -94, -73,
           KRANGE =  37,  -1,
           LRANGE =   1,  25,
                      $END
C
C  Unblanking flap_collar. 
C
    $REGION NAME = 'Unblank flap_collar',
           ISPARTOF = 'flap_collar',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank flap_collar',
           JRANGE =  95, -95,
           KRANGE =  62,  -1,
           LRANGE =   1,   3,
                      $END
C
C  Index cutter in flap.
C
    $REGION NAME = 'Index cutter in flap',
           ISPARTOF = 'flap',
                       $END

      $VOLUME ISPARTOF = 'Index cutter in flap',
           JRANGE =  73,  94,
           KRANGE =   1,  -1,
           LRANGE =   1,  34,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in flap',
           JRANGE = -94, -73,
           KRANGE =   1,  -1,
           LRANGE =   1,  34,
                      $END

C ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C  This cutter creates a hole where the wing_wake_box grid should take-over.
C ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      $VOLUME ISPARTOF = 'Index cutter in flap',
           JRANGE = 225, 354,
           KRANGE =   1,  -1,
           LRANGE =  48,  75,
                      $END
C
C  Unblanking flap.
C
    $REGION NAME = 'Unblank flap',
           ISPARTOF = 'flap',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank flap',
           JRANGE =  95, -95,
           KRANGE =   1,  13,
           LRANGE =   1,   3,
                      $END
C
C  Index cutter in flap_tipcap1.
C
    $REGION NAME = 'Index cutter in flap_tipcap1',
           ISPARTOF = 'flap_tipcap1',
                       $END

      $VOLUME ISPARTOF = 'Index cutter in flap_tipcap1',
           JRANGE = 135, 145,
           KRANGE =   1,  -1,
           LRANGE =   1,  34,
                      $END
C
C  Unblanking flap_tecap1.
C
    $REGION NAME = 'Unblank flap_tecap1',
           ISPARTOF = 'flap_tecap1',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank flap_tecap1',
           JRANGE =   1,  -1,
           KRANGE =  37,  -1,
           LRANGE =   1,   3,
                      $END
C
C  Unblanking flap_tecap2.
C
    $REGION NAME = 'Unblank flap_tecap2',
           ISPARTOF = 'flap_tecap2',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank flap_tecap2',
           JRANGE =   1,  -1,
           KRANGE =   1,  -1,
           LRANGE =   1,   3,
                      $END
C
C  Unblanking flap_tecap3.
C
    $REGION NAME = 'Unblank flap_tecap3',
           ISPARTOF = 'flap_tecap3',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank flap_tecap3',
           JRANGE =   1,  -1,
           KRANGE =   1,  -1,
           LRANGE =   1,   3,
                      $END
C
C  Symmetry Plane Trim.
C
    $BOUNDARY NAME = 'symmetry plane trim',
           ISPARTOF = 'outer_box',
           MHOLEIN  = 'slat',
                      'slat_tecap2',
                      'wing',
                      'wing_tecap2',
                      'flap',
                      'flap_tecap2',
           CLOSED = .F.,
                       $END

      $SURFACE ISPARTOF = 'symmetry plane trim',
           JRANGE =  1, -1,
           KRANGE =  1,  1,
           LRANGE =  1, -1,
           NVOUT  = '+K',
                       $END
