OrderN / CONQUEST-release

Full public release of large scale and linear scaling DFT code CONQUEST
http://www.order-n.org/
MIT License
94 stars 24 forks source link

Change distance criteria to be consistent #307

Closed davidbowler closed 3 months ago

davidbowler commented 3 months ago

In finding matrix elements, we now check for r2 < rcut2 - RD_ERR in all routines (before we sometimes used a locally defined tolerance, and in some places we had + instead of -)

I think that this was the source of the error (my guess is that the change in set_bucket_module.f90 was the key one when compared to matrix_elements_module.f90 but I'm not sure).