Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • SWIFTsim SWIFTsim
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 57
    • Issues 57
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 21
    • Merge requests 21
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • SWIFT
  • SWIFTsimSWIFTsim
  • Merge requests
  • !651

Speed-up for large top-level grids

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Matthieu Schaller requested to merge planetary_speedup into master Oct 30, 2018
  • Overview 5
  • Commits 17
  • Changes 6

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 Oct 30, 2018 by Matthieu Schaller
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: planetary_speedup