Commit 797090ce authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Also skip gpart drifts in the 0th time-step.

parent 4dc05d9a
......@@ -3318,8 +3318,9 @@ void engine_skip_drift(struct engine *e) {
struct task *t = &tasks[i];
/* Skip everything that updates the particles */
if (t->type == task_type_drift_part) t->skip = 1;
/* Skip everything that moves the particles */
if (t->type == task_type_drift_part || t->type == task_type_drift_gpart)
t->skip = 1;
}
/* Run through the cells and clear some flags. */
......
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