Skip to content
Snippets Groups Projects

Speed-up for large top-level grids

Merged Matthieu Schaller requested to merge planetary_speedup into master

These are some improvements to the space structure to speed-up MPI calculations and the planetary things:

  • We make a list of non-empty top-level cells,
  • We make a list of local non-empty top-level cells,
  • engine_drift_all() only loops over the local cells with tasks (instead of all the grid),
  • space_split() only loops over the local non-empty cells,
  • space_regrid() only loops over the local non-empty cells to figure out h_max.
  • The top-level gravity task only loops over the non-empty cells.
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
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading