optimad / bitpit

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

containers: fix function to set the id of an empty positions of a PiercedKernel #412

Closed marcocisternino closed 1 year ago

marcocisternino commented 1 year ago

When a hole is created the setPosEmptyId made the m_ids vector non-coherent. This solution is the simplest one, but the less efficient one when the kernel has to be iterated. This solution solved issues in application using piercedKernel

andrea-iob commented 1 year ago

I've did the following changes:

commit

andrea-iob commented 1 year ago

Can we merge this?