ForestClaw / forestclaw

Quadtree/octree adaptive PDE solver based based on p4est.
http://www.forestclaw.org
BSD 2-Clause "Simplified" License
58 stars 21 forks source link

Copy from remote ghost patches before they are valid #114

Closed donnaaboise closed 6 years ago

donnaaboise commented 7 years ago

Originally reported by: Donna Calhoun (Bitbucket: donnaaboise, GitHub: donnaaboise)


It seems that the code has always been copying from same size ghost patches before the ghost patch data is valid. This hasn't created a problem, since later the valid data is filled in. But I should avoid reading from a 'remote-neighbor'


donnaaboise commented 6 years ago

This can happen, for example, in applying the physical BCs before all coarse grid ghost cells have been filled in. Not a huge issue