Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!276No task mask
......@@ -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;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment