From 409d5e5bf4421233be030665e56aca872f73f3e2 Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <schaller@strw.leidenuniv.nl>
Date: Sun, 8 Mar 2020 15:39:47 +0100
Subject: [PATCH] Updated the internal units of all the main boxes to reflect
 the internal constants assumed by the code.

---
 examples/EAGLE_DMO_low_z/EAGLE_DMO_100/eagle_100.yml          | 2 +-
 examples/EAGLE_DMO_low_z/EAGLE_DMO_12/eagle_12.yml            | 2 +-
 examples/EAGLE_DMO_low_z/EAGLE_DMO_25/eagle_25.yml            | 2 +-
 examples/EAGLE_DMO_low_z/EAGLE_DMO_50/eagle_50.yml            | 2 +-
 examples/EAGLE_ICs/EAGLE_100/eagle_100.yml                    | 2 +-
 examples/EAGLE_ICs/EAGLE_12/eagle_12.yml                      | 2 +-
 examples/EAGLE_ICs/EAGLE_25/eagle_25.yml                      | 2 +-
 examples/EAGLE_ICs/EAGLE_50/eagle_50.yml                      | 2 +-
 examples/EAGLE_low_z/EAGLE_100/eagle_100.yml                  | 2 +-
 examples/EAGLE_low_z/EAGLE_12/eagle_12.yml                    | 2 +-
 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 +-
 examples/SantaBarbara/SantaBarbara-128/santa_barbara.yml      | 2 +-
 examples/SantaBarbara/SantaBarbara-256/santa_barbara.yml      | 2 +-
 .../SmallCosmoVolume_DM/Gadget2/small_cosmo_volume_dm.param   | 4 ++--
 .../SmallCosmoVolume_DM/small_cosmo_volume_dm.yml             | 2 +-
 .../SmallCosmoVolume_VELOCIraptor/small_cosmo_volume.yml      | 2 +-
 .../SmallCosmoVolume_cooling/small_cosmo_volume.yml           | 2 +-
 .../SmallCosmoVolume_hydro/small_cosmo_volume.yml             | 2 +-
 .../CosmologicalStellarEvolution/stellar_evolution.yml        | 2 +-
 examples/SubgridTests/StellarEvolution/stellar_evolution.yml  | 2 +-
 examples/nIFTyCluster/Baryonic/nifty.yml                      | 2 +-
 23 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/examples/EAGLE_DMO_low_z/EAGLE_DMO_100/eagle_100.yml b/examples/EAGLE_DMO_low_z/EAGLE_DMO_100/eagle_100.yml
index 5d449cfceb..f4c5316aa0 100644
--- a/examples/EAGLE_DMO_low_z/EAGLE_DMO_100/eagle_100.yml
+++ b/examples/EAGLE_DMO_low_z/EAGLE_DMO_100/eagle_100.yml
@@ -1,6 +1,6 @@
 # Define the system of units to use internally. 
 InternalUnitSystem:
-  UnitMass_in_cgs:     1.98848e43    # 10^10 M_sun in grams
+  UnitMass_in_cgs:     1.98841e43    # 10^10 M_sun in grams
   UnitLength_in_cgs:   3.08567758e24 # Mpc in centimeters
   UnitVelocity_in_cgs: 1e5           # km/s in centimeters per second
   UnitCurrent_in_cgs:  1             # Amperes
diff --git a/examples/EAGLE_DMO_low_z/EAGLE_DMO_12/eagle_12.yml b/examples/EAGLE_DMO_low_z/EAGLE_DMO_12/eagle_12.yml
index f232bb7e93..f5a7c57458 100644
--- a/examples/EAGLE_DMO_low_z/EAGLE_DMO_12/eagle_12.yml
+++ b/examples/EAGLE_DMO_low_z/EAGLE_DMO_12/eagle_12.yml
@@ -1,6 +1,6 @@
 # Define the system of units to use internally. 
 InternalUnitSystem:
-  UnitMass_in_cgs:     1.98848e43    # 10^10 M_sun in grams
+  UnitMass_in_cgs:     1.98841e43    # 10^10 M_sun in grams
   UnitLength_in_cgs:   3.08567758e24 # Mpc in centimeters
   UnitVelocity_in_cgs: 1e5           # km/s in centimeters per second
   UnitCurrent_in_cgs:  1             # Amperes
diff --git a/examples/EAGLE_DMO_low_z/EAGLE_DMO_25/eagle_25.yml b/examples/EAGLE_DMO_low_z/EAGLE_DMO_25/eagle_25.yml
index 20f4c1eef1..15df02b2a0 100644
--- a/examples/EAGLE_DMO_low_z/EAGLE_DMO_25/eagle_25.yml
+++ b/examples/EAGLE_DMO_low_z/EAGLE_DMO_25/eagle_25.yml
@@ -1,6 +1,6 @@
 # Define the system of units to use internally. 
 InternalUnitSystem:
-  UnitMass_in_cgs:     1.98848e43    # 10^10 M_sun in grams
+  UnitMass_in_cgs:     1.98841e43    # 10^10 M_sun in grams
   UnitLength_in_cgs:   3.08567758e24 # Mpc in centimeters
   UnitVelocity_in_cgs: 1e5           # km/s in centimeters per second
   UnitCurrent_in_cgs:  1             # Amperes
diff --git a/examples/EAGLE_DMO_low_z/EAGLE_DMO_50/eagle_50.yml b/examples/EAGLE_DMO_low_z/EAGLE_DMO_50/eagle_50.yml
index 0ccf061c2e..b9c7237b81 100644
--- a/examples/EAGLE_DMO_low_z/EAGLE_DMO_50/eagle_50.yml
+++ b/examples/EAGLE_DMO_low_z/EAGLE_DMO_50/eagle_50.yml
@@ -1,6 +1,6 @@
 # Define the system of units to use internally. 
 InternalUnitSystem:
-  UnitMass_in_cgs:     1.98848e43    # 10^10 M_sun in grams
+  UnitMass_in_cgs:     1.98841e43    # 10^10 M_sun in grams
   UnitLength_in_cgs:   3.08567758e24 # Mpc in centimeters
   UnitVelocity_in_cgs: 1e5           # km/s in centimeters per second
   UnitCurrent_in_cgs:  1             # Amperes
diff --git a/examples/EAGLE_ICs/EAGLE_100/eagle_100.yml b/examples/EAGLE_ICs/EAGLE_100/eagle_100.yml
index 3282a7eda8..c406f1e0ca 100644
--- a/examples/EAGLE_ICs/EAGLE_100/eagle_100.yml
+++ b/examples/EAGLE_ICs/EAGLE_100/eagle_100.yml
@@ -4,7 +4,7 @@ MetaData:
 
 # Define the system of units to use internally. 
 InternalUnitSystem:
-  UnitMass_in_cgs:     1.98848e43    # 10^10 M_sun in grams
+  UnitMass_in_cgs:     1.98841e43    # 10^10 M_sun in grams
   UnitLength_in_cgs:   3.08567758e24 # Mpc in centimeters
   UnitVelocity_in_cgs: 1e5           # km/s in centimeters per second
   UnitCurrent_in_cgs:  1             # Amperes
diff --git a/examples/EAGLE_ICs/EAGLE_12/eagle_12.yml b/examples/EAGLE_ICs/EAGLE_12/eagle_12.yml
index 3abffdd828..3602039bcc 100644
--- a/examples/EAGLE_ICs/EAGLE_12/eagle_12.yml
+++ b/examples/EAGLE_ICs/EAGLE_12/eagle_12.yml
@@ -4,7 +4,7 @@ MetaData:
 
 # Define the system of units to use internally. 
 InternalUnitSystem:
-  UnitMass_in_cgs:     1.98848e43    # 10^10 M_sun in grams
+  UnitMass_in_cgs:     1.98841e43    # 10^10 M_sun in grams
   UnitLength_in_cgs:   3.08567758e24 # Mpc in centimeters
   UnitVelocity_in_cgs: 1e5           # km/s in centimeters per second
   UnitCurrent_in_cgs:  1             # Amperes
diff --git a/examples/EAGLE_ICs/EAGLE_25/eagle_25.yml b/examples/EAGLE_ICs/EAGLE_25/eagle_25.yml
index 05abda22db..a727504159 100644
--- a/examples/EAGLE_ICs/EAGLE_25/eagle_25.yml
+++ b/examples/EAGLE_ICs/EAGLE_25/eagle_25.yml
@@ -4,7 +4,7 @@ MetaData:
 
 # Define the system of units to use internally. 
 InternalUnitSystem:
-  UnitMass_in_cgs:     1.98848e43    # 10^10 M_sun in grams
+  UnitMass_in_cgs:     1.98841e43    # 10^10 M_sun in grams
   UnitLength_in_cgs:   3.08567758e24 # Mpc in centimeters
   UnitVelocity_in_cgs: 1e5           # km/s in centimeters per second
   UnitCurrent_in_cgs:  1             # Amperes
diff --git a/examples/EAGLE_ICs/EAGLE_50/eagle_50.yml b/examples/EAGLE_ICs/EAGLE_50/eagle_50.yml
index b2e686586d..e79a2554de 100644
--- a/examples/EAGLE_ICs/EAGLE_50/eagle_50.yml
+++ b/examples/EAGLE_ICs/EAGLE_50/eagle_50.yml
@@ -4,7 +4,7 @@ MetaData:
 
 # Define the system of units to use internally. 
 InternalUnitSystem:
-  UnitMass_in_cgs:     1.98848e43    # 10^10 M_sun in grams
+  UnitMass_in_cgs:     1.98841e43    # 10^10 M_sun in grams
   UnitLength_in_cgs:   3.08567758e24 # Mpc in centimeters
   UnitVelocity_in_cgs: 1e5           # km/s in centimeters per second
   UnitCurrent_in_cgs:  1             # Amperes
diff --git a/examples/EAGLE_low_z/EAGLE_100/eagle_100.yml b/examples/EAGLE_low_z/EAGLE_100/eagle_100.yml
index 29288ee27e..12919bf5d5 100644
--- a/examples/EAGLE_low_z/EAGLE_100/eagle_100.yml
+++ b/examples/EAGLE_low_z/EAGLE_100/eagle_100.yml
@@ -3,7 +3,7 @@ MetaData:
 
 # Define the system of units to use internally. 
 InternalUnitSystem:
-  UnitMass_in_cgs:     1.98848e43    # 10^10 M_sun in grams
+  UnitMass_in_cgs:     1.98841e43    # 10^10 M_sun in grams
   UnitLength_in_cgs:   3.08567758e24 # Mpc in centimeters
   UnitVelocity_in_cgs: 1e5           # km/s in centimeters per second
   UnitCurrent_in_cgs:  1             # Amperes
diff --git a/examples/EAGLE_low_z/EAGLE_12/eagle_12.yml b/examples/EAGLE_low_z/EAGLE_12/eagle_12.yml
index 122e7f7834..32325522c1 100644
--- a/examples/EAGLE_low_z/EAGLE_12/eagle_12.yml
+++ b/examples/EAGLE_low_z/EAGLE_12/eagle_12.yml
@@ -3,7 +3,7 @@ MetaData:
 
 # Define the system of units to use internally. 
 InternalUnitSystem:
-  UnitMass_in_cgs:     1.98848e43    # 10^10 M_sun in grams
+  UnitMass_in_cgs:     1.98841e43    # 10^10 M_sun in grams
   UnitLength_in_cgs:   3.08567758e24 # Mpc in centimeters
   UnitVelocity_in_cgs: 1e5           # km/s in centimeters per second
   UnitCurrent_in_cgs:  1             # Amperes
diff --git a/examples/EAGLE_low_z/EAGLE_25/eagle_25.yml b/examples/EAGLE_low_z/EAGLE_25/eagle_25.yml
index a9d1ed26dd..a9861b7131 100644
--- a/examples/EAGLE_low_z/EAGLE_25/eagle_25.yml
+++ b/examples/EAGLE_low_z/EAGLE_25/eagle_25.yml
@@ -3,7 +3,7 @@ MetaData:
 
 # Define the system of units to use internally. 
 InternalUnitSystem:
-  UnitMass_in_cgs:     1.98848e43    # 10^10 M_sun in grams
+  UnitMass_in_cgs:     1.98841e43    # 10^10 M_sun in grams
   UnitLength_in_cgs:   3.08567758e24 # Mpc in centimeters
   UnitVelocity_in_cgs: 1e5           # km/s in centimeters per second
   UnitCurrent_in_cgs:  1             # Amperes
diff --git a/examples/EAGLE_low_z/EAGLE_50/eagle_50.yml b/examples/EAGLE_low_z/EAGLE_50/eagle_50.yml
index e360c83cb5..02df7c23a3 100644
--- a/examples/EAGLE_low_z/EAGLE_50/eagle_50.yml
+++ b/examples/EAGLE_low_z/EAGLE_50/eagle_50.yml
@@ -3,7 +3,7 @@ MetaData:
 
 # Define the system of units to use internally. 
 InternalUnitSystem:
-  UnitMass_in_cgs:     1.98848e43    # 10^10 M_sun in grams
+  UnitMass_in_cgs:     1.98841e43    # 10^10 M_sun in grams
   UnitLength_in_cgs:   3.08567758e24 # Mpc in centimeters
   UnitVelocity_in_cgs: 1e5           # km/s in centimeters per second
   UnitCurrent_in_cgs:  1             # Amperes
diff --git a/examples/EAGLE_low_z/EAGLE_6/eagle_6.yml b/examples/EAGLE_low_z/EAGLE_6/eagle_6.yml
index e0fd03f167..3273c923fc 100644
--- a/examples/EAGLE_low_z/EAGLE_6/eagle_6.yml
+++ b/examples/EAGLE_low_z/EAGLE_6/eagle_6.yml
@@ -3,7 +3,7 @@ MetaData:
 
 # Define the system of units to use internally. 
 InternalUnitSystem:
-  UnitMass_in_cgs:     1.98848e43    # 10^10 M_sun in grams
+  UnitMass_in_cgs:     1.98841e43    # 10^10 M_sun in grams
   UnitLength_in_cgs:   3.08567758e24 # Mpc in centimeters
   UnitVelocity_in_cgs: 1e5           # km/s in centimeters per second
   UnitCurrent_in_cgs:  1             # Amperes
diff --git a/examples/SantaBarbara/SantaBarbara-128/santa_barbara.yml b/examples/SantaBarbara/SantaBarbara-128/santa_barbara.yml
index e57617e149..5ee17b5a58 100644
--- a/examples/SantaBarbara/SantaBarbara-128/santa_barbara.yml
+++ b/examples/SantaBarbara/SantaBarbara-128/santa_barbara.yml
@@ -4,7 +4,7 @@ MetaData:
 
 # Define the system of units to use internally. 
 InternalUnitSystem:
-  UnitMass_in_cgs:     1.98848e43    # 10^10 M_sun in grams
+  UnitMass_in_cgs:     1.98841e43    # 10^10 M_sun in grams
   UnitLength_in_cgs:   3.08567758e24 # Mpc in centimeters
   UnitVelocity_in_cgs: 1e5           # 1 km/s 
   UnitCurrent_in_cgs:  1             # Amperes
diff --git a/examples/SantaBarbara/SantaBarbara-256/santa_barbara.yml b/examples/SantaBarbara/SantaBarbara-256/santa_barbara.yml
index c95914d58e..e83a136c21 100644
--- a/examples/SantaBarbara/SantaBarbara-256/santa_barbara.yml
+++ b/examples/SantaBarbara/SantaBarbara-256/santa_barbara.yml
@@ -4,7 +4,7 @@ MetaData:
 
 # Define the system of units to use internally. 
 InternalUnitSystem:
-  UnitMass_in_cgs:     1.98848e43    # 10^10 Msun 
+  UnitMass_in_cgs:     1.98841e43    # 10^10 Msun 
   UnitLength_in_cgs:   3.08567758e24 # 1 Mpc 
   UnitVelocity_in_cgs: 1e5           # 1 km/s 
   UnitCurrent_in_cgs:  1             # Amperes
diff --git a/examples/SmallCosmoVolume/SmallCosmoVolume_DM/Gadget2/small_cosmo_volume_dm.param b/examples/SmallCosmoVolume/SmallCosmoVolume_DM/Gadget2/small_cosmo_volume_dm.param
index 4eaaab4cb1..3770cab4b0 100644
--- a/examples/SmallCosmoVolume/SmallCosmoVolume_DM/Gadget2/small_cosmo_volume_dm.param
+++ b/examples/SmallCosmoVolume/SmallCosmoVolume_DM/Gadget2/small_cosmo_volume_dm.param
@@ -2,9 +2,9 @@
 % System of units
 
 UnitLength_in_cm         3.08567758e24      %  1.0 Mpc
-UnitMass_in_g            1.98848e43         %  1.0e10 solar masses 
+UnitMass_in_g            1.98841e43         %  1.0e10 solar masses 
 UnitVelocity_in_cm_per_s 1e5                %  1 km/sec 
-GravityConstantInternal  4.300927e+01       %  Same value as SWIFT
+GravityConstantInternal  4.300918e+01       %  Same value as SWIFT
 
 %  Relevant files
 InitCondFile  	   small_cosmo_volume
diff --git a/examples/SmallCosmoVolume/SmallCosmoVolume_DM/small_cosmo_volume_dm.yml b/examples/SmallCosmoVolume/SmallCosmoVolume_DM/small_cosmo_volume_dm.yml
index 82e2569f9b..95991e9f1d 100644
--- a/examples/SmallCosmoVolume/SmallCosmoVolume_DM/small_cosmo_volume_dm.yml
+++ b/examples/SmallCosmoVolume/SmallCosmoVolume_DM/small_cosmo_volume_dm.yml
@@ -1,6 +1,6 @@
 # Define the system of units to use internally. 
 InternalUnitSystem:
-  UnitMass_in_cgs:     1.98848e43    # 10^10 M_sun
+  UnitMass_in_cgs:     1.98841e43    # 10^10 M_sun
   UnitLength_in_cgs:   3.08567758e24 # 1 Mpc
   UnitVelocity_in_cgs: 1e5           # 1 km/s
   UnitCurrent_in_cgs:  1             # Amperes
diff --git a/examples/SmallCosmoVolume/SmallCosmoVolume_VELOCIraptor/small_cosmo_volume.yml b/examples/SmallCosmoVolume/SmallCosmoVolume_VELOCIraptor/small_cosmo_volume.yml
index b2a6781acf..0142e806db 100644
--- a/examples/SmallCosmoVolume/SmallCosmoVolume_VELOCIraptor/small_cosmo_volume.yml
+++ b/examples/SmallCosmoVolume/SmallCosmoVolume_VELOCIraptor/small_cosmo_volume.yml
@@ -1,6 +1,6 @@
 # Define the system of units to use internally. 
 InternalUnitSystem:
-  UnitMass_in_cgs:     1.98848e43    # 10^10 M_sun
+  UnitMass_in_cgs:     1.98841e43    # 10^10 M_sun
   UnitLength_in_cgs:   3.08567758e24 # 1 Mpc
   UnitVelocity_in_cgs: 1e5           # 1 km/s
   UnitCurrent_in_cgs:  1             # Amperes
diff --git a/examples/SmallCosmoVolume/SmallCosmoVolume_cooling/small_cosmo_volume.yml b/examples/SmallCosmoVolume/SmallCosmoVolume_cooling/small_cosmo_volume.yml
index aea198bd78..bf7f56c252 100644
--- a/examples/SmallCosmoVolume/SmallCosmoVolume_cooling/small_cosmo_volume.yml
+++ b/examples/SmallCosmoVolume/SmallCosmoVolume_cooling/small_cosmo_volume.yml
@@ -1,6 +1,6 @@
 # Define the system of units to use internally. 
 InternalUnitSystem:
-  UnitMass_in_cgs:     1.98848e43    # 10^10 M_sun
+  UnitMass_in_cgs:     1.98841e43    # 10^10 M_sun
   UnitLength_in_cgs:   3.08567758e24 # 1 Mpc
   UnitVelocity_in_cgs: 1e5           # 1 km/s
   UnitCurrent_in_cgs:  1             # Amperes
diff --git a/examples/SmallCosmoVolume/SmallCosmoVolume_hydro/small_cosmo_volume.yml b/examples/SmallCosmoVolume/SmallCosmoVolume_hydro/small_cosmo_volume.yml
index 36ac8678d2..250fdc653b 100644
--- a/examples/SmallCosmoVolume/SmallCosmoVolume_hydro/small_cosmo_volume.yml
+++ b/examples/SmallCosmoVolume/SmallCosmoVolume_hydro/small_cosmo_volume.yml
@@ -1,6 +1,6 @@
 # Define the system of units to use internally. 
 InternalUnitSystem:
-  UnitMass_in_cgs:     1.98848e43    # 10^10 M_sun
+  UnitMass_in_cgs:     1.98841e43    # 10^10 M_sun
   UnitLength_in_cgs:   3.08567758e24 # 1 Mpc
   UnitVelocity_in_cgs: 1e5           # 1 km/s
   UnitCurrent_in_cgs:  1             # Amperes
diff --git a/examples/SubgridTests/CosmologicalStellarEvolution/stellar_evolution.yml b/examples/SubgridTests/CosmologicalStellarEvolution/stellar_evolution.yml
index b6188cd20d..0cbeacde5a 100644
--- a/examples/SubgridTests/CosmologicalStellarEvolution/stellar_evolution.yml
+++ b/examples/SubgridTests/CosmologicalStellarEvolution/stellar_evolution.yml
@@ -1,6 +1,6 @@
 # Define the system of units to use internally. 
 InternalUnitSystem:
-  UnitMass_in_cgs:     1.98848e43    # 10^10 M_sun in grams
+  UnitMass_in_cgs:     1.98841e43    # 10^10 M_sun in grams
   UnitLength_in_cgs:   3.08567758e24 # Mpc in centimeters
   UnitVelocity_in_cgs: 1e5           # km/s in centimeters per second
   UnitCurrent_in_cgs:  1.            # Amperes
diff --git a/examples/SubgridTests/StellarEvolution/stellar_evolution.yml b/examples/SubgridTests/StellarEvolution/stellar_evolution.yml
index fb0b385bc9..bb42477c2b 100644
--- a/examples/SubgridTests/StellarEvolution/stellar_evolution.yml
+++ b/examples/SubgridTests/StellarEvolution/stellar_evolution.yml
@@ -1,6 +1,6 @@
 # Define the system of units to use internally. 
 InternalUnitSystem:
-  UnitMass_in_cgs:     1.98848e43    # 10^10 M_sun in grams
+  UnitMass_in_cgs:     1.98841e43    # 10^10 M_sun in grams
   UnitLength_in_cgs:   3.08567758e24 # Mpc in centimeters
   UnitVelocity_in_cgs: 1e5           # km/s in centimeters per second
   UnitCurrent_in_cgs:  1.            # Amperes
diff --git a/examples/nIFTyCluster/Baryonic/nifty.yml b/examples/nIFTyCluster/Baryonic/nifty.yml
index 44fea0aa34..7b58c80009 100644
--- a/examples/nIFTyCluster/Baryonic/nifty.yml
+++ b/examples/nIFTyCluster/Baryonic/nifty.yml
@@ -3,7 +3,7 @@ MetaData:
 
 # Define the system of units to use internally. 
 InternalUnitSystem:
-  UnitMass_in_cgs:     1.98848e43    # 10^10 M_sun in grams
+  UnitMass_in_cgs:     1.98841e43    # 10^10 M_sun in grams
   UnitLength_in_cgs:   3.08567758e24 # Mpc in centimeters
   UnitVelocity_in_cgs: 1e5           # km/s in centimeters per second
   UnitCurrent_in_cgs:  1             # Amperes
-- 
GitLab