From 5f41901e87bf37dfb3500e9b7fb067c2c8ba8520 Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <schaller@strw.leidenuniv.nl>
Date: Mon, 27 May 2019 16:57:18 +0200
Subject: [PATCH] Report the linking length when starting FOF.

---
 src/fof.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/fof.c b/src/fof.c
index b756a20b3f..8ff214fec2 100644
--- a/src/fof.c
+++ b/src/fof.c
@@ -196,8 +196,14 @@ void fof_allocate(const struct space *s, const long long total_nr_DM_particles,
      inter-particle sepration? */
   if (props->l_x_absolute != -1.) {
     props->l_x2 = props->l_x_absolute * props->l_x_absolute;
+    message("Linking length is set to %e [internal units].",
+            props->l_x_absolute);
   } else {
     props->l_x2 = l_x * l_x;
+    message(
+        "Linking length is set to %e [internal units] (%f of mean "
+        "inter-DM-particle separation).",
+        l_x, props->l_x_ratio);
   }
 
 #ifdef WITH_MPI
-- 
GitLab