From 12a7fc501ef65d63509a54bff95ab98afa98fddc Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <schaller@strw.leidenuniv.nl>
Date: Wed, 4 Sep 2019 15:34:15 +0200
Subject: [PATCH] Fixed the nIFTy parameter file to use the correct units for
 the softening lengths.

---
 examples/nIFTyCluster/Baryonic/nifty.yml | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/examples/nIFTyCluster/Baryonic/nifty.yml b/examples/nIFTyCluster/Baryonic/nifty.yml
index d520d5bfba..44fea0aa34 100644
--- a/examples/nIFTyCluster/Baryonic/nifty.yml
+++ b/examples/nIFTyCluster/Baryonic/nifty.yml
@@ -1,3 +1,6 @@
+MetaData:
+  run_name:   nIFTY cluster
+
 # Define the system of units to use internally. 
 InternalUnitSystem:
   UnitMass_in_cgs:     1.98848e43    # 10^10 M_sun in grams
@@ -39,10 +42,10 @@ Statistics:
 Gravity:
   eta:                           0.025  # Constant dimensionless multiplier for time integration. 
   theta:                         0.5    # Opening angle (Multipole acceptance criterion)
-  comoving_DM_softening:        20.0    # Comoving softening length (in internal units).
-  comoving_baryon_softening:    20.0    # Comoving softening length (in internal units).
-  max_physical_DM_softening:     5.0    # Max physical softening length (in internal units).
-  max_physical_baryon_softening: 5.0    # Max physical softening length (in internal units).
+  comoving_DM_softening:         0.02   # Comoving softening length (in internal units).
+  comoving_baryon_softening:     0.02   # Comoving softening length (in internal units).
+  max_physical_DM_softening:     0.005  # Max physical softening length (in internal units).
+  max_physical_baryon_softening: 0.005  # Max physical softening length (in internal units).
   softening_ratio_background:    0.04   # 1/25th of mean inter-particle separation
   mesh_side_length:              512
 
@@ -54,7 +57,7 @@ SPH:
   minimal_temperature:   100      # (internal units)
 
 Scheduler:
-  max_top_level_cells:  32        # (Optional) Maximal number of top-level cells in any dimension. The number of top-level cells will be the cube of this (this is the default value).
+  max_top_level_cells:  32
 
 # Parameters related to the initial conditions
 InitialConditions:
-- 
GitLab