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 evaluation of levelset for surfaces that contain pixel elements #376

Closed andrea-iob closed 1 year ago

andrea-iob commented 1 year ago

Connectivity of pixel elements does not list the vertices in anti-clockwise order. This needs to be properly taken into account when flipping the normal and when evaluating segment information.

andrea-iob commented 1 year ago

I've added an additional fix for the hash operator of ElementHalfItem.