1. The Enzo Project
  2. Untitled project
  3. enzo-dev
  4. Pull requests

Pull requests

#190 Merged at 6e3d791
Repository
samskillman
Branch
week-of-code
Repository
enzo
Branch
week-of-code

Buffer Flagged Ghost Zones

Author
  1. Sam Skillman
Reviewers
Description

Prior to this, if a flagged cell was on the processor boundary, and the neighbor cell on the other processor wasn't flagged, the buffers from FlagBufferZones wouldn't be built out. This PR changes two things.

  • Grid_FlagBufferZones is only called once. Now the loop over NumberOfBufferZones occurs within G_FBZ.
  • We buffer around all cells except the last outer face, then at the end of the NumberOfBufferZone loop, we clear out the ghost zone cells.

Comments (0)