optimad / bitpit

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

PABLO: fix evaluation of tree constants #251

Closed andrea-iob closed 2 years ago

andrea-iob commented 2 years ago

The constant MAX_LEVEL defines the maximum allowed level, hence tree constants need to be evaluated also for this level.

andrea-iob commented 2 years ago

There is still an error that need to fixed. I will make an updated pull request in a couple of hours. Please wait before testing.

marcocisternino commented 2 years ago

I would add a commit who definitely set the MAX_LEVEL to its real limit equal to 21. A level more could not change too much, but it is more coherent with the use of a double precision Morton index

andrea-iob commented 2 years ago

I've fixed the size of the arrays that store the constants. Should be good to test now.