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

Report the linking length when starting FOF.

parent 63a423e0
Branches
Tags
1 merge request!827Improvement to the stand-alone FOF tool
...@@ -196,8 +196,14 @@ void fof_allocate(const struct space *s, const long long total_nr_DM_particles, ...@@ -196,8 +196,14 @@ void fof_allocate(const struct space *s, const long long total_nr_DM_particles,
inter-particle sepration? */ inter-particle sepration? */
if (props->l_x_absolute != -1.) { if (props->l_x_absolute != -1.) {
props->l_x2 = props->l_x_absolute * props->l_x_absolute; 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 { } else {
props->l_x2 = l_x * l_x; 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 #ifdef WITH_MPI
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment