From 1ef38fc1abfb76d42d50b31ea336b91ed71112bf Mon Sep 17 00:00:00 2001 From: loikki <loic.hausammann@protonmail.ch> Date: Mon, 21 Jan 2019 10:40:39 +0100 Subject: [PATCH] Change function name --- src/runner.c | 2 +- src/stars/Default/stars.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/runner.c b/src/runner.c index 4856cb7b7f..22d35d31c4 100644 --- a/src/runner.c +++ b/src/runner.c @@ -2704,7 +2704,7 @@ void runner_do_end_force(struct runner *r, struct cell *c, int timer) { if (spart_is_active(sp, e)) { /* Finish the force loop */ - stars_end_force(sp); + stars_end_feedback(sp); } } } diff --git a/src/stars/Default/stars.h b/src/stars/Default/stars.h index 6aa8697b79..7a60ed6339 100644 --- a/src/stars/Default/stars.h +++ b/src/stars/Default/stars.h @@ -75,11 +75,11 @@ __attribute__((always_inline)) INLINE static void stars_reset_predicted_values( struct spart* restrict sp) {} /** - * @brief Finishes the calculation of (non-gravity) forces acting on stars + * @brief Finishes the calculation of the feedback * * @param sp The particle to act upon */ -__attribute__((always_inline)) INLINE static void stars_end_force( +__attribute__((always_inline)) INLINE static void stars_end_feedback( struct spart* sp) {} /** -- GitLab