From 9dc8c981ea91f422790e88f45e6b2e723269eb23 Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <schaller@strw.leidenuniv.nl> Date: Tue, 6 Jul 2021 21:12:58 +0200 Subject: [PATCH] Compile with the correct star model when using the QLA subgrid. Code formatting --- configure.ac | 2 +- src/black_holes/EAGLE/black_holes_io.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 69ff653965..825b5b8f74 100644 --- a/configure.ac +++ b/configure.ac @@ -1605,7 +1605,7 @@ case "$with_subgrid" in with_subgrid_chemistry=QLA with_subgrid_tracers=none with_subgrid_entropy_floor=QLA - with_subgrid_stars=none + with_subgrid_stars=basic with_subgrid_star_formation=QLA with_subgrid_feedback=none with_subgrid_black_holes=none diff --git a/src/black_holes/EAGLE/black_holes_io.h b/src/black_holes/EAGLE/black_holes_io.h index e934f654c3..558a1e0488 100644 --- a/src/black_holes/EAGLE/black_holes_io.h +++ b/src/black_holes/EAGLE/black_holes_io.h @@ -210,8 +210,8 @@ INLINE static void black_holes_write_particles(const struct bpart* bparts, "Physical instantaneous accretion rates of the particles"); list[11] = io_make_output_field( - "TotalAccretedMasses", FLOAT, 1, UNIT_CONV_MASS, 0.f, - bparts, total_accreted_mass, + "TotalAccretedMasses", FLOAT, 1, UNIT_CONV_MASS, 0.f, bparts, + total_accreted_mass, "Total mass accreted onto the particles since its birth"); list[12] = io_make_output_field( -- GitLab