Closed rbooth200 closed 7 years ago
The first problem is fixed in #128 . Do we have plans to fix the second one soon, or should we move the issue to a future milestone?
I will have a think about the second one. There would still be a lot of places in which we need to check the tree's validity. The easiest solution would be to check the flags each (ghost) tree walk. It should be cheap, but its a lot of checks...
Can we close this issue? DeleteDeadParticles invalidates the whole tree, not just the ghost particles so there is probably not much point in flagging anything.
Bump
I agree it's fine to close this - closing
There are currently some things about DeleteDeadParticles that are unsatisfactory:
The second problem could be solved pragmatically by just 'flagging' that the ghosts are invalid and checking this flag before walks are done. Alternatively it could be made valid. See the discussion here