Skip to content
Snippets Groups Projects

[WIP] Speed-up cell_unskip_tasks

Closed Pedro Gonnet requested to merge task_activation into master

So this is a bit embarassing... Turns out that in cell_activate_subcell_tasks for pairs we were potentially recursing all the way down the tree before checking if anything is active at all.

Moved the check for activity to the top of the recursion, as it is done for the subcell-task interaction functions, this is already a bit faster on my laptop without breaking anything obvious. Should also improve parallel performance since this part of the code scales badly on the small timesteps.

Edited by Matthieu Schaller

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading