gandalfcode / gandalf

GANDALF (Graphical Astrophysics code for N-body Dynamics And Lagrangian Fluids)
GNU General Public License v2.0
46 stars 12 forks source link

MPI ghosts do not use the pruned trees #101

Open giovanni-rosotti opened 8 years ago

giovanni-rosotti commented 8 years ago

Currently we look for MPI ghosts only using the bounding boxes of the domains. It would be much more optimal (i.e. it would create less unnecessary ghosts) to use only the active cells of the pruned tree. Note that this would become very similar to the exporting of particles...

giovanni-rosotti commented 8 years ago

See discussion about this in #100 . There also pointers in there for avoiding to look for periodic and MPI ghosts at every time step.