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

PABLO: fix mapping when refine function is called mutliple times #455

Closed andrea-iob closed 6 months ago

andrea-iob commented 6 months ago

The LocalTree::refine function can be called several times in a row. Therefore, it should properly update the mapper received in input rather than creating a new map from scratch.