 &topology
  nr=337
  nt=497
  np=618
 /
 &data
  r0=1.00
  r1=30.00
  rfrac=       0.000000E+00, 3.103448E-04, 1.106165E-03, 2.482759E-03,
    2.496861E-02, 5.938327E-01, 1.000000E+00
  drratio=     1.000000E+00, 2.310720E+00, 1.000000E+00, 1.721170E+01,
    2.088778E+01, 1.000000E+00
  nfrmesh=5
  tfrac=       0.000000E+00, 1.666667E-01, 2.618855E-01, 3.580000E-01,
    4.504444E-01, 6.580110E-01, 8.333333E-01, 1.000000E+00
  dtratio=     5.536758E-01, 5.375493E-01, 1.122136E-01, 1.000000E+00,
    1.721170E+01, 1.860295E+00, 1.425761E+00
  nftmesh=5
  pfrac=       0.000000E+00, 6.984151E-02, 2.212308E-01, 3.323419E-01,
    4.434530E-01, 5.883593E-01, 6.995778E-01, 8.033611E-01,
    8.579722E-01, 9.617555E-01
  dpratio=     1.444843E+00, 1.000000E+00, 1.515898E+00, 6.596748E-01,
    1.000000E+00, 5.000000E-01, 5.810000E-02, 1.000000E+00,
    1.721170E+01, 1.384234E+00
  nfpmesh=5
  phishift= 0.000000E+00
!
! RESTART INFORMATION
!
  rs_final=.false.
  legacy_output_filenames=.true.
!
! PLOT INFORMATION
!
  long_sequence_numbers=.true.
  ipltxint=200
  plotlist='vr','vt','vp','br','bt','bp','jr','jt','jp','rho','t','heat','ep','em','zp','zm'
  tmax=2.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.000001
  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_cme_tp.h5'
  potential_field_bc = 'CLOSED_WALL'
  b_in_gauss=.true.
!
! REMESH OPTIONS
!
  time_at_start=0.0
!
! 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
!
  fluxrope_preserve_br0=.false.
!
  rbsl_fluxrope(1)%add=.true.
  rbsl_fluxrope(1)%path_file='rbsl_path_fr1.h5'
  rbsl_fluxrope(1)%axial_current=23.4044
  rbsl_fluxrope(1)%minor_radius=0.0175
  rbsl_fluxrope(1)%handedness=-1
  rbsl_fluxrope(1)%mirror_poloidal=.true.
  rbsl_fluxrope(1)%insertion_time=0
!
! TRACER PARTICLES
!
  trace_particles=.true.
  trace_seed_file='tracer_input.h5'
  trace_ixint=200
!
 /
! ----------------------------------------
! MAS Thermo CME - Generated by CORHEL-CME
! ----------------------------------------
