From d80df5919c8fc1a17b41314a9b2513eeefc1e464 Mon Sep 17 00:00:00 2001 From: Yolan Uyttenhove <yolan.uyttenhove@ugent.be> Date: Tue, 28 Nov 2023 11:08:05 +0100 Subject: [PATCH] Move comment to docstring --- src/chemistry/EAGLE/chemistry_additions.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/chemistry/EAGLE/chemistry_additions.h b/src/chemistry/EAGLE/chemistry_additions.h index 643fe9ec5b..ccc2c46777 100644 --- a/src/chemistry/EAGLE/chemistry_additions.h +++ b/src/chemistry/EAGLE/chemistry_additions.h @@ -24,6 +24,10 @@ * @brief update metal mass fluxes between two interacting particles during * hydro_iact_(non)sym(...) calls. * + * Metals are advected. I.e. a particle loses metals according to its own + * metal mass fractions and gains mass according to the neighboring particle's + * mass fractions. + * * @param pi first interacting particle * @param pj second interacting particle * @param mass_flux the mass flux between these two particles. @@ -35,9 +39,6 @@ __attribute__((always_inline)) INLINE static void runner_iact_chemistry_fluxes( struct part *restrict pi, struct part *restrict pj, float mass_flux, float flux_dt, int mode) { #ifdef HYDRO_DOES_MASS_FLUX - /* Metals are advected. I.e. a particle loses metals according to its own - * metal mass fractions and gains mass according to the neighboring particle's - * mass fractions. */ const float mass_flux_integrated = mass_flux * flux_dt; -- GitLab