# ------------------  INPUTS TO MAIN PROGRAM  -------------------
max_step = 100000000
stop_time =  2.5

# PROBLEM SIZE & GEOMETRY
geometry.coord_sys   = 0  # 0 => cart, 1 => RZ  2=>spherical
geometry.prob_lo     =  0     0
geometry.prob_hi     =  0.5   1.0
# use with single level
amr.n_cell           =  256   512
# use with 1 level of refinement
#amr.n_cell           =  128   256

amr.n_cell           =  32 64

# >>>>>>>>>>>>>  BC FLAGS <<<<<<<<<<<<<<<<
# 0 = Interior           3 = Symmetry
# 1 = Inflow             4 = SlipWall
# 2 = Outflow            5 = NoSlipWall
# >>>>>>>>>>>>>  BC FLAGS <<<<<<<<<<<<<<<<
geometry.is_periodic = 0 0
castro.lo_bc         = 4 4
castro.hi_bc         = 4 4

# WHICH PHYSICS
castro.do_hydro = 1
castro.do_react = 0
castro.do_grav = 1

castro.do_tracer_particles      = 1
particles.particle_init_file    = particle_file   # initial position of particles
#particles.particle_restart_file = xxxxx           # we can add new particles at restart
particles.timestamp_dir         = particle_dir    # directory for output
particles.timestamp_density     = 1
particles.timestamp_temperature = 1
particles.v                     = 1               # verbosity

gravity.gravity_type = ConstantGrav
gravity.const_grav   = -1.0

# TIME STEP CONTROL
castro.cfl            = 0.9     # cfl number for hyperbolic system
castro.init_shrink    = 0.3     # scale back initial timestep
castro.change_max     = 1.1     # max time step growth
castro.dt_cutoff      = 5.e-20  # level 0 timestep below which we halt

# DIAGNOSTICS & VERBOSITY
castro.sum_interval   = 1       # timesteps between computing mass
castro.v              = 1       # verbosity in Castro.cpp
amr.v                 = 1       # verbosity in Amr.cpp
#amr.grid_log        = grdlog  # name of grid logging file

# REFINEMENT / REGRIDDING
amr.max_level       = 2       # maximum level number allowed
amr.ref_ratio       = 2 2 2 2 # refinement ratio
amr.regrid_int      = 2 2 2 2 # how often to regrid
amr.blocking_factor = 8       # block factor in grid generation
amr.max_grid_size   = 128
amr.n_error_buf     = 2 2 2 2 # number of buffer cells in error est

# CHECKPOINT FILES
amr.check_file      = chk        # root name of checkpoint file
amr.check_int       = -1        # number of timesteps between checkpoints

# PLOTFILES
amr.plot_file       = plt        # root name of plotfile
amr.plot_int        = 10         # number of timesteps between plotfiles
amr.plot_vars        = density xmom ymom zmom eden Temp # these variables appear in the plotfile
amr.derive_plot_vars = x_velocity y_velocity particle_count total_particle_count

#PROBIN FILENAME
amr.probin_file = probin
