Commit da47a754 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

(So far) empty function to do initial clean-up fo gparts

parent a726b1a3
......@@ -45,6 +45,7 @@
/* Local headers. */
#include "atomic.h"
#include "error.h"
#include "gravity.h"
#include "hydro.h"
#include "space.h"
#include "timers.h"
......@@ -620,6 +621,7 @@ void cell_init_gparts(struct cell *c, void *data) {
for (int i = 0; i < gcount; ++i) {
gp[i].ti_begin = 0;
gp[i].ti_end = 0;
gravity_first_init_gpart(&gp[i]);
}
c->ti_end_min = 0;
c->ti_end_max = 0;
......
......@@ -44,7 +44,7 @@ __attribute__((always_inline)) INLINE static float gravity_compute_timestep(
* @param gp The particle to act upon
*/
__attribute__((always_inline))
INLINE static void gravity_first_init_part(struct gpart* gp) {
INLINE static void gravity_first_init_gpart(struct gpart* gp) {
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment