diff --git a/src/engine.c b/src/engine.c index 46c8bb088fbb3f74ab4b2acdd7e86a74335cb486..9c1e3c5bd903c31cbdfb3b0c1dbb7cc13a3b872a 100644 --- a/src/engine.c +++ b/src/engine.c @@ -1424,6 +1424,7 @@ int engine_marktasks(struct engine *e) { /* Kick? */ else if (t->type == task_type_kick) { t->skip = (t->ci->ti_end_min > ti_end); + t->ci->updated = 0; } /* Drift? */ @@ -2238,6 +2239,7 @@ void engine_init(struct engine *e, struct space *s, float dt, int nr_threads, e->dt_min = dt_min; e->dt_max = dt_max; e->file_stats = NULL; + e->wallclock_time = 0.f; engine_rank = nodeID; /* Make the space link back to the engine. */ diff --git a/src/hydro.h b/src/hydro.h index 6065d4699440ead8d59ee2b39ee387689e2fa990..f3a1bcdc85a944eb6f88573e42d153f491ea0310 100644 --- a/src/hydro.h +++ b/src/hydro.h @@ -25,7 +25,7 @@ #if defined(MINIMAL_SPH) #include "./hydro/Minimal/hydro_iact.h" #include "./hydro/Minimal/hydro.h" -#define SPH_IMPLEMENTATION "Minimal version of SPH (Price 2010)" +#define SPH_IMPLEMENTATION "Minimal version of SPH (e.g. Price 2010)" #elif defined(GADGET2_SPH) #include "./hydro/Gadget2/hydro_iact.h" #include "./hydro/Gadget2/hydro.h"