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 52
    • Issues 52
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • 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
  • !392

Free sort indices and task arrays before repartitioning

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Peter W. Draper requested to merge free-sorts into master Aug 02, 2017
  • Overview 8
  • Commits 5
  • Changes 7

Freeing the sort indices and tasks arrays before repartitioning makes that memory available so that we have more room for accepting particles from other nodes.

Part of #98 (closed).

Also adds a useful debug function that reports the current memory usage of the process tree (i.e. call from main thread to get all usage). Same numbers you get out of the top program.

Free the task arrays and cells are refactored into simple functions to cut down on cut and paste.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: free-sorts