# Define the system of units to use internally. 
InternalUnitSystem:
  UnitMass_in_cgs:     1.98848e39    # 10^6 solar masses
  UnitLength_in_cgs:   3.0856776e21  # Kiloparsecs
  UnitVelocity_in_cgs: 1e5           # Kilometres per second
  UnitCurrent_in_cgs:  1   # Amperes
  UnitTemp_in_cgs:     1   # Kelvin

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

# Parameters governing the conserved quantities statistics
Statistics:
  delta_time:          1e-2 # Time between statistics output

Scheduler:
  tasks_per_cell:      200

# Parameters governing the snapshots
Snapshots:
  basename:            CoolingHalo  # Common part of the name of output files
  time_first:          0.               # Time of the first output (in internal units)
  delta_time:          0.1             # Time difference between consecutive outputs (in internal units)

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

# Parameters related to the initial conditions
InitialConditions:
  file_name:  CoolingHalo.hdf5       # The file to read
  periodic:   1
  
# External potential parameters
IsothermalPotential:
  vrot:            200.   # Rotation speed of isothermal potential in internal units
  timestep_mult:   0.03   # Controls time step
  epsilon:         1.0    # Softening for the isothermal potential
  useabspos:       0
  position:        [0., 0., 0.]

# Cooling parameters
LambdaCooling:
  lambda_nH2_cgs:              1e-23  # Cooling rate divided by square Hydrogen number density (in cgs units [erg * s^-1 * cm^3])
  cooling_tstep_mult:          0.1    # Dimensionless pre-factor for the time-step condition
