
# INITIAL MODEL
maestro.model_file = ""

maestro.drdxfac = 5

# PROBLEM SIZE
geometry.prob_lo     = -4.e8  -4.e8   4.e8
geometry.prob_hi     =  4.e8   4.e8  12.e8

# BOUNDARY CONDITIONS
# 0 = Interior   3 = Symmetry
# 1 = Inflow     4 = Slipwall
# 2 = Outflow    5 = NoSlipWall
maestro.lo_bc = 0 0 3
maestro.hi_bc = 0 0 3
geometry.is_periodic =  1 1 0

# VERBOSITY
maestro.v              = 1       # verbosity

# DEBUG FOR NAN
amrex.fpe_trap_invalid = 1       # floating point exception

# GRIDDING AND REFINEMENT
#amr.n_cell = 128 128 192
amr.n_cell = 256 256 256
amr.max_grid_size      = 64
amr.max_level          = 0       # maximum level number allowed
maestro.regrid_int     = 2       # how often to regrid
amr.ref_ratio          = 2 2 2 2 2 2 # refinement ratio
amr.blocking_factor    = 32       # block factor in grid generation
amr.refine_grid_layout = 0       # chop grids up into smaller grids if nprocs > ngrids

# TIME STEPPING
maestro.max_step  = 10000000
maestro.stop_time = 1583.1276
maestro.cfl       = 0.7    # cfl number for hyperbolic system
                           # In this test problem, the velocity is
		           # time-dependent.  We could use 0.9 in
		           # the 3D test, but need to use 0.7 in 2D
		           # to satisfy CFL condition.

# ALGORITHMIC OPTIONS
maestro.evolve_base_state = false
maestro.do_initial_projection = true
maestro.init_divu_iter        = 1
maestro.init_iter             = 1

maestro.anelastic_cutoff_density = 1.e-5
maestro.base_cutoff_density = 1.e-5

maestro.do_sponge = 0
maestro.sponge_center_density = 1.e-3
maestro.sponge_kappa = 10.e0

maestro.init_shrink = 0.01e0
maestro.use_soundspeed_firstdt = true
maestro.use_divu_firstdt = true

maestro.use_tfromp = true
maestro.use_exact_base_state = false

maestro.do_heating = true

# PLOTFILES
maestro.plot_base_name  = /home/alice/raid/MAESTROeX/code_comp/3plt_    # root name of plot file
maestro.plot_int   = 100      # number of timesteps between plot files
#maestro.plot_deltat = 50.0e0
maestro.small_plot_vars = rho Pi p0 tpert circ_velocity radial_velocity
maestro.plot_Hext = true

# CHECKPOINT
maestro.check_base_name = /home/alice/raid/MAESTROeX/code_comp/chk_
maestro.chk_deltat    = 50.0e0

# tolerances for the initial projection
maestro.eps_init_proj_cart = 5.e-12
maestro.eps_init_proj_sph  = 5.e-10
# tolerances for the divu iterations
maestro.eps_divu_cart      = 5.e-12
maestro.eps_divu_sph       = 5.e-10
maestro.divu_iter_factor   = 100.
maestro.divu_level_factor  = 10.
# tolerances for the MAC projection
maestro.eps_mac            = 1.e-10
maestro.eps_mac_max        = 1.e-8
maestro.mac_level_factor   = 10.
maestro.eps_mac_bottom     = 1.e-3
# tolerances for the nodal projection
maestro.eps_hg             = 5.e-11
maestro.eps_hg_max         = 5.e-10
maestro.hg_level_factor    = 10.
maestro.eps_hg_bottom      = 1.e-4

maestro.do_burning = false

&probin

  ! override the default values of the probin namelist values here
  heating_factor = 9.020952262e19
  g0 = -9.021899571e8
  rho_0 = 1.82094e6
  p_0 = 2.7647358e23
  gamma1 = 1.3e0

  !extern

  ! Note that some of the parameters in this
  ! namelist are specific to the default EOS,
  ! network, and/or integrator used in the
  ! makefile. If you try a different set of
  ! microphysics routines be sure to check that
  ! the parameters in here are consistent, as
  ! Fortran does not like seeing unknown variables
  ! in the namelist.

  eos_gamma = 1.66666667d0

/
