diff --git a/src/runner.c b/src/runner.c index 4856cb7b7f09a8a83b20175b9eabdefd97dae343..22d35d31c4318874fe6a47438d6025cd578a1c73 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 6aa8697b795dbe55fe99257b92180fde9e072014..7a60ed6339ea8428376d63a7897ef708bb7f6dec 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) {} /**