Skip to content
Snippets Groups Projects
Commit 2470a986 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Updated all the examples to use the new birth time overwrite parameter.

parent 31fd1534
No related branches found
No related tags found
No related merge requests found
...@@ -57,6 +57,8 @@ SPH: ...@@ -57,6 +57,8 @@ SPH:
h_min_ratio: 0.1 # Minimal smoothing in units of softening. h_min_ratio: 0.1 # Minimal smoothing in units of softening.
CFL_condition: 0.1 # Courant-Friedrich-Levy condition for time integration. CFL_condition: 0.1 # Courant-Friedrich-Levy condition for time integration.
minimal_temperature: 100 # (internal units) 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 # Parameters of the stars neighbour search
Stars: Stars:
......
...@@ -63,7 +63,9 @@ SPH: ...@@ -63,7 +63,9 @@ SPH:
Stars: Stars:
resolution_eta: 1.1642 # Target smoothing length in units of the mean inter-particle separation resolution_eta: 1.1642 # Target smoothing length in units of the mean inter-particle separation
h_tolerance: 7e-3 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 # Parameters for the Friends-Of-Friends algorithm
FOF: FOF:
basename: fof_output # Filename for the FOF outputs. basename: fof_output # Filename for the FOF outputs.
......
...@@ -71,6 +71,8 @@ SPH: ...@@ -71,6 +71,8 @@ SPH:
Stars: Stars:
resolution_eta: 1.1642 # Target smoothing length in units of the mean inter-particle separation resolution_eta: 1.1642 # Target smoothing length in units of the mean inter-particle separation
h_tolerance: 7e-3 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 # Parameters for the Friends-Of-Friends algorithm
FOF: FOF:
......
...@@ -62,6 +62,8 @@ SPH: ...@@ -62,6 +62,8 @@ SPH:
Stars: Stars:
resolution_eta: 1.1642 # Target smoothing length in units of the mean inter-particle separation resolution_eta: 1.1642 # Target smoothing length in units of the mean inter-particle separation
h_tolerance: 7e-3 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 # Parameters for the Friends-Of-Friends algorithm
FOF: FOF:
......
...@@ -72,6 +72,8 @@ SPH: ...@@ -72,6 +72,8 @@ SPH:
Stars: Stars:
resolution_eta: 1.1642 # Target smoothing length in units of the mean inter-particle separation resolution_eta: 1.1642 # Target smoothing length in units of the mean inter-particle separation
h_tolerance: 7e-3 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 # Parameters for the Friends-Of-Friends algorithm
FOF: FOF:
......
...@@ -45,6 +45,11 @@ SPH: ...@@ -45,6 +45,11 @@ SPH:
h_max: 10. h_max: 10.
minimal_temperature: 100. 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 # Standard EAGLE cooling options
EAGLECooling: EAGLECooling:
dir_name: ./coolingtables/ # Location of the Wiersma+08 cooling tables dir_name: ./coolingtables/ # Location of the Wiersma+08 cooling tables
......
...@@ -45,6 +45,11 @@ SPH: ...@@ -45,6 +45,11 @@ SPH:
h_max: 10. h_max: 10.
minimal_temperature: 10. # Kelvin 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 # Standard EAGLE cooling options
EAGLECooling: EAGLECooling:
dir_name: ./coolingtables/ # Location of the Wiersma+08 cooling tables dir_name: ./coolingtables/ # Location of the Wiersma+08 cooling tables
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment