optimad / bitpit

Open source library for scientific HPC
http://optimad.github.io/bitpit/
GNU Lesser General Public License v3.0
116 stars 34 forks source link

levelset: fix initialization of segmentation limited-normal validity flag #419

Closed andrea-iob closed 9 months ago

andrea-iob commented 9 months ago

The validity flag should be explicitly set to false, otherwise, if the surface is set multiple times, the container may contain elements wrongly set to true (they were set to true during the evaluation of the levelset with the previous surface).