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
  • !1393

Slimming down of foreign gpart + reduced comm size

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Matthieu Schaller requested to merge pack_foreign_gpart into master Jun 29, 2021
  • Overview 13
  • Commits 54
  • Changes 35

Here are the changes to improve the foreign memory usage of gparts and help with the related communications.

This includes:

  • Creation of two new particle types. One for the regular foreign gpart and one for the gpart when running FOF.
  • Modification of the gravity cache construction to use the foreign particle type when acting on a foreign cell.
  • Usage of the new packing task to fish out the fields we want. (No need to unpack anything however)
  • Modification of the gpart and fof communications.
  • Modification of the construction of the foreign buffers to accommodate both types.

All the physics changes are the same as what was tried in !1318 (closed). The difference is that the packing is done here by hand and that the case of FOF is correctly handled.

Edited Jan 20, 2023 by Matthieu Schaller
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: pack_foreign_gpart