Skip to content
GitLab
Projects Groups Topics 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
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 52
    • Issues 52
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 17
    • Merge requests 17
  • 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
  • !118

One major change to replace all gpart id/parts with the new id_or_neg_offset.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Pedro Gonnet requested to merge gpart_ids into master Mar 14, 2016
  • Overview 25
  • Commits 19
  • Changes 19

As discussed in #123 (closed), this merge request changes the gpart.id and gpart.part anonymous union into a single long long int id_or_neg_offset.

If this number is positive, then it is the particle ID and the gpart has no hydro counterpart.

If this number is negative, then it is the offset in the parts array of this particle's hydro counterpart.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: gpart_ids