MetaData:
  run_name: Ionization Equilibrium Test

# Define the system of units to use internally. 
InternalUnitSystem:
  UnitMass_in_cgs:     1.98848e23    # 10^-10 M_sun in grams
  UnitLength_in_cgs:   3.08567758e15 # 1 pc in cm
  UnitVelocity_in_cgs: 1e5           # 1 km/s in cm/s
  UnitCurrent_in_cgs:  1             # Amperes
  UnitTemp_in_cgs:     1             # Kelvin

# Parameters governing the time integration
TimeIntegration:
  max_nr_rt_subcycles: 1
  time_begin: 0.    # The starting time of the simulation (in internal units).
  time_end:   6.250000e-03  # The end time of the simulation (in internal units).
  dt_min:     1.e-6 # The minimal time-step size of the simulation (in internal units).
  dt_max:     6.250000e-03  # The maximal time-step size of the simulation (in internal units).

# Parameters governing the snapshots
Snapshots:
  basename:            output # Common part of the name of output files
  time_first:          0.    # Time of the first output (in internal units)
  delta_time:          4.e-2

# Parameters governing the conserved quantities statistics
Statistics:
  time_first:          0.
  delta_time:          1. # Time between statistics output

# Parameters for the hydrodynamics scheme
SPH:
  resolution_eta:        1.2348   # Target smoothing length in units of the mean inter-particle separation (1.2348 == 48Ngbs with the cubic spline kernel).
  CFL_condition:         0.6      # Courant-Friedrich-Levy condition for time integration.
  minimal_temperature:   10.      # Kelvin

# Parameters related to the initial conditions
InitialConditions:
  file_name:  ./ionization_equilibrium_test.hdf5  # The file to read
  periodic:   0                     # periodic ICs

GEARRT:
  f_reduce_c: 1.                                    # reduce the speed of light for the RT solver by multiplying c with this factor
  CFL_condition: 0.9                                # CFL condition for RT, independent of hydro
  photon_groups_Hz: [3.288e15, 5.945e15, 13.157e15] # Lower photon frequency group bin edges in Hz. Needs to have exactly N elements, where N is the configured number of bins --with-RT=GEAR_N
  stellar_luminosity_model: const                   # Which model to use to determine the stellar luminosities.
  const_stellar_luminosities_LSol: [1., 1., 1.]     # (Conditional) constant star luminosities for each photon frequency group to use if stellar_luminosity_model:const is set, in units of Solar Luminosity.
  set_equilibrium_initial_ionization_mass_fractions: 1   # (Optional) set the initial ionization fractions depending on gas temperature assuming ionization equilibrium.
  hydrogen_mass_fraction:   0.76                    # total hydrogen mass fraction
  set_initial_ionization_mass_fractions: 0          # (Optional) manually overwrite initial mass fraction of each species (using the values you set below)
  mass_fraction_HI : 0.2
  mass_fraction_HII: 0.2
  mass_fraction_HeI: 0.2
  mass_fraction_HeII: 0.2
  mass_fraction_HeIII: 0.2
  stellar_spectrum_type: 0                          # Which radiation spectrum to use. 0: constant from 0 until some max frequency set by stellar_spectrum_const_max_frequency_Hz. 1: blackbody spectrum.
  stellar_spectrum_const_max_frequency_Hz: 1.e17    # (Conditional) if stellar_spectrum_type=0, use this maximal frequency for the constant spectrum. 
