SetMask_SphericalSurface sets mask incorrectly for multiple spheres

Create issue
Issue #1311 closed
Christian Reisswig created an issue

SetMask_SphericalSurface loops over all spheres and sets points to "excised" within the sphere radius, and to "not excised" outside. Unfortunately, it clears the mask for each sphere individually, thus overwriting "excised" points from a previous sphere!

The attached patch fixes this by first clearing the mask everywhere before looping over spheres, and then setting points to "excised" if inside a given sphere.

Keyword: SetMask_SphericalSurface

Comments (6)

  1. Log in to comment