 $GLOBAL
   PROJECT = .T.,
   ORPHFIX = .T.,
   LEVEL2  = .T.,
   FRINGE  = 2,
   OFFSET  = 1,
   DISTANCE = 75,
   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,   81,    1,   
    JBCE  =    -1,  -81,   80,   
    KBCS  =     1,   55,   55,   
    KBCE  =    55,   -1,   -1,   
    LBCS  =     1,    1,    1,   
    LBCE  =     1,    1,    1,   
    $END

 $BCINP ISPARTOF = 'slat', 
    IBTYP =     5,   51,   
    IBDIR =     3,    3,   
    JBCS  =    81,    1,   
    JBCE  =   -81,   80,   
    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,  218,
    JBCE  =   217,   -1,
    KBCS  =     1,    1,
    KBCE  =    -1,  109,
    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,  109,    1,
    JBCE  =    -1, -109,  108,
    KBCS  =     1,   55,   55,
    KBCE  =    55,   -1,   -1,
    LBCS  =     1,    1,    1,
    LBCE  =     1,    1,    1,
    $END

 $BCINP ISPARTOF = 'wing',
    IBTYP =     5,   51,
    IBDIR =     3,    3,
    JBCS  =   109,    1,
    JBCE  =  -109,  108,
    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,  110,
    JBCE  =   109,   -1,
    KBCS  =     1,    1,
    KBCE  =    -1,  109,
    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,  109,    1,
    JBCE  =    -1, -109,  108,
    KBCS  =     1,   55,   55,
    KBCE  =    55,   -1,   -1,
    LBCS  =     1,    1,    1,
    LBCE  =     1,    1,    1,
    $END

 $BCINP ISPARTOF = 'flap',
    IBTYP =     5,   51,
    IBDIR =     3,    3,
    JBCS  =   109,    1,
    JBCE  =  -109,  108,
    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,  218,
    JBCE  =   217,   -1,
    KBCS  =     1,    1,
    KBCE  =    -1,  109,
    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  =    55,
    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 =  98,  99,
           KRANGE = 108, 111,
           LRANGE =   1,  48,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in body',
           JRANGE = 185, 186,
           KRANGE = 104, 104,
           LRANGE =   1,  90,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in body',
           JRANGE = 225, 225,
           KRANGE = 146, 146,
           LRANGE =   1,  57,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in body',
           JRANGE =   1,   1,
           KRANGE =   1,   5,
           LRANGE = 135, 145,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in body',
           JRANGE =   1,   1,
           KRANGE = 213, 217,
           LRANGE = 135, 145,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in body',
           JRANGE =  -1,  -1,
           KRANGE =   1,   3,
           LRANGE = 135, 145,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in body',
           JRANGE =  -1,  -1,
           KRANGE = 213, 217,
           LRANGE = 135, 145,
                      $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 =  81, 104,
           KRANGE =  55,  -1,
           LRANGE =   1,  50,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in slat_collar',
           JRANGE = -110, -81,
           KRANGE =   55,  -1,
           LRANGE =    1,  50,
                      $END
C
C  Index cutter in slat.
C
    $REGION NAME = 'Index cutter in slat',
           ISPARTOF = 'slat',
                       $END

      $VOLUME ISPARTOF = 'Index cutter in slat',
           JRANGE =  81, 104,
           KRANGE =   1,  -1,
           LRANGE =   1,  50,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in slat',
           JRANGE = -110, -81,
           KRANGE =    1,  -1,
           LRANGE =    1,  50,
                      $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 = 202, 217,
           KRANGE =   1,  -1,
           LRANGE =   1,  50,
                      $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 = 109, 133,
           KRANGE =  55,  -1,
           LRANGE =   1,  50,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in wing_collar',
           JRANGE = -136, -109,
           KRANGE =   55,  -1,
           LRANGE =    1,  50,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in wing_collar',
           JRANGE = 493, 498,
           KRANGE =  31,  34,
           LRANGE =   1,  50,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in wing_collar',
           JRANGE = 499, 503,
           KRANGE =  34,  36,
           LRANGE =   1,  50,
                      $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 = 250, 284,
           KRANGE =  61,  -1,
           LRANGE =  68,  86,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in wing_collar',
           JRANGE = 151, 248,
           KRANGE =  61,  -1,
           LRANGE =  85,  86,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in wing_collar',
           JRANGE = 100, 149,
           KRANGE =  61,  -1,
           LRANGE =  70,  86,
                      $END
C
C  Index cutter in wing.
C
    $REGION NAME = 'Index cutter in wing',
           ISPARTOF = 'wing',
                       $END

      $VOLUME ISPARTOF = 'Index cutter in wing',
           JRANGE = 109, 133,
           KRANGE =   1,  -1,
           LRANGE =   1,  50,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in wing',
           JRANGE = -136, -109,
           KRANGE =    1,  -1,
           LRANGE =    1,  50,
                      $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 = 474, 775,
           KRANGE =   1,  -1,
           LRANGE =  73, 109,
                      $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 = 254, 286,
           KRANGE =   1, 109,
           LRANGE =  68, 100,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in wing',
           JRANGE = 149, 253,
           KRANGE =   1, 109,
           LRANGE =  95, 100,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in wing',
           JRANGE = 125, 148,
           KRANGE =   1, 109,
           LRANGE =  65, 100,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in wing',
           JRANGE = 254, 286,
           KRANGE = 110, -14,
           LRANGE =  68, 100,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in wing',
           JRANGE = 149, 253,
           KRANGE = 110, -14,
           LRANGE =  88, 100,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in wing',
           JRANGE = 125, 148,
           KRANGE = 110, -14,
           LRANGE =  65, 100,
                      $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 =  93, 109,
           KRANGE =   1,  -1,
           LRANGE =   1,  50,
                      $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 = 109, 140,
           KRANGE =  55,  -1,
           LRANGE =   1,  38,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in flap_collar',
           JRANGE = -140, -109,
           KRANGE =   55,  -1,
           LRANGE =    1,  38,
                      $END
C
C  Index cutter in flap.
C
    $REGION NAME = 'Index cutter in flap',
           ISPARTOF = 'flap',
                       $END

      $VOLUME ISPARTOF = 'Index cutter in flap',
           JRANGE = 109, 140,
           KRANGE =   1,  -1,
           LRANGE =   1,  50,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in flap',
           JRANGE = -140, -109,
           KRANGE =    1,  -1,
           LRANGE =    1,  50,
                      $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 = 337, 530,
           KRANGE =   1,  -1,
           LRANGE =  71, 112,
                      $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 = 202, 217,
           KRANGE =   1,  -1,
           LRANGE =   1,  50,
                      $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
