From 2470a986dbcd13d37e3bf9bb15b0009bbf7dd0e4 Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <schaller@strw.leidenuniv.nl> Date: Tue, 17 Sep 2019 14:50:35 +0200 Subject: [PATCH] Updated all the examples to use the new birth time overwrite parameter. --- examples/EAGLE_low_z/EAGLE_100/eagle_100.yml | 2 ++ examples/EAGLE_low_z/EAGLE_12/eagle_12.yml | 4 +++- examples/EAGLE_low_z/EAGLE_25/eagle_25.yml | 2 ++ examples/EAGLE_low_z/EAGLE_50/eagle_50.yml | 2 ++ examples/EAGLE_low_z/EAGLE_6/eagle_6.yml | 2 ++ .../IsolatedGalaxy_feedback/isolated_galaxy.yml | 5 +++++ .../IsolatedGalaxy_starformation/isolated_galaxy.yml | 5 +++++ 7 files changed, 21 insertions(+), 1 deletion(-) diff --git a/examples/EAGLE_low_z/EAGLE_100/eagle_100.yml b/examples/EAGLE_low_z/EAGLE_100/eagle_100.yml index 51ebde355c..0cc97babbd 100644 --- a/examples/EAGLE_low_z/EAGLE_100/eagle_100.yml +++ b/examples/EAGLE_low_z/EAGLE_100/eagle_100.yml @@ -57,6 +57,8 @@ SPH: h_min_ratio: 0.1 # Minimal smoothing in units of softening. CFL_condition: 0.1 # Courant-Friedrich-Levy condition for time integration. minimal_temperature: 100 # (internal units) + overwrite_birth_time: 1 + birth_time: 0.33333 # Pretend all the stars were born at z = 2 # Parameters of the stars neighbour search Stars: diff --git a/examples/EAGLE_low_z/EAGLE_12/eagle_12.yml b/examples/EAGLE_low_z/EAGLE_12/eagle_12.yml index 4649dc372d..73f4e1a8d4 100644 --- a/examples/EAGLE_low_z/EAGLE_12/eagle_12.yml +++ b/examples/EAGLE_low_z/EAGLE_12/eagle_12.yml @@ -63,7 +63,9 @@ SPH: Stars: resolution_eta: 1.1642 # Target smoothing length in units of the mean inter-particle separation h_tolerance: 7e-3 - + overwrite_birth_time: 1 + birth_time: 0.33333 # Pretend all the stars were born at z = 2 + # Parameters for the Friends-Of-Friends algorithm FOF: basename: fof_output # Filename for the FOF outputs. diff --git a/examples/EAGLE_low_z/EAGLE_25/eagle_25.yml b/examples/EAGLE_low_z/EAGLE_25/eagle_25.yml index cd2b4f06b3..f7a9394299 100644 --- a/examples/EAGLE_low_z/EAGLE_25/eagle_25.yml +++ b/examples/EAGLE_low_z/EAGLE_25/eagle_25.yml @@ -71,6 +71,8 @@ SPH: Stars: resolution_eta: 1.1642 # Target smoothing length in units of the mean inter-particle separation h_tolerance: 7e-3 + overwrite_birth_time: 1 + birth_time: 0.33333 # Pretend all the stars were born at z = 2 # Parameters for the Friends-Of-Friends algorithm FOF: diff --git a/examples/EAGLE_low_z/EAGLE_50/eagle_50.yml b/examples/EAGLE_low_z/EAGLE_50/eagle_50.yml index 54a1c47404..ea46a9ad67 100644 --- a/examples/EAGLE_low_z/EAGLE_50/eagle_50.yml +++ b/examples/EAGLE_low_z/EAGLE_50/eagle_50.yml @@ -62,6 +62,8 @@ SPH: Stars: resolution_eta: 1.1642 # Target smoothing length in units of the mean inter-particle separation h_tolerance: 7e-3 + overwrite_birth_time: 1 + birth_time: 0.33333 # Pretend all the stars were born at z = 2 # Parameters for the Friends-Of-Friends algorithm FOF: diff --git a/examples/EAGLE_low_z/EAGLE_6/eagle_6.yml b/examples/EAGLE_low_z/EAGLE_6/eagle_6.yml index 140dec0022..27082dd0b8 100644 --- a/examples/EAGLE_low_z/EAGLE_6/eagle_6.yml +++ b/examples/EAGLE_low_z/EAGLE_6/eagle_6.yml @@ -72,6 +72,8 @@ SPH: Stars: resolution_eta: 1.1642 # Target smoothing length in units of the mean inter-particle separation h_tolerance: 7e-3 + overwrite_birth_time: 1 + birth_time: 0.33333 # Pretend all the stars were born at z = 2 # Parameters for the Friends-Of-Friends algorithm FOF: diff --git a/examples/IsolatedGalaxy/IsolatedGalaxy_feedback/isolated_galaxy.yml b/examples/IsolatedGalaxy/IsolatedGalaxy_feedback/isolated_galaxy.yml index 79fe568269..dcd580243c 100644 --- a/examples/IsolatedGalaxy/IsolatedGalaxy_feedback/isolated_galaxy.yml +++ b/examples/IsolatedGalaxy/IsolatedGalaxy_feedback/isolated_galaxy.yml @@ -45,6 +45,11 @@ SPH: h_max: 10. minimal_temperature: 100. +# Parameters for the stars neighbour search +Stars: + overwrite_birth_time: 1 # Make sure the stars in the ICs do not do any feedback + birth_time: -1. # by setting all of their birth times to -1 + # Standard EAGLE cooling options EAGLECooling: dir_name: ./coolingtables/ # Location of the Wiersma+08 cooling tables diff --git a/examples/IsolatedGalaxy/IsolatedGalaxy_starformation/isolated_galaxy.yml b/examples/IsolatedGalaxy/IsolatedGalaxy_starformation/isolated_galaxy.yml index d917f92672..fe57f693b0 100644 --- a/examples/IsolatedGalaxy/IsolatedGalaxy_starformation/isolated_galaxy.yml +++ b/examples/IsolatedGalaxy/IsolatedGalaxy_starformation/isolated_galaxy.yml @@ -45,6 +45,11 @@ SPH: h_max: 10. minimal_temperature: 10. # Kelvin +# Parameters for the stars neighbour search +Stars: + overwrite_birth_time: 1 # Make sure the stars in the ICs do not do any feedback + birth_time: -1. # by setting all of their birth times to -1 + # Standard EAGLE cooling options EAGLECooling: dir_name: ./coolingtables/ # Location of the Wiersma+08 cooling tables -- GitLab