optimad / bitpit

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

patchkernel: find all the closest cells to a given point #446

Closed marcocisternino closed 3 months ago

marcocisternino commented 4 months ago

This pull request adds methods to SurfaceSkdTree to find all the closest cells to a given point. The aim is to provide external applications with the the chance to select the the closest cell using its criteria. Existing methods select the closest cell using a specific criterium: the cell more "aligned" with the line that connect the specified point and its projection onto the cell will be chosen.

andrea-iob commented 4 months ago

Can you confirm that the changes didn't slow-down the function?

marcocisternino commented 4 months ago

Can you confirm that the changes didn't slow-down the function?

integration levelset tests run sometimes faster and sometimes slower than the current master, therefore, I can statistically confirm no changes in performance.