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

 $MESH NAME = 'body', KINCLUDE=  2, -2, LINCLUDE=  2, -1, $END 

 $MESH NAME = 'body_nosecap', KINCLUDE=  2, -1, LINCLUDE=  2, -1, $END

 $MESH NAME = 'body_tailcap', KINCLUDE=  2, -1, LINCLUDE=  2, -1, $END

 $MESH NAME = 'slat_colinner', $END

 $MESH NAME = 'slat_colouter', $END

 $MESH NAME = 'slat_inner', $END

 $MESH NAME = 'slat_outer1', $END

 $MESH NAME = 'slat_outer2', $END

 $MESH NAME = 'slat_outer3', $END

 $MESH NAME = 'slat_tecapcollwr', LINCLUDE=  2, -1, $END

 $MESH NAME = 'slat_tecapcolupr', LINCLUDE=  2, -1, $END

 $MESH NAME = 'slat_tecaplwr', LINCLUDE=  2, -1, $END

 $MESH NAME = 'slat_tecapupr', LINCLUDE=  2, -1, $END

 $MESH NAME = 'slat_tipcap1', LINCLUDE=  2, -1, $END

 $MESH NAME = 'slat_tipcap2', LINCLUDE=  2, -1, $END

 $MESH NAME = 'slat_tipcap3', LINCLUDE=  2, -1, $END

 $MESH NAME = 'wing_collar', $END

 $MESH NAME = 'wing1', $END

 $MESH NAME = 'wing2', $END

 $MESH NAME = 'wing3', $END

 $MESH NAME = 'wing4', $END

 $MESH NAME = 'wing_tecapcol', LINCLUDE=  2, -1, $END

 $MESH NAME = 'wing_tecap', LINCLUDE=  2, -1, $END

 $MESH NAME = 'wing_tipcap1', LINCLUDE=  2, -1, $END

 $MESH NAME = 'wing_tipcap2', LINCLUDE=  2, -1, $END

 $MESH NAME = 'wing_tipcap3', LINCLUDE=  2, -1, $END

 $MESH NAME = 'flap_collar', $END

 $MESH NAME = 'flap1', $END

 $MESH NAME = 'flap2', $END

 $MESH NAME = 'flap_tecapcol', LINCLUDE=  2, -1, $END

 $MESH NAME = 'flap_tecap', LINCLUDE=  2, -1, $END

 $MESH NAME = 'flap_tipcap1', LINCLUDE=  2, -1, $END

 $MESH NAME = 'flap_tipcap2', LINCLUDE=  2, -1, $END

 $MESH NAME = 'flap_tipcap3', LINCLUDE=  2, -1, $END

 $MESH NAME = 'flap_cove', $END

 $MESH NAME = 'slat_wake_box1', $END

 $MESH NAME = 'slat_wake_box2', $END

 $MESH NAME = 'wing_wake_box1', $END

 $MESH NAME = 'wing_wake_box2', $END

 $MESH NAME = 'vortex_box', $END

 $MESH NAME = 'box_body', KINCLUDE=  2, -1, $END

 $MESH NAME = 'box_wing', $END

 $MESH NAME = 'box_mid', KINCLUDE=  2, -1, $END

 $MESH NAME = 'box_outer', KINCLUDE=  2, -1, $END

 $MESH NAME = 'phantom_flapseal',
    PHANTOM = .T.,
    $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 = 'body_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 = 'body_tailcap', 
    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 = 'slat_colinner', 
    IBTYP =     5,    5,
    IBDIR =     3,    3,
    JBCS  =     1,   37,
    JBCE  =    -1,  -25,
    KBCS  =     1,   13,
    KBCE  =    13,   -1,
    LBCS  =     1,    1,
    LBCE  =     1,    1,
    $END

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

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

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

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

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

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

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

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

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

 $BCINP ISPARTOF = 'slat_tipcap1', 
    IBTYP =     5, 
    IBDIR =     3, 
    JBCS  =     1, 
    JBCE  =    -1, 
    KBCS  =     1, 
    KBCE  =    -1, 
    LBCS  =     1, 
    LBCE  =     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_tipcap3',
    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,   28,    1,
    JBCE  =    -1,  -28,   27,
    KBCS  =     1,   13,   13,
    KBCE  =    13,   -1,   -1,
    LBCS  =     1,    1,    1,
    LBCE  =     1,    1,    1,
    $END

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

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

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

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

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

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

 $BCINP ISPARTOF = 'wing_tipcap1', 
    IBTYP =     5, 
    IBDIR =     3, 
    JBCS  =     1, 
    JBCE  =    -1, 
    KBCS  =     1, 
    KBCE  =    -1, 
    LBCS  =     1, 
    LBCE  =     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 = 'flap_collar', 
    IBTYP =     5,    5,   51,
    IBDIR =     3,    3,    3,
    JBCS  =     1,   25,    1,
    JBCE  =    -1,  -25,   24,
    KBCS  =     1,   19,   19,
    KBCE  =    19,   -1,   -1,
    LBCS  =     1,    1,    1,
    LBCE  =     1,    1,    1,
    $END

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

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

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

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

 $BCINP ISPARTOF = 'flap_tipcap1', 
    IBTYP =     5,  
    IBDIR =     3,  
    JBCS  =     1,  
    JBCE  =    -1,  
    KBCS  =     1,  
    KBCE  =    -1,  
    LBCS  =     1,  
    LBCE  =     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_tipcap3',
    IBTYP =     5,
    IBDIR =     3,
    JBCS  =     1,
    JBCE  =    -1,
    KBCS  =     1,
    KBCE  =    -1,
    LBCS  =     1,
    LBCE  =     1,
    $END

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

 $BCINP ISPARTOF = 'slat_wake_box1', $END

 $BCINP ISPARTOF = 'slat_wake_box2', $END

 $BCINP ISPARTOF = 'wing_wake_box1', $END

 $BCINP ISPARTOF = 'wing_wake_box2', $END

 $BCINP ISPARTOF = 'vortex_box', $END

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

 $BCINP ISPARTOF = 'box_wing', $END

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

 $BCINP ISPARTOF = 'box_outer', 
    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 = 'phantom_flapseal',
    IBTYP =     5,
    IBDIR =     3,
    JBCS  =     1,
    JBCE  =    -1,
    KBCS  =     1,
    KBCE  =    -1,
    LBCS  =     1,
    LBCE  =     1,
    $END

 $HCUT NAME = 'main1',
   MEMBER =  'body', 'body_nosecap', 'body_tailcap', 'slat_colinner',
             'slat_colouter', 'slat_inner', 'slat_outer1', 'slat_tecapcollwr',
             'slat_tecapcolupr', 'slat_tecaplwr', 'slat_tecapupr',
             'slat_tipcap1', 'slat_tipcap2', 'wing_collar', 'wing1',
             'wing_tecapcol', 'wing_tecap', 'wing_tipcap1', 'wing_tipcap2',
             'flap_collar', 'flap1', 'flap_tecapcol', 'flap_tecap',
              'flap_tipcap1', 'flap_tipcap2', 'flap_cove',
             'slat_tipcap3', 'wing_tipcap3', 'flap_tipcap3',
             'slat_outer2', 'slat_outer3', 'wing2', 'wing3', 'wing4', 'flap2',
   EXCLUDE = 'flap_tecapcol',
    CNX = 1024,
    CNY = 1024,
    CNZ = 1024,
    CARTX = 0., 769., 
    CARTY = 0., 352., 
    CARTZ = -175., 150., 
 $END

 $HCUT NAME = 'main2',
   MEMBER =  'body', 'body_nosecap', 'body_tailcap', 'slat_colinner',
             'slat_colouter', 'slat_inner', 'slat_outer1', 'slat_tecapcollwr',
             'slat_tecapcolupr', 'slat_tecaplwr', 'slat_tecapupr',
             'slat_tipcap1', 'slat_tipcap2', 'wing_collar', 'wing1',
             'wing_tecapcol', 'wing_tecap', 'wing_tipcap1', 'wing_tipcap2',
             'flap_collar', 'flap1', 'flap_tecapcol', 'flap_tecap',
              'flap_tipcap1', 'flap_tipcap2', 'flap_cove',
             'slat_tipcap3', 'wing_tipcap3', 'flap_tipcap3',
             'slat_outer2', 'slat_outer3', 'wing2', 'wing3', 'wing4', 'flap2',
   EXCLUDE = 'flap_tecapcol',
    CNX = 1024,
    CNY = 1024,
    CNZ = 1024,
    CARTX = 769., 1538., 
    CARTY = 0., 352., 
    CARTZ = -175., 150., 
 $END

 $HCUT NAME = 'main3',
   MEMBER =  'body', 'body_nosecap', 'body_tailcap', 'slat_colinner',
             'slat_colouter', 'slat_inner', 'slat_outer1', 'slat_tecapcollwr',
             'slat_tecapcolupr', 'slat_tecaplwr', 'slat_tecapupr',
             'slat_tipcap1', 'slat_tipcap2', 'wing_collar', 'wing1',
             'wing_tecapcol', 'wing_tecap', 'wing_tipcap1', 'wing_tipcap2',
             'flap_collar', 'flap1', 'flap_tecapcol', 'flap_tecap',
              'flap_tipcap1', 'flap_tipcap2', 'flap_cove',
             'slat_tipcap3', 'wing_tipcap3', 'flap_tipcap3',
             'slat_outer2', 'slat_outer3', 'wing2', 'wing3', 'wing4', 'flap2',
   EXCLUDE = 'flap_tecapcol',
    CNX = 1024,
    CNY = 1024,
    CNZ = 1024,
    CARTX = 1538., 2307., 
    CARTY = 0., 352., 
    CARTZ = -175., 150., 
 $END

 $HCUT NAME = 'main4',
   MEMBER =  'body', 'body_nosecap', 'body_tailcap', 'slat_colinner',
             'slat_colouter', 'slat_inner', 'slat_outer1', 'slat_tecapcollwr',
             'slat_tecapcolupr', 'slat_tecaplwr', 'slat_tecapupr',
             'slat_tipcap1', 'slat_tipcap2', 'wing_collar', 'wing1',
             'wing_tecapcol', 'wing_tecap', 'wing_tipcap1', 'wing_tipcap2',
             'flap_collar', 'flap1', 'flap_tecapcol', 'flap_tecap',
              'flap_tipcap1', 'flap_tipcap2', 'flap_cove',
             'slat_tipcap3', 'wing_tipcap3', 'flap_tipcap3',
             'slat_outer2', 'slat_outer3', 'wing2', 'wing3', 'wing4', 'flap2',
   EXCLUDE = 'flap_tecapcol',
    CNX = 1024,
    CNY = 1024,
    CNZ = 1024,
    CARTX = 2307., 3076., 
    CARTY = 0., 352., 
    CARTZ = -175., 150., 
 $END

 $HCUT NAME = 'main5',
   MEMBER =  'body', 'body_nosecap', 'body_tailcap', 'slat_colinner',
             'slat_colouter', 'slat_inner', 'slat_outer1', 'slat_tecapcollwr',
             'slat_tecapcolupr', 'slat_tecaplwr', 'slat_tecapupr',
             'slat_tipcap1', 'slat_tipcap2', 'wing_collar', 'wing1',
             'wing_tecapcol', 'wing_tecap', 'wing_tipcap1', 'wing_tipcap2',
             'flap_collar', 'flap1', 'flap_tecapcol', 'flap_tecap',
              'flap_tipcap1', 'flap_tipcap2', 'flap_cove',
             'slat_tipcap3', 'wing_tipcap3', 'flap_tipcap3',
             'slat_outer2', 'slat_outer3', 'wing2', 'wing3', 'wing4', 'flap2',
   EXCLUDE = 'flap_tecapcol',
    CNX = 1024,
    CNY = 1024,
    CNZ = 1024,
    CARTX = 0., 769., 
    CARTY = 352., 704., 
    CARTZ = -175., 150., 
 $END

 $HCUT NAME = 'main6',
   MEMBER =  'body', 'body_nosecap', 'body_tailcap', 'slat_colinner',
             'slat_colouter', 'slat_inner', 'slat_outer1', 'slat_tecapcollwr',
             'slat_tecapcolupr', 'slat_tecaplwr', 'slat_tecapupr',
             'slat_tipcap1', 'slat_tipcap2', 'wing_collar', 'wing1',
             'wing_tecapcol', 'wing_tecap', 'wing_tipcap1', 'wing_tipcap2',
             'flap_collar', 'flap1', 'flap_tecapcol', 'flap_tecap',
              'flap_tipcap1', 'flap_tipcap2', 'flap_cove',
             'slat_tipcap3', 'wing_tipcap3', 'flap_tipcap3',
             'slat_outer2', 'slat_outer3', 'wing2', 'wing3', 'wing4', 'flap2',
   EXCLUDE = 'flap_tecapcol',
    CNX = 1024,
    CNY = 1024,
    CNZ = 1024,
    CARTX = 769., 1538., 
    CARTY = 352., 704., 
    CARTZ = -175., 150., 
 $END

 $HCUT NAME = 'main7',
   MEMBER =  'body', 'body_nosecap', 'body_tailcap', 'slat_colinner',
             'slat_colouter', 'slat_inner', 'slat_outer1', 'slat_tecapcollwr',
             'slat_tecapcolupr', 'slat_tecaplwr', 'slat_tecapupr',
             'slat_tipcap1', 'slat_tipcap2', 'wing_collar', 'wing1',
             'wing_tecapcol', 'wing_tecap', 'wing_tipcap1', 'wing_tipcap2',
             'flap_collar', 'flap1', 'flap_tecapcol', 'flap_tecap',
              'flap_tipcap1', 'flap_tipcap2', 'flap_cove',
             'slat_tipcap3', 'wing_tipcap3', 'flap_tipcap3',
             'slat_outer2', 'slat_outer3', 'wing2', 'wing3', 'wing4', 'flap2',
   EXCLUDE = 'flap_tecapcol',
    CNX = 1024,
    CNY = 1024,
    CNZ = 1024,
    CARTX = 1538., 2307., 
    CARTY = 352., 704., 
    CARTZ = -175., 150., 
 $END

 $HCUT NAME = 'main8',
   MEMBER =  'body', 'body_nosecap', 'body_tailcap', 'slat_colinner',
             'slat_colouter', 'slat_inner', 'slat_outer1', 'slat_tecapcollwr',
             'slat_tecapcolupr', 'slat_tecaplwr', 'slat_tecapupr',
             'slat_tipcap1', 'slat_tipcap2', 'wing_collar', 'wing1',
             'wing_tecapcol', 'wing_tecap', 'wing_tipcap1', 'wing_tipcap2',
             'flap_collar', 'flap1', 'flap_tecapcol', 'flap_tecap',
              'flap_tipcap1', 'flap_tipcap2', 'flap_cove',
             'slat_tipcap3', 'wing_tipcap3', 'flap_tipcap3',
             'slat_outer2', 'slat_outer3', 'wing2', 'wing3', 'wing4', 'flap2',
   EXCLUDE = 'flap_tecapcol',
    CNX = 1024,
    CNY = 1024,
    CNZ = 1024,
    CARTX = 2307., 3076., 
    CARTY = 352., 704., 
    CARTZ = -175., 150., 
 $END

 $HCUT NAME = 'main9',
   MEMBER =  'body', 'body_nosecap', 'body_tailcap', 'slat_colinner',
             'slat_colouter', 'slat_inner', 'slat_outer1', 'slat_tecapcollwr',
             'slat_tecapcolupr', 'slat_tecaplwr', 'slat_tecapupr',
             'slat_tipcap1', 'slat_tipcap2', 'wing_collar', 'wing1',
             'wing_tecapcol', 'wing_tecap', 'wing_tipcap1', 'wing_tipcap2',
             'flap_collar', 'flap1', 'flap_tecapcol', 'flap_tecap',
              'flap_tipcap1', 'flap_tipcap2', 'flap_cove',
             'slat_tipcap3', 'wing_tipcap3', 'flap_tipcap3',
             'slat_outer2', 'slat_outer3', 'wing2', 'wing3', 'wing4', 'flap2',
   EXCLUDE = 'flap_tecapcol',
    CNX = 1024,
    CNY = 1024,
    CNZ = 1024,
    CARTX = 0., 769., 
    CARTY = 704., 1056., 
    CARTZ = -175., 150., 
 $END

 $HCUT NAME = 'main10',
   MEMBER =  'body', 'body_nosecap', 'body_tailcap', 'slat_colinner',
             'slat_colouter', 'slat_inner', 'slat_outer1', 'slat_tecapcollwr',
             'slat_tecapcolupr', 'slat_tecaplwr', 'slat_tecapupr',
             'slat_tipcap1', 'slat_tipcap2', 'wing_collar', 'wing1',
             'wing_tecapcol', 'wing_tecap', 'wing_tipcap1', 'wing_tipcap2',
             'flap_collar', 'flap1', 'flap_tecapcol', 'flap_tecap',
              'flap_tipcap1', 'flap_tipcap2', 'flap_cove',
             'slat_tipcap3', 'wing_tipcap3', 'flap_tipcap3',
             'slat_outer2', 'slat_outer3', 'wing2', 'wing3', 'wing4', 'flap2',
   EXCLUDE = 'flap_tecapcol',
    CNX = 1024,
    CNY = 1024,
    CNZ = 1024,
    CARTX = 769., 1538., 
    CARTY = 704., 1056., 
    CARTZ = -175., 150., 
 $END

 $HCUT NAME = 'main11',
   MEMBER =  'body', 'body_nosecap', 'body_tailcap', 'slat_colinner',
             'slat_colouter', 'slat_inner', 'slat_outer1', 'slat_tecapcollwr',
             'slat_tecapcolupr', 'slat_tecaplwr', 'slat_tecapupr',
             'slat_tipcap1', 'slat_tipcap2', 'wing_collar', 'wing1',
             'wing_tecapcol', 'wing_tecap', 'wing_tipcap1', 'wing_tipcap2',
             'flap_collar', 'flap1', 'flap_tecapcol', 'flap_tecap',
              'flap_tipcap1', 'flap_tipcap2', 'flap_cove',
             'slat_tipcap3', 'wing_tipcap3', 'flap_tipcap3',
             'slat_outer2', 'slat_outer3', 'wing2', 'wing3', 'wing4', 'flap2',
   EXCLUDE = 'flap_tecapcol',
    CNX = 1024,
    CNY = 1024,
    CNZ = 1024,
    CARTX = 1538., 2307., 
    CARTY = 704., 1056., 
    CARTZ = -175., 150., 
 $END

 $HCUT NAME = 'main12',
   MEMBER =  'body', 'body_nosecap', 'body_tailcap', 'slat_colinner',
             'slat_colouter', 'slat_inner', 'slat_outer1', 'slat_tecapcollwr',
             'slat_tecapcolupr', 'slat_tecaplwr', 'slat_tecapupr',
             'slat_tipcap1', 'slat_tipcap2', 'wing_collar', 'wing1',
             'wing_tecapcol', 'wing_tecap', 'wing_tipcap1', 'wing_tipcap2',
             'flap_collar', 'flap1', 'flap_tecapcol', 'flap_tecap',
              'flap_tipcap1', 'flap_tipcap2', 'flap_cove',
             'slat_tipcap3', 'wing_tipcap3', 'flap_tipcap3',
             'slat_outer2', 'slat_outer3', 'wing2', 'wing3', 'wing4', 'flap2',
   EXCLUDE = 'flap_tecapcol',
    CNX = 1024,
    CNY = 1024,
    CNZ = 1024,
    CARTX = 2307., 3076., 
    CARTY = 704., 1056., 
    CARTZ = -175., 150., 
 $END

 $HCUT NAME = 'main13',
   MEMBER =  'body', 'body_nosecap', 'body_tailcap', 'slat_colinner',
             'slat_colouter', 'slat_inner', 'slat_outer1', 'slat_tecapcollwr',
             'slat_tecapcolupr', 'slat_tecaplwr', 'slat_tecapupr',
             'slat_tipcap1', 'slat_tipcap2', 'wing_collar', 'wing1',
             'wing_tecapcol', 'wing_tecap', 'wing_tipcap1', 'wing_tipcap2',
             'flap_collar', 'flap1', 'flap_tecapcol', 'flap_tecap',
              'flap_tipcap1', 'flap_tipcap2', 'flap_cove',
             'slat_tipcap3', 'wing_tipcap3', 'flap_tipcap3',
             'slat_outer2', 'slat_outer3', 'wing2', 'wing3', 'wing4', 'flap2',
   EXCLUDE = 'flap_tecapcol',
    CNX = 1024,
    CNY = 1024,
    CNZ = 1024,
    CARTX = 0., 769., 
    CARTY = 1056., 1408., 
    CARTZ = -175., 150., 
 $END

 $HCUT NAME = 'main14',
   MEMBER =  'body', 'body_nosecap', 'body_tailcap', 'slat_colinner',
             'slat_colouter', 'slat_inner', 'slat_outer1', 'slat_tecapcollwr',
             'slat_tecapcolupr', 'slat_tecaplwr', 'slat_tecapupr',
             'slat_tipcap1', 'slat_tipcap2', 'wing_collar', 'wing1',
             'wing_tecapcol', 'wing_tecap', 'wing_tipcap1', 'wing_tipcap2',
             'flap_collar', 'flap1', 'flap_tecapcol', 'flap_tecap',
              'flap_tipcap1', 'flap_tipcap2', 'flap_cove',
             'slat_tipcap3', 'wing_tipcap3', 'flap_tipcap3',
             'slat_outer2', 'slat_outer3', 'wing2', 'wing3', 'wing4', 'flap2',
   EXCLUDE = 'flap_tecapcol',
    CNX = 1024,
    CNY = 1024,
    CNZ = 1024,
    CARTX = 769., 1538., 
    CARTY = 1056., 1408., 
    CARTZ = -175., 150., 
 $END

 $HCUT NAME = 'main15',
   MEMBER =  'body', 'body_nosecap', 'body_tailcap', 'slat_colinner',
             'slat_colouter', 'slat_inner', 'slat_outer1', 'slat_tecapcollwr',
             'slat_tecapcolupr', 'slat_tecaplwr', 'slat_tecapupr',
             'slat_tipcap1', 'slat_tipcap2', 'wing_collar', 'wing1',
             'wing_tecapcol', 'wing_tecap', 'wing_tipcap1', 'wing_tipcap2',
             'flap_collar', 'flap1', 'flap_tecapcol', 'flap_tecap',
              'flap_tipcap1', 'flap_tipcap2', 'flap_cove',
             'slat_tipcap3', 'wing_tipcap3', 'flap_tipcap3',
             'slat_outer2', 'slat_outer3', 'wing2', 'wing3', 'wing4', 'flap2',
   EXCLUDE = 'flap_tecapcol',
    CNX = 1024,
    CNY = 1024,
    CNZ = 1024,
    CARTX = 1538., 2307., 
    CARTY = 1056., 1408., 
    CARTZ = -175., 150., 
 $END

 $HCUT NAME = 'main16',
   MEMBER =  'body', 'body_nosecap', 'body_tailcap', 'slat_colinner',
             'slat_colouter', 'slat_inner', 'slat_outer1', 'slat_tecapcollwr',
             'slat_tecapcolupr', 'slat_tecaplwr', 'slat_tecapupr',
             'slat_tipcap1', 'slat_tipcap2', 'wing_collar', 'wing1',
             'wing_tecapcol', 'wing_tecap', 'wing_tipcap1', 'wing_tipcap2',
             'flap_collar', 'flap1', 'flap_tecapcol', 'flap_tecap',
              'flap_tipcap1', 'flap_tipcap2', 'flap_cove',
             'slat_tipcap3', 'wing_tipcap3', 'flap_tipcap3',
             'slat_outer2', 'slat_outer3', 'wing2', 'wing3', 'wing4', 'flap2',
   EXCLUDE = 'flap_tecapcol',
    CNX = 1024,
    CNY = 1024,
    CNZ = 1024,
    CARTX = 2307., 3076., 
    CARTY = 1056., 1408., 
    CARTZ = -175., 150., 
 $END
C
C ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C  Cutter for the slat wake grid
C ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C
 $BOUNDARY
     ISPARTOF = 'slat_wake_box1',
     NAME     = 'cutter for slat wake box grid 1',
     MHOLEIN  = 'body', 'wing_collar', 'wing1', 'wing2', 'wing3', 
                'wing4', 'flap_collar', 'flap1', 'flap2', 
                'box_body', 'box_wing', 'box_mid', 'box_outer',
     CLOSED   = .TRUE.,
     $END

 $SURFACE
     ISPARTOF = 'cutter for slat wake box grid 1',
     JRANGE   =  9, -9,
     KRANGE   =  9, -9,
     LRANGE   = 15, 15,
     NVOUT    = '-L',
     $END

 $SURFACE
     ISPARTOF = 'cutter for slat wake box grid 1',
     JRANGE   =   9,  -9,
     KRANGE   =   9,  -9,
     LRANGE   = -11, -11,
     NVOUT    = '+L',
     $END

 $SURFACE
     ISPARTOF = 'cutter for slat wake box grid 1',
     JRANGE   =  9,  9,
     KRANGE   =  9, -9,
     LRANGE   = 15, -11,
     NVOUT    = '-J',
     $END

 $SURFACE
     ISPARTOF = 'cutter for slat wake box grid 1',
     JRANGE   = -9, -9,
     KRANGE   =  9, -9,
     LRANGE   = 15, -11,
     NVOUT    = '+J',
     $END

 $SURFACE
     ISPARTOF = 'cutter for slat wake box grid 1',
     JRANGE   =  9,  -9,
     KRANGE   =  9,   9,
     LRANGE   = 15, -11,
     NVOUT    = '-K',
     $END

 $SURFACE
     ISPARTOF = 'cutter for slat wake box grid 1',
     JRANGE   =  9,  -9,
     KRANGE   = -1,  -1,
     LRANGE   = 15, -11,
     NVOUT    = '+K',
     $END

 $BOUNDARY
     ISPARTOF = 'slat_wake_box2',
     NAME     = 'cutter for slat wake box grid 2',
     MHOLEIN  = 'body', 'wing_collar', 'wing1', 'wing2', 'wing3',
                'wing4', 'flap_collar', 'flap1', 'flap2',
                'box_body', 'box_wing', 'box_mid', 'box_outer',
     CLOSED   = .TRUE.,
     $END

 $SURFACE
     ISPARTOF = 'cutter for slat wake box grid 2',
     JRANGE   =  9, -9,
     KRANGE   =  9, -9,
     LRANGE   = 15, 15,
     NVOUT    = '-L',
     $END

 $SURFACE
     ISPARTOF = 'cutter for slat wake box grid 2',
     JRANGE   =   9,  -9,
     KRANGE   =   9,  -9,
     LRANGE   = -11, -11,
     NVOUT    = '+L',
     $END

 $SURFACE
     ISPARTOF = 'cutter for slat wake box grid 2',
     JRANGE   =  9,   9,
     KRANGE   =  9,  -9,
     LRANGE   = 15, -11,
     NVOUT    = '-J',
     $END

 $SURFACE
     ISPARTOF = 'cutter for slat wake box grid 2',
     JRANGE   = -9, -9,
     KRANGE   =  9, -9,
     LRANGE   = 15, -11,
     NVOUT    = '+J',
     $END

 $SURFACE
     ISPARTOF = 'cutter for slat wake box grid 2',
     JRANGE   =  9, -9,
     KRANGE   =  1,  1,
     LRANGE   = 15, -11,
     NVOUT    = '-K',
     $END

 $SURFACE
     ISPARTOF = 'cutter for slat wake box grid 2',
     JRANGE   =  9, -9,
     KRANGE   = -9, -9,
     LRANGE   = 15, -11,
     NVOUT    = '+K',
     $END
C
C ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C  Cutter for the wing wake grid
C ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C
 $BOUNDARY
     ISPARTOF = 'wing_wake_box1',
     NAME     = 'cutter for wing wake box grid 1',
     MHOLEIN  = 'body', 'wing_collar', 'wing1', 'wing2', 'wing3', 
                'wing4', 'flap_collar', 'flap1', 'flap2', 
                'box_body', 'box_wing', 'box_mid', 'box_outer',
     CLOSED   = .TRUE.,
     $END

 $SURFACE
     ISPARTOF = 'cutter for wing wake box grid 1',
     JRANGE   =  6, -6,
     KRANGE   =  6, -6,
     LRANGE   =  6,  6,
     NVOUT    = '-L',
     $END

 $SURFACE
     ISPARTOF = 'cutter for wing wake box grid 1',
     JRANGE   =  6, -6,
     KRANGE   =  6, -6,
     LRANGE   = -8, -8,
     NVOUT    = '+L',
     $END

 $SURFACE
     ISPARTOF = 'cutter for wing wake box grid 1',
     JRANGE   =  6,  6,
     KRANGE   =  6, -6,
     LRANGE   =  6, -8,
     NVOUT    = '-J',
     $END

 $SURFACE
     ISPARTOF = 'cutter for wing wake box grid 1',
     JRANGE   = -6, -6,
     KRANGE   =  6, -6,
     LRANGE   =  6, -8,
     NVOUT    = '+J',
     $END

 $SURFACE
     ISPARTOF = 'cutter for wing wake box grid 1',
     JRANGE   =  6, -6,
     KRANGE   =  6,  6,
     LRANGE   =  6, -8,
     NVOUT    = '-K',
     $END

 $SURFACE
     ISPARTOF = 'cutter for wing wake box grid 1',
     JRANGE   =  6, -6,
     KRANGE   = -1, -1,
     LRANGE   =  6, -8,
     NVOUT    = '+K',
     $END

 $BOUNDARY
     ISPARTOF = 'wing_wake_box2',
     NAME     = 'cutter for wing wake box grid 2',
     MHOLEIN  = 'body', 'wing_collar', 'wing1', 'wing2', 'wing3',
                'wing4', 'flap_collar', 'flap1', 'flap2',
                'box_body', 'box_wing', 'box_mid', 'box_outer',
     CLOSED   = .TRUE.,
     $END

 $SURFACE
     ISPARTOF = 'cutter for wing wake box grid 2',
     JRANGE   =  6, -6,
     KRANGE   =  6, -6,
     LRANGE   =  6,  6,
     NVOUT    = '-L',
     $END

 $SURFACE
     ISPARTOF = 'cutter for wing wake box grid 2',
     JRANGE   =  6, -6,
     KRANGE   =  6, -6,
     LRANGE   = -8, -8,
     NVOUT    = '+L',
     $END

 $SURFACE
     ISPARTOF = 'cutter for wing wake box grid 2',
     JRANGE   =  6,  6,
     KRANGE   =  6, -6,
     LRANGE   =  6, -8,
     NVOUT    = '-J',
     $END

 $SURFACE
     ISPARTOF = 'cutter for wing wake box grid 2',
     JRANGE   = -6, -6,
     KRANGE   =  6, -6,
     LRANGE   =  6, -8,
     NVOUT    = '+J',
     $END

 $SURFACE
     ISPARTOF = 'cutter for wing wake box grid 2',
     JRANGE   =  6, -6,
     KRANGE   =  1,  1,
     LRANGE   =  6, -8,
     NVOUT    = '-K',
     $END

 $SURFACE
     ISPARTOF = 'cutter for wing wake box grid 2',
     JRANGE   =  6, -6,
     KRANGE   = -6, -6, 
     LRANGE   =  6, -8,
     NVOUT    = '+K',
     $END
C
C ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C  The following set of cutters blank-out points in grids where a tecap grid should take over
C ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C
    $REGION NAME = 'hole in slat_collar_inner',
           ISPARTOF = 'slat_colinner',
                       $END

      $VOLUME ISPARTOF = 'hole in slat_collar_inner',
           JRANGE =  78,  87,
           KRANGE =  13,  -1,
           LRANGE =   1,  19,
                      $END

      $VOLUME ISPARTOF = 'hole in slat_collar_inner',
           JRANGE =  34,  43,
           KRANGE =  13,  -1,
           LRANGE =   1,  19,
                      $END

    $REGION NAME = 'hole in slat_collar_outer',
           ISPARTOF = 'slat_colouter',
                       $END

      $VOLUME ISPARTOF = 'hole in slat_collar_outer',
           JRANGE =  22,  36,
           KRANGE =  13,  -1,
           LRANGE =   1,  19,
                      $END

      $VOLUME ISPARTOF = 'hole in slat_collar_outer',
           JRANGE = 150, 165,
           KRANGE =  13,  -1,
           LRANGE =   1,  19,
                      $END

    $REGION NAME = 'hole in slat_inner',
           ISPARTOF = 'slat_inner',
                       $END

      $VOLUME ISPARTOF = 'hole in slat_inner',
           JRANGE =  34,  43,
           KRANGE =   1,  -1,
           LRANGE =   1,  19,
                      $END

      $VOLUME ISPARTOF = 'hole in slat_inner',
           JRANGE =  78,  87,
           KRANGE =   1,  -1,
           LRANGE =   1,  19,
                      $END

    $REGION NAME = 'hole in slat_outer1',
           ISPARTOF = 'slat_outer1',
                       $END

      $VOLUME ISPARTOF = 'hole in slat_outer1',
           JRANGE =  22,  36,
           KRANGE =   1,  -1,
           LRANGE =   1,  19,
                      $END

      $VOLUME ISPARTOF = 'hole in slat_outer1',
           JRANGE = 155, 165,
           KRANGE =   1,  -1,
           LRANGE =   1,  19,
                      $END

    $REGION NAME = 'hole in slat_outer2',
           ISPARTOF = 'slat_outer2',
                       $END

      $VOLUME ISPARTOF = 'hole in slat_outer2',
           JRANGE =  22,  36,
           KRANGE =   1,  -1,
           LRANGE =   1,  19,
                      $END

      $VOLUME ISPARTOF = 'hole in slat_outer2',
           JRANGE = 155, 165,
           KRANGE =   1,  -1,
           LRANGE =   1,  19,
                      $END

    $REGION NAME = 'hole in slat_outer3',
           ISPARTOF = 'slat_outer3',
                       $END

      $VOLUME ISPARTOF = 'hole in slat_outer3',
           JRANGE =  22,  36,
           KRANGE =   1,  -1,
           LRANGE =   1,  19,
                      $END

      $VOLUME ISPARTOF = 'hole in slat_outer3',
           JRANGE = 155, 165,
           KRANGE =   1,  -1,
           LRANGE =   1,  19,
                      $END

    $REGION NAME = 'hole in wing_collar',
           ISPARTOF = 'wing_collar',
                       $END

      $VOLUME ISPARTOF = 'hole in wing_collar',
           JRANGE =  28,  43,
           KRANGE =  13,  -1,
           LRANGE =   1,  19,
                      $END

      $VOLUME ISPARTOF = 'hole in wing_collar',
           JRANGE = 217, 232,
           KRANGE =  13,  -1,
           LRANGE =   1,  19,
                      $END

    $REGION NAME = 'hole in wing1',
           ISPARTOF = 'wing1',
                       $END

      $VOLUME ISPARTOF = 'hole in wing1',
           JRANGE =  37,  52,
           KRANGE =   1,  -1,
           LRANGE =   1,  19,
                      $END

      $VOLUME ISPARTOF = 'hole in wing1',
           JRANGE = 226, 241,
           KRANGE =   1,  -1,
           LRANGE =   1,  19,
                      $END

    $REGION NAME = 'hole in wing2',
           ISPARTOF = 'wing2',
                       $END

      $VOLUME ISPARTOF = 'hole in wing2',
           JRANGE =  37,  52,
           KRANGE =   1,  -1,
           LRANGE =   1,  19,
                      $END

      $VOLUME ISPARTOF = 'hole in wing2',
           JRANGE = 226, 241,
           KRANGE =   1,  -1,
           LRANGE =   1,  19,
                      $END

    $REGION NAME = 'hole in wing3',
           ISPARTOF = 'wing3',
                       $END

      $VOLUME ISPARTOF = 'hole in wing3',
           JRANGE =  37,  52,
           KRANGE =   1,  -1,
           LRANGE =   1,  19,
                      $END

      $VOLUME ISPARTOF = 'hole in wing3',
           JRANGE = 226, 241,
           KRANGE =   1,  -1,
           LRANGE =   1,  19,
                      $END

    $REGION NAME = 'hole in wing4',
           ISPARTOF = 'wing4',
                       $END

      $VOLUME ISPARTOF = 'hole in wing4',
           JRANGE =  37,  52,
           KRANGE =   1,  -1,
           LRANGE =   1,  19,
                      $END

      $VOLUME ISPARTOF = 'hole in wing4',
           JRANGE = 226, 241,
           KRANGE =   1,  -1,
           LRANGE =   1,  19,
                      $END

    $REGION NAME = 'hole in flap_collar',
           ISPARTOF = 'flap_collar',
                       $END

      $VOLUME ISPARTOF = 'hole in flap_collar',
           JRANGE =  25,  34,
           KRANGE =  19,  -1,
           LRANGE =   1,  19,
                      $END

      $VOLUME ISPARTOF = 'hole in flap_collar',
           JRANGE = 159, 169,
           KRANGE =  19,  -1,
           LRANGE =   1,  19,
                      $END

    $REGION NAME = 'hole in flap1',
           ISPARTOF = 'flap1',
                       $END

      $VOLUME ISPARTOF = 'hole in flap1',
           JRANGE =  37,  46,
           KRANGE =   1,  -1,
           LRANGE =   1,  19,
                      $END

      $VOLUME ISPARTOF = 'hole in flap1',
           JRANGE = 171, 181,
           KRANGE =   1,  -1,
           LRANGE =   1,  19,
                      $END

    $REGION NAME = 'hole in flap2',
           ISPARTOF = 'flap2',
                       $END

      $VOLUME ISPARTOF = 'hole in flap2',
           JRANGE =  37,  46,
           KRANGE =   1,  -1,
           LRANGE =   1,  19,
                      $END

      $VOLUME ISPARTOF = 'hole in flap2',
           JRANGE = 171, 181,
           KRANGE =   1,  -1,
           LRANGE =   1,  19,
                      $END
C
C ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C  CLEAN-UP:  Blank grid points that are inside the body, in overlap regions of high gradients, etc. 
C ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C
    $REGION NAME = 'hole in body',
           ISPARTOF = 'body',
                       $END

      $VOLUME ISPARTOF = 'hole in body',
           JRANGE = 144, 149,
           KRANGE =  37,  39,
           LRANGE =   1,  -1,
                      $END

    $REGION NAME = 'hole2 in slat_colouter',
           ISPARTOF = 'slat_colouter',
                       $END

      $VOLUME ISPARTOF = 'hole2 in slat_colouter',
           JRANGE = 124, 128,
           KRANGE =   1,   1,
           LRANGE =   1,  20,
                      $END

    $REGION NAME = 'hole in slat_tecapcolupr',
           ISPARTOF = 'slat_tecapcolupr',
                       $END

      $VOLUME ISPARTOF = 'hole in slat_tecapcolupr',
           JRANGE =  34,  -1,
           KRANGE =   1,   2,
           LRANGE =   1,  22,
                      $END

    $REGION NAME = 'hole2 in wing_collar',
           ISPARTOF = 'wing_collar',
                       $END

      $VOLUME ISPARTOF = 'hole2 in wing_collar',
           JRANGE = 122, 123,
           KRANGE =   1,   1,
           LRANGE =   1,  23,
                      $END

      $VOLUME ISPARTOF = 'hole2 in wing_collar',
           JRANGE = 205, 215,
           KRANGE =   1,   1,
           LRANGE =   1,  25,
                      $END

    $REGION NAME = 'hole2 in flap_collar',
           ISPARTOF = 'flap_collar',
                       $END

      $VOLUME ISPARTOF = 'hole2 in flap_collar',
           JRANGE = 103, 105,
           KRANGE =   1,   2,
           LRANGE =   1,  11,
                      $END

      $VOLUME ISPARTOF = 'hole2 in flap_collar',
           JRANGE = 106, 107,
           KRANGE =   4,   6,
           LRANGE =   1,  23,
                      $END

      $VOLUME ISPARTOF = 'hole2 in flap_collar',
           JRANGE = 113, 113,
           KRANGE =  11,  13,
           LRANGE =   1,  30,
                      $END
C
C ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C  CLEAN-UP:  UnBlank grid points that have been cut-out for unknown reasons. 
C ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C
    $REGION NAME = 'Unblank body',
           ISPARTOF = 'body',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank body',
           JRANGE =  15,  19,
           KRANGE =  -2,  -1,
           LRANGE =   1,  21,
                      $END

      $VOLUME ISPARTOF = 'Unblank body',
           JRANGE = 112, 131,
           KRANGE =  25,  32,
           LRANGE =   1,  23,
                      $END

      $VOLUME ISPARTOF = 'Unblank body',
           JRANGE = 139, 146,
           KRANGE =  28,  35,
           LRANGE =   1,  23,
                      $END

      $VOLUME ISPARTOF = 'Unblank body',
           JRANGE = 146, 151,
           KRANGE =  41,  44,
           LRANGE =   1,  34,
                      $END

      $VOLUME ISPARTOF = 'Unblank body',
           JRANGE = 263, 266,
           KRANGE =  -2,  -1,
           LRANGE =   1,  12,
                      $END

    $REGION NAME = 'Unblank slat_colinner',
           ISPARTOF = 'slat_colinner',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank slat_colinner',
           JRANGE =  65,  75,
           KRANGE =  10,  16,
           LRANGE =   1,  26,
                      $END

    $REGION NAME = 'Unblank slat_inner',
           ISPARTOF = 'slat_inner',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank slat_inner',
           JRANGE =  70,  75,
           KRANGE =   1,  -1,
           LRANGE =   1,  26,
                      $END

    $REGION NAME = 'Unblank slat_outer1',
           ISPARTOF = 'slat_outer1',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank slat_outer1',
           JRANGE =  59,  62,
           KRANGE =  93, 120,
           LRANGE =   1,   2,
                      $END

    $REGION NAME = 'Unblank slat_outer2',
           ISPARTOF = 'slat_outer2',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank slat_outer2',
           JRANGE =  39, 100,
           KRANGE =   1,   5,
           LRANGE =   1,   2,
                      $END

      $VOLUME ISPARTOF = 'Unblank slat_outer2',
           JRANGE =  39,  45,
           KRANGE = 115, 125,
           LRANGE =   1,   2,
                      $END

    $REGION NAME = 'Unblank slat_outer3',
           ISPARTOF = 'slat_outer3',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank slat_outer3',
           JRANGE =  39,  45,
           KRANGE =   1,   5,
           LRANGE =   1,   2,
                      $END

    $REGION NAME = 'Unblank slat_tecapcollwr',
           ISPARTOF = 'slat_tecapcollwr',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank slat_tecapcollwr',
           JRANGE =   1,   4,
           KRANGE =   4,   9,
           LRANGE =   1,  24,
                      $END

    $REGION NAME = 'Unblank slat_tecaplwr',
           ISPARTOF = 'slat_tecaplwr',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank slat_tecaplwr',
           JRANGE =   1,  -1,
           KRANGE =   1,  -1,
           LRANGE =   1,  19,
                      $END

    $REGION NAME = 'Unblank slat_tecapupr',
           ISPARTOF = 'slat_tecapupr',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank slat_tecapupr',
           JRANGE =   1,  -1,
           KRANGE =   1,  -1,
           LRANGE =   1,  19,
                      $END

    $REGION NAME = 'Unblank slat_tipcap1',
           ISPARTOF = 'slat_tipcap1',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank slat_tipcap1',
           JRANGE =   1,  -1,
           KRANGE =  -3,  -1,
           LRANGE =   1,  19,
                      $END

    $REGION NAME = 'Unblank slat_tipcap2',
           ISPARTOF = 'slat_tipcap2',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank slat_tipcap2',
           JRANGE =   1,  25,
           KRANGE =   1,   3,
           LRANGE =   1,  10,
                      $END

    $REGION NAME = 'Unblank wing_collar',
           ISPARTOF = 'wing_collar',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank wing_collar',
           JRANGE =  12,  38,
           KRANGE =   4,   4,
           LRANGE =   1,  38,
                      $END

    $REGION NAME = 'Unblank wing_tecap',
           ISPARTOF = 'wing_tecap',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank wing_tecap',
           JRANGE =   1,  -1,
           KRANGE =   1,  -1,
           LRANGE =   1,  10,
                      $END

    $REGION NAME = 'Unblank wing1',
           ISPARTOF = 'wing1',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank wing1',
           JRANGE =  53,  73,
           KRANGE =   1,  -1,
           LRANGE =   1,  19,
                      $END

      $VOLUME ISPARTOF = 'Unblank wing1',
           JRANGE =  69,  74,
           KRANGE =   1,  -1,
           LRANGE =   1,  30,
                      $END

    $REGION NAME = 'Unblank wing2',
           ISPARTOF = 'wing2',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank wing2',
           JRANGE =  53,  73,
           KRANGE =   1,  -1,
           LRANGE =   1,  19,
                      $END

      $VOLUME ISPARTOF = 'Unblank wing2',
           JRANGE =  69,  74,
           KRANGE =   1,  -1,
           LRANGE =   1,  30,
                      $END

    $REGION NAME = 'Unblank wing3',
           ISPARTOF = 'wing3',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank wing3',
           JRANGE =  53,  73,
           KRANGE =   1,  -1,
           LRANGE =   1,  19,
                      $END

      $VOLUME ISPARTOF = 'Unblank wing3',
           JRANGE =  69,  74,
           KRANGE =   1,  -1,
           LRANGE =   1,  30,
                      $END

      $VOLUME ISPARTOF = 'Unblank wing3',
           JRANGE = 203, 208,
           KRANGE =   1,  11,
           LRANGE =   1,   2,
                      $END

    $REGION NAME = 'Unblank wing4',
           ISPARTOF = 'wing4',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank wing4',
           JRANGE =  53,  73,
           KRANGE =   1,  -1,
           LRANGE =   1,  19,
                      $END

      $VOLUME ISPARTOF = 'Unblank wing4',
           JRANGE =  69,  74,
           KRANGE =   1,  -1,
           LRANGE =   1,  30,
                      $END

    $REGION NAME = 'Unblank wing_tecapcol',
           ISPARTOF = 'wing_tecapcol',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank wing_tecapcol',
           JRANGE =   1,  38,
           KRANGE =   1,  16,
           LRANGE =   1,  26,
                      $END

      $VOLUME ISPARTOF = 'Unblank wing_tecapcol',
           JRANGE =  68,  -1,
           KRANGE =   1,  -1,
           LRANGE =   1,  26,
                      $END

    $REGION NAME = 'Unblank flap_collar',
           ISPARTOF = 'flap_collar',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank flap_collar',
           JRANGE =  34, 159,
           KRANGE =  20,  -1,
           LRANGE =   1,  25,
                      $END

      $VOLUME ISPARTOF = 'Unblank flap_collar',
           JRANGE =  55,  58,
           KRANGE =  11,  14,
           LRANGE =   1,  23,
                      $END

      $VOLUME ISPARTOF = 'Unblank flap_collar',
           JRANGE =  61,  64,
           KRANGE =  10,  13,
           LRANGE =   1,  16,
                      $END

      $VOLUME ISPARTOF = 'Unblank flap_collar',
           JRANGE =  74,  88,
           KRANGE =   4,  11,
           LRANGE =   1,  28,
                      $END

      $VOLUME ISPARTOF = 'Unblank flap_collar',
           JRANGE =  87, 103,
           KRANGE =   3,   8,
           LRANGE =   1,  30,
                      $END

      $VOLUME ISPARTOF = 'Unblank flap_collar',
           JRANGE = 110, 113,
           KRANGE =   4,   5,
           LRANGE =   1,  30,
                      $END

      $VOLUME ISPARTOF = 'Unblank flap_collar',
           JRANGE = 114, 133,
           KRANGE =   4,  15,
           LRANGE =   1,  30,
                      $END

      $VOLUME ISPARTOF = 'Unblank flap_collar',
           JRANGE = 145, 149,
           KRANGE =   7,  11,
           LRANGE =   1,  28,
                      $END

      $VOLUME ISPARTOF = 'Unblank flap_collar',
           JRANGE = 151, 156,
           KRANGE =  23,  -1,
           LRANGE =   1,   2,
                      $END

    $REGION NAME = 'Unblank flap1',
           ISPARTOF = 'flap1',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank flap1',
           JRANGE =  46, 171,
           KRANGE =   1,  -1,
           LRANGE =   1,  25,
                      $END

    $REGION NAME = 'Unblank flap2',
           ISPARTOF = 'flap2',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank flap2',
           JRANGE =  46, 171,
           KRANGE =   1,  -1,
           LRANGE =   1,  25,
                      $END

    $REGION NAME = 'Unblank flap_cove',
           ISPARTOF = 'flap_cove',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank flap_cove',
           JRANGE =   1,  -1,
           KRANGE =   1,  -1,
           LRANGE =   1,  37,
                      $END

    $REGION NAME = 'Unblank box_wing',
           ISPARTOF = 'box_wing',
           TYPE = 'UNBL',
                       $END

      $VOLUME ISPARTOF = 'Unblank box_wing',
           JRANGE = 130, 130,
           KRANGE = 123, 124,
           LRANGE =  44,  46,
                      $END
C
C ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C  P H A N T O M   C U T T E R S 
C ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C
 $HCUT NAME = 'pha_fs',
     MEMBER = 'phantom_flapseal',
    EXCLUDE = 'wing_tecapcol', 'wing_tecap', 
              'flap_collar', 'flap_tecapcol', 'flap_tecap',
 $END
