Skip to content
Snippets Groups Projects
Commit 7236e2db authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Merge branch 'gpart_ids' into 'master'

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

As discussed in #123, 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.

See merge request !118
parents 6d9f54ae 19a99afb
No related branches found
No related tags found
1 merge request!118One major change to replace all gpart id/parts with the new id_or_neg_offset.
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment