Skip to content
Snippets Groups Projects
Commit f2e3df02 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Don't forget to initialise the counters....

parent 14a052e6
No related branches found
No related tags found
2 merge requests!136Master,!94Integer timeline
...@@ -1424,6 +1424,7 @@ int engine_marktasks(struct engine *e) { ...@@ -1424,6 +1424,7 @@ int engine_marktasks(struct engine *e) {
/* Kick? */ /* Kick? */
else if (t->type == task_type_kick) { else if (t->type == task_type_kick) {
t->skip = (t->ci->ti_end_min > ti_end); t->skip = (t->ci->ti_end_min > ti_end);
t->ci->updated = 0;
} }
/* Drift? */ /* Drift? */
...@@ -2238,6 +2239,7 @@ void engine_init(struct engine *e, struct space *s, float dt, int nr_threads, ...@@ -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_min = dt_min;
e->dt_max = dt_max; e->dt_max = dt_max;
e->file_stats = NULL; e->file_stats = NULL;
e->wallclock_time = 0.f;
engine_rank = nodeID; engine_rank = nodeID;
/* Make the space link back to the engine. */ /* Make the space link back to the engine. */
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#if defined(MINIMAL_SPH) #if defined(MINIMAL_SPH)
#include "./hydro/Minimal/hydro_iact.h" #include "./hydro/Minimal/hydro_iact.h"
#include "./hydro/Minimal/hydro.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) #elif defined(GADGET2_SPH)
#include "./hydro/Gadget2/hydro_iact.h" #include "./hydro/Gadget2/hydro_iact.h"
#include "./hydro/Gadget2/hydro.h" #include "./hydro/Gadget2/hydro.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment