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

Stupid lack of initialisation here....

parent 83787596
No related branches found
No related tags found
2 merge requests!136Master,!79First version of the multiple time-stepping
...@@ -2141,6 +2141,8 @@ void engine_init(struct engine *e, struct space *s, float dt, int nr_threads, ...@@ -2141,6 +2141,8 @@ void engine_init(struct engine *e, struct space *s, float dt, int nr_threads,
e->nr_links = 0; e->nr_links = 0;
e->timeBegin = timeBegin; e->timeBegin = timeBegin;
e->timeEnd = timeEnd; e->timeEnd = timeEnd;
e->timeOld = timeBegin;
e->time = timeBegin;
e->timeStep = 0.; e->timeStep = 0.;
e->dt_min = dt_min; e->dt_min = dt_min;
e->dt_max = dt_max; e->dt_max = dt_max;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment