 &topology
  nr=295
  nt=142
  np=222
 /
 &data
  r0=1.00
  r1=30.00
  rfrac=       0.000000E+00, 3.103448E-04, 6.896552E-03, 2.326615E-02,
    4.736292E-02, 5.893451E-01, 1.000000E+00
  drratio=     1.000000E+00, 1.233571E+01, 3.224090E+00, 2.000000E+00,
    1.044389E+01, 1.000000E+00
  nfrmesh=5
  tfrac=       0.000000E+00, 1.111111E-01, 3.024470E-01, 3.580000E-01,
    4.504444E-01, 5.059974E-01, 6.507743E-01, 8.732114E-01,
    8.888889E-01, 1.000000E+00
  dtratio=     6.418619E-01, 1.000000E+00, 7.500000E-01, 1.000000E+00,
    1.333333E+00, 1.000000E+00, 2.000000E+00, 1.000000E+00,
    1.266770E+00
  nftmesh=5
  pfrac=       0.000000E+00, 1.076870E-01, 1.759297E-01, 2.037062E-01,
    2.583173E-01, 2.860938E-01, 3.576870E-01, 4.679008E-01
  dpratio=     5.000000E-01, 1.000000E+00, 7.500000E-01, 1.000000E+00,
    1.333333E+00, 1.000000E+00, 2.000000E+00, 1.000000E+00
  nfpmesh=5
  phishift= 3.767743E+00
!
! RESTART INFORMATION
!
  rs_final=.false.
  legacy_output_filenames=.true.
!
! PLOT INFORMATION
!
  long_sequence_numbers=.true.
  ipltxint=400
  plotlist='vr','vt','vp','br','bt','bp','jr','jt','jp','rho','t','heat','ep','em','zp','zm'
  tmax=120.000000
!
! 2D TP SLICE INFORMATION
!
  slice_txint=0.1
  slice_plotlist='vr','vt','vp','br','bt','bp','jr','jt','jp','rho','t','ep','em','zp','zm'
  slice_tp_radii=28.0
!
! Timestep and preconditioners
!
  ntmax=100000000
  dtmax=0.002
  dtmin=1e-7
  dt_init=0.000010
  use_dt_init_on_restart=.false.
  dt_max_wave_cfl=300.
!
! RESITIVITY / VISCOSITY
!
  slund=1.0e6
  eta_profile='CUSTOM_TP+R_PROFILE'
  eta_profile_tp_file='dsprof_lin_limited_tp.h5'
!
  visc=0.001
  visc_profile='CUSTOM_TP+R_PROFILE'
  visc_profile_tp_file='dsprof_sqrt_limited_tp.h5'
!
! CALCULATION FRAME
!
  calculation_frame='COROTATING'
  restart_calculation_frame='COROTATING'
!
! MAGNETIC FIELD SETUP
!
  initial_field='POTENTIAL_FIELD'
  bnfile='br_thermo_propagation_tp.h5'
  potential_field_bc = 'CLOSED_WALL'
  b_in_gauss=.true.
!
! REMESH OPTIONS
!
  time_at_start=<cme_erupt_last_3d_time>
!
! REMESHED FIELDS (3D Initial Condition)
!
  load_fields(1)%field='rho'
  load_fields(1)%fname='init/rho_remesh.h5'
  load_fields(1)%action='initial'
  load_fields(2)%field='t'
  load_fields(2)%fname='init/t_remesh.h5'
  load_fields(2)%action='initial'
  load_fields(3)%field='ep'
  load_fields(3)%fname='init/ep_remesh.h5'
  load_fields(3)%action='initial'
  load_fields(4)%field='em'
  load_fields(4)%fname='init/em_remesh.h5'
  load_fields(4)%action='initial'
  load_fields(5)%field='br'
  load_fields(5)%fname='init/br_sub_remesh.h5'
  load_fields(5)%action='add'
  load_fields(6)%field='bt'
  load_fields(6)%fname='init/bt_sub_remesh.h5'
  load_fields(6)%action='add'
  load_fields(7)%field='bp'
  load_fields(7)%fname='init/bp_sub_remesh.h5'
  load_fields(7)%action='add'
  load_fields(8)%field='vr'
  load_fields(8)%fname='init/vr_remesh.h5'
  load_fields(8)%action='initial'
  load_fields(9)%field='vt'
  load_fields(9)%fname='init/vt_remesh.h5'
  load_fields(9)%action='initial'
  load_fields(10)%field='vp'
  load_fields(10)%fname='init/vp_remesh.h5'
  load_fields(10)%action='initial'
!
! ALGORITHM OPTIONS
!
  use_sts_visc=.true.
  use_sts_tc=.true.
  ifprec_t=3
  ifprec_v=3
  ifprec_pot2d=3
  ifprec_divb=3
!
  epscg_a=1.e-9
  epscg_v=1.e-9
  epscg_potfld=1.e-9
  upwind_a=1.
  upwind_v=1.
  use_old_vdgv=.true.
!
  ncgmax=1000000
!
!
! BOUNDARY CONDITIONS
!
  tchromo=20000.00
  tbc0=20000.00
  rho0=20000.00
  char_bc0=.true.
  char_bc1=.true.
  ubzero=.true.
  cfl=0.5
!
! THERMODYNAMIC MHD PARAMETERS
!
  advance_tc=.true.
  tcond=1.00
  t_cutoff1=5.00e5
  nfilt_kappa=1
!
  radloss=1.00
  ifimplrad=0
  rad_law='ATHAY'
!
  tc_r=10.00
  tc_dr=0.50
  tc_fac0=1.00
  tc_fac1=0.00
  print_matrix_t=.false.
  alpha_nocoll=1.00
  tc_nocoll_r=10.00
  tc_nocoll_dr=0.50
!
! Pole Supercell Option
!
  filter_poles=.true.
!
! LIMITERS
!
  iftfloor = .true.
  tfloor = 10000.0
  ifcheck0temp=.true.
  ifrholimit = .true.
  rho_limit_factor = 0.007
  rho_limit_file = 'rho3d_initial_1au_rho40k.h5'
  max_alfven_speed_rho_mod = 40.0
!
! HEATING
!
  heatsource(1)%active=.true.
  heatsource(1)%type='exponential'
  heatsource(1)%name='Exponential (Fast Wind) Heating'
  heatsource(1)%h0=0.4350000000000000e-03
  heatsource(1)%lambda=0.1000000000000000e+01
  heatsource(1)%power=0.1200000000000000e+01
  heatsource(1)%brmax=0.2500000000000000e+00
  heatsource(1)%r_profile%active=.false.
  heatsource(1)%r_profile%f=0.1000000000000000e+01,0.1000000000000000e+01,0.1000000000000000e+01
  heatsource(1)%r_profile%x=-0.1000000000000000e+21,0.1000000000000000e+21
  heatsource(1)%r_profile%w=0.1000000000000000e+01,0.1000000000000000e+01
  heatsource(1)%t_profile%active=.false.
  heatsource(1)%t_profile%f=0.1000000000000000e+01,0.1000000000000000e+01,0.1000000000000000e+01
  heatsource(1)%t_profile%x=-0.1000000000000000e+21,0.1000000000000000e+21
  heatsource(1)%t_profile%w=0.1000000000000000e+01,0.1000000000000000e+01
  heatsource(1)%b_profile%active=.false.
  heatsource(1)%b_profile%f=0.1000000000000000e+01,0.1000000000000000e+01,0.1000000000000000e+01
  heatsource(1)%b_profile%x=-0.1000000000000000e+21,0.1000000000000000e+21
  heatsource(1)%b_profile%w=0.1000000000000000e+01,0.1000000000000000e+01
  heatsource(1)%b_attenuation=.false.
  heatsource(1)%b_cutoff=0.2265630000000000e+03
  heatsource(1)%q0=0.2000000000000000e-01
  heatsource(1)%q1=0.5000000000000000e-02
  heatsource(1)%lambda0=0.3000000000000000e-01
  heatsource(1)%lambda1=0.1500000000000000e+00
  heatsource(1)%nl_mask=.false.
  heatsource(1)%use_mask=.false.
  heatsource(2)%active=.true.
  heatsource(2)%type='exponential-b-photo-dependent'
  heatsource(2)%name='Quiet Sun and Active Region Heating'
  heatsource(2)%h0=0.5564000000000000e-01
  heatsource(2)%lambda=0.6000000000000000e-01
  heatsource(2)%power=0.1000000000000000e+01
  heatsource(2)%brmax=0.2500000000000000e+00
  heatsource(2)%r_profile%active=.false.
  heatsource(2)%r_profile%f=0.1000000000000000e+01,0.1000000000000000e+01,0.1000000000000000e+01
  heatsource(2)%r_profile%x=-0.1000000000000000e+21,0.1000000000000000e+21
  heatsource(2)%r_profile%w=0.1000000000000000e+01,0.1000000000000000e+01
  heatsource(2)%t_profile%active=.false.
  heatsource(2)%t_profile%f=0.1000000000000000e+01,0.1000000000000000e+01,0.1000000000000000e+01
  heatsource(2)%t_profile%x=-0.1000000000000000e+21,0.1000000000000000e+21
  heatsource(2)%t_profile%w=0.1000000000000000e+01,0.1000000000000000e+01
  heatsource(2)%b_profile%active=.false.
  heatsource(2)%b_profile%f=0.1000000000000000e+01,0.1000000000000000e+01,0.1000000000000000e+01
  heatsource(2)%b_profile%x=-0.1000000000000000e+21,0.1000000000000000e+21
  heatsource(2)%b_profile%w=0.1000000000000000e+01,0.1000000000000000e+01
  heatsource(2)%b_attenuation=.false.
  heatsource(2)%b_cutoff=0.2265630000000000e+03
  heatsource(2)%q0=0.2000000000000000e-01
  heatsource(2)%q1=0.5000000000000000e-02
  heatsource(2)%lambda0=0.3000000000000000e-01
  heatsource(2)%lambda1=0.1500000000000000e+00
  heatsource(2)%nl_mask=.false.
  heatsource(2)%use_mask=.true.
  heatsource(3)%active=.true.
  heatsource(3)%type='exponential-b-photo-dependent'
  heatsource(3)%name='Neutral Line Heating'
  heatsource(3)%h0=0.2745000000000000e+00
  heatsource(3)%lambda=0.3000000000000000e-01
  heatsource(3)%power=0.1000000000000000e+01
  heatsource(3)%brmax=0.2500000000000000e+00
  heatsource(3)%r_profile%active=.false.
  heatsource(3)%r_profile%f=0.1000000000000000e+01,0.1000000000000000e+01,0.1000000000000000e+01
  heatsource(3)%r_profile%x=-0.1000000000000000e+21,0.1000000000000000e+21
  heatsource(3)%r_profile%w=0.1000000000000000e+01,0.1000000000000000e+01
  heatsource(3)%t_profile%active=.false.
  heatsource(3)%t_profile%f=0.1000000000000000e+01,0.1000000000000000e+01,0.1000000000000000e+01
  heatsource(3)%t_profile%x=-0.1000000000000000e+21,0.1000000000000000e+21
  heatsource(3)%t_profile%w=0.1000000000000000e+01,0.1000000000000000e+01
  heatsource(3)%b_profile%active=.false.
  heatsource(3)%b_profile%f=0.1000000000000000e+01,0.1000000000000000e+01,0.1000000000000000e+01
  heatsource(3)%b_profile%x=-0.1000000000000000e+21,0.1000000000000000e+21
  heatsource(3)%b_profile%w=0.1000000000000000e+01,0.1000000000000000e+01
  heatsource(3)%b_attenuation=.false.
  heatsource(3)%b_cutoff=0.2265630000000000e+03
  heatsource(3)%q0=0.2000000000000000e-01
  heatsource(3)%q1=0.5000000000000000e-02
  heatsource(3)%lambda0=0.3000000000000000e-01
  heatsource(3)%lambda1=0.1500000000000000e+00
  heatsource(3)%nl_mask=.true.
  heatsource(3)%use_mask=.false.
  heatsource(4)%active=.true.
  heatsource(4)%type='exponential'
  heatsource(4)%name='Short-scale Exponential Heating'
  heatsource(4)%h0=0.1000000000000000e+00
  heatsource(4)%lambda=0.3000000000000000e-01
  heatsource(4)%power=0.1200000000000000e+01
  heatsource(4)%brmax=0.2500000000000000e+00
  heatsource(4)%r_profile%active=.false.
  heatsource(4)%r_profile%f=0.1000000000000000e+01,0.1000000000000000e+01,0.1000000000000000e+01
  heatsource(4)%r_profile%x=-0.1000000000000000e+21,0.1000000000000000e+21
  heatsource(4)%r_profile%w=0.1000000000000000e+01,0.1000000000000000e+01
  heatsource(4)%t_profile%active=.false.
  heatsource(4)%t_profile%f=0.1000000000000000e+01,0.1000000000000000e+01,0.1000000000000000e+01
  heatsource(4)%t_profile%x=-0.1000000000000000e+21,0.1000000000000000e+21
  heatsource(4)%t_profile%w=0.1000000000000000e+01,0.1000000000000000e+01
  heatsource(4)%b_profile%active=.false.
  heatsource(4)%b_profile%f=0.1000000000000000e+01,0.1000000000000000e+01,0.1000000000000000e+01
  heatsource(4)%b_profile%x=-0.1000000000000000e+21,0.1000000000000000e+21
  heatsource(4)%b_profile%w=0.1000000000000000e+01,0.1000000000000000e+01
  heatsource(4)%b_attenuation=.false.
  heatsource(4)%b_cutoff=0.2265630000000000e+03
  heatsource(4)%q0=0.2000000000000000e-01
  heatsource(4)%q1=0.5000000000000000e-02
  heatsource(4)%lambda0=0.3000000000000000e-01
  heatsource(4)%lambda1=0.1500000000000000e+00
  heatsource(4)%nl_mask=.false.
  heatsource(4)%use_mask=.false.
  heat_mask_file='closed_field_mask_pfss.h5'
  heat_file=' '
!
  add_ohmic_heating = .false.
!
! WKB WAVE PRESSURE OPTIONS
!
  advance_pw = .true.
  pw0=0.216
  rho_aw=10.0
  use_pw_theta_profile=.true.
  awthprof_th=10.0
  awthprof2_th=-10.0
  awthprof_dth=-4.0
!
! FLUX ROPES
!
! N/A
!
! N/A
!
! TRACER PARTICLES
!
  trace_particles=.true.
  trace_seed_file='<cme_erupt_last_tracer_file>'
  trace_ixint=400
!
 /
! ----------------------------------------
! MAS Thermo CME - Generated by CORHEL-CME
! ----------------------------------------
