Commit a098cb58 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Add the LoS parameters to the relevant parameter files

parent a85e2611
......@@ -91,6 +91,15 @@ InitialConditions:
generate_gas_in_ics: 1 # Generate gas particles from the DM-only ICs
cleanup_smoothing_lengths: 1 # Since we generate gas, make use of the (expensive) cleaning-up procedure.
# Parameters of the line-of-sight outputs
LineOfSight:
basename: eagle_los
num_along_x: 0
num_along_y: 0
num_along_z: 100
scale_factor_first: 0.1
delta_time: 1.1
# Impose primoridal metallicity
EAGLEChemistry:
init_abundance_metal: 0.
......@@ -104,6 +113,7 @@ EAGLEChemistry:
init_abundance_Silicon: 0.0
init_abundance_Iron: 0.0
# EAGLE cooling parameters
EAGLECooling:
dir_name: ./coolingtables/
H_reion_z: 7.5 # Planck 2018
......
......@@ -91,6 +91,15 @@ InitialConditions:
generate_gas_in_ics: 1 # Generate gas particles from the DM-only ICs
cleanup_smoothing_lengths: 1 # Since we generate gas, make use of the (expensive) cleaning-up procedure.
# Parameters of the line-of-sight outputs
LineOfSight:
basename: eagle_los
num_along_x: 0
num_along_y: 0
num_along_z: 100
scale_factor_first: 0.1
delta_time: 1.1
# Impose primoridal metallicity
EAGLEChemistry:
init_abundance_metal: 0.
......
......@@ -89,6 +89,15 @@ InitialConditions:
generate_gas_in_ics: 1 # Generate gas particles from the DM-only ICs
cleanup_smoothing_lengths: 1 # Since we generate gas, make use of the (expensive) cleaning-up procedure.
# Parameters of the line-of-sight outputs
LineOfSight:
basename: eagle_los
num_along_x: 0
num_along_y: 0
num_along_z: 100
scale_factor_first: 0.1
delta_time: 1.1
# Impose primoridal metallicity
EAGLEChemistry:
init_abundance_metal: 0.
......
......@@ -88,6 +88,15 @@ InitialConditions:
generate_gas_in_ics: 1 # Generate gas particles from the DM-only ICs
cleanup_smoothing_lengths: 1 # Since we generate gas, make use of the (expensive) cleaning-up procedure.
# Parameters of the line-of-sight outputs
LineOfSight:
basename: eagle_los
num_along_x: 0
num_along_y: 0
num_along_z: 100
scale_factor_first: 0.1
delta_time: 1.1
# Impose primoridal metallicity
EAGLEChemistry:
init_abundance_metal: 0.
......
......@@ -62,7 +62,7 @@ Scheduler:
Restarts:
onexit: 1
delta_hours: 2.0
delta_hours: 6.0
# Parameters related to the initial conditions
InitialConditions:
......@@ -73,6 +73,15 @@ InitialConditions:
generate_gas_in_ics: 1 # Generate gas particles from the DM-only ICs
cleanup_smoothing_lengths: 1 # Since we generate gas, make use of the (expensive) cleaning-up procedure.
# Parameters of the line-of-sight outputs
LineOfSight:
basename: los
num_along_x: 0
num_along_y: 0
num_along_z: 100
scale_factor_first: 0.1
delta_time: 1.1
# Quick Lyman-alpha cooling (EAGLE with fixed primoridal Z)
QLACooling:
dir_name: ./coolingtables/
......
......@@ -110,11 +110,11 @@ void los_init(const double dim[3], struct los_props *los_params,
/* How many line of sights in each plane. */
los_params->num_along_z =
parser_get_opt_param_int(params, "LineOfSight:num_along_z", 0);
parser_get_param_int(params, "LineOfSight:num_along_z");
los_params->num_along_x =
parser_get_opt_param_int(params, "LineOfSight:num_along_x", 0);
parser_get_param_int(params, "LineOfSight:num_along_x");
los_params->num_along_y =
parser_get_opt_param_int(params, "LineOfSight:num_along_y", 0);
parser_get_param_int(params, "LineOfSight:num_along_y");
/* Min/max range across x,y and z (simulation axes) where random
* LOS's are allowed. */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment