One major change to replace all gpart id/parts with the new id_or_neg_offset.
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.
Merge request reports
Activity
I'll look at it tomorrow.
Any thoughts about the question I raised in #123 (closed) ? Can we extend this to more particle types ?
Added 1 commit:
- af2ad857 - fix the cell linking in cell_split.
mentioned in issue #121 (closed)
Added 194 commits:
-
23f09dde...1ebd9336 - 193 commits from branch
master
- 29d0e5fe - Merge branch 'master' into gpart_ids
-
23f09dde...1ebd9336 - 193 commits from branch
Added 123 commits:
-
29d0e5fe...622ad2b6 - 122 commits from branch
master
- 16be9790 - Merge branch 'master' into gpart_ids
-
29d0e5fe...622ad2b6 - 122 commits from branch
Added 1 commit:
- fd0b64dc - only re-linke parts for which the gpart pointer is non-null.
Please register or sign in to reply