From d384b378effaa4593c5a9a59ad5f2e7dcafb3846 Mon Sep 17 00:00:00 2001
From: Josh Borrow <joshua.borrow@durham.ac.uk>
Date: Thu, 19 Dec 2019 09:18:35 +0000
Subject: [PATCH] Add metallicity & sfr unit to vr configs

---
 .../EAGLE_ICs/EAGLE_12/vrconfig_3dfof_subhalos_SO_hydro.cfg  | 5 +++--
 .../EAGLE_ICs/EAGLE_25/vrconfig_3dfof_subhalos_SO_hydro.cfg  | 5 +++--
 .../EAGLE_ICs/EAGLE_50/vrconfig_3dfof_subhalos_SO_hydro.cfg  | 5 +++--
 .../SmallCosmoVolume_DM/vrconfig_3dfof_subhalos_SO_hydro.cfg | 5 +++--
 .../vrconfig_3dfof_subhalos_SO_hydro.cfg                     | 5 +++--
 5 files changed, 15 insertions(+), 10 deletions(-)

diff --git a/examples/EAGLE_ICs/EAGLE_12/vrconfig_3dfof_subhalos_SO_hydro.cfg b/examples/EAGLE_ICs/EAGLE_12/vrconfig_3dfof_subhalos_SO_hydro.cfg
index e8dfca9a65..8590cbf5bc 100644
--- a/examples/EAGLE_ICs/EAGLE_12/vrconfig_3dfof_subhalos_SO_hydro.cfg
+++ b/examples/EAGLE_ICs/EAGLE_12/vrconfig_3dfof_subhalos_SO_hydro.cfg
@@ -39,8 +39,9 @@ Length_unit_to_kpc=1000.0
 Velocity_to_kms=1.0
 #conversion of output mass units to solar masses
 Mass_to_solarmass=1.0e10
-Metallicity_to_solarmetallicity=1.0
-Star_formation_rate_to_solarmassperyear=1.0
+#1 / 0.012
+Metallicity_to_solarmetallicity=83.33
+Star_formation_rate_to_solarmassperyear=97.78
 Stellar_age_to_yr=1.0
 #ensures that output is physical and not comoving distances per little h
 Comoving_units=0
diff --git a/examples/EAGLE_ICs/EAGLE_25/vrconfig_3dfof_subhalos_SO_hydro.cfg b/examples/EAGLE_ICs/EAGLE_25/vrconfig_3dfof_subhalos_SO_hydro.cfg
index e8dfca9a65..8590cbf5bc 100644
--- a/examples/EAGLE_ICs/EAGLE_25/vrconfig_3dfof_subhalos_SO_hydro.cfg
+++ b/examples/EAGLE_ICs/EAGLE_25/vrconfig_3dfof_subhalos_SO_hydro.cfg
@@ -39,8 +39,9 @@ Length_unit_to_kpc=1000.0
 Velocity_to_kms=1.0
 #conversion of output mass units to solar masses
 Mass_to_solarmass=1.0e10
-Metallicity_to_solarmetallicity=1.0
-Star_formation_rate_to_solarmassperyear=1.0
+#1 / 0.012
+Metallicity_to_solarmetallicity=83.33
+Star_formation_rate_to_solarmassperyear=97.78
 Stellar_age_to_yr=1.0
 #ensures that output is physical and not comoving distances per little h
 Comoving_units=0
diff --git a/examples/EAGLE_ICs/EAGLE_50/vrconfig_3dfof_subhalos_SO_hydro.cfg b/examples/EAGLE_ICs/EAGLE_50/vrconfig_3dfof_subhalos_SO_hydro.cfg
index e8dfca9a65..8590cbf5bc 100644
--- a/examples/EAGLE_ICs/EAGLE_50/vrconfig_3dfof_subhalos_SO_hydro.cfg
+++ b/examples/EAGLE_ICs/EAGLE_50/vrconfig_3dfof_subhalos_SO_hydro.cfg
@@ -39,8 +39,9 @@ Length_unit_to_kpc=1000.0
 Velocity_to_kms=1.0
 #conversion of output mass units to solar masses
 Mass_to_solarmass=1.0e10
-Metallicity_to_solarmetallicity=1.0
-Star_formation_rate_to_solarmassperyear=1.0
+#1 / 0.012
+Metallicity_to_solarmetallicity=83.33
+Star_formation_rate_to_solarmassperyear=97.78
 Stellar_age_to_yr=1.0
 #ensures that output is physical and not comoving distances per little h
 Comoving_units=0
diff --git a/examples/SmallCosmoVolume/SmallCosmoVolume_DM/vrconfig_3dfof_subhalos_SO_hydro.cfg b/examples/SmallCosmoVolume/SmallCosmoVolume_DM/vrconfig_3dfof_subhalos_SO_hydro.cfg
index e8dfca9a65..8590cbf5bc 100644
--- a/examples/SmallCosmoVolume/SmallCosmoVolume_DM/vrconfig_3dfof_subhalos_SO_hydro.cfg
+++ b/examples/SmallCosmoVolume/SmallCosmoVolume_DM/vrconfig_3dfof_subhalos_SO_hydro.cfg
@@ -39,8 +39,9 @@ Length_unit_to_kpc=1000.0
 Velocity_to_kms=1.0
 #conversion of output mass units to solar masses
 Mass_to_solarmass=1.0e10
-Metallicity_to_solarmetallicity=1.0
-Star_formation_rate_to_solarmassperyear=1.0
+#1 / 0.012
+Metallicity_to_solarmetallicity=83.33
+Star_formation_rate_to_solarmassperyear=97.78
 Stellar_age_to_yr=1.0
 #ensures that output is physical and not comoving distances per little h
 Comoving_units=0
diff --git a/examples/SmallCosmoVolume/SmallCosmoVolume_VELOCIraptor/vrconfig_3dfof_subhalos_SO_hydro.cfg b/examples/SmallCosmoVolume/SmallCosmoVolume_VELOCIraptor/vrconfig_3dfof_subhalos_SO_hydro.cfg
index e8dfca9a65..8590cbf5bc 100644
--- a/examples/SmallCosmoVolume/SmallCosmoVolume_VELOCIraptor/vrconfig_3dfof_subhalos_SO_hydro.cfg
+++ b/examples/SmallCosmoVolume/SmallCosmoVolume_VELOCIraptor/vrconfig_3dfof_subhalos_SO_hydro.cfg
@@ -39,8 +39,9 @@ Length_unit_to_kpc=1000.0
 Velocity_to_kms=1.0
 #conversion of output mass units to solar masses
 Mass_to_solarmass=1.0e10
-Metallicity_to_solarmetallicity=1.0
-Star_formation_rate_to_solarmassperyear=1.0
+#1 / 0.012
+Metallicity_to_solarmetallicity=83.33
+Star_formation_rate_to_solarmassperyear=97.78
 Stellar_age_to_yr=1.0
 #ensures that output is physical and not comoving distances per little h
 Comoving_units=0
-- 
GitLab