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

Skip more than just force and kick. All source terms must be skipped.

parent 3e48a178
......@@ -2515,7 +2515,9 @@ void engine_skip_force_and_kick(struct engine *e) {
struct task *t = &tasks[i];
if (t->subtype == task_subtype_force || t->type == task_type_kick)
/* Skip everything that updates the particles */
if (t->subtype == task_subtype_force || t->type == task_type_kick ||
t->type == task_type_cooling || t->type == task_type_sourceterms)
t->skip = 1;
}
}
......
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