-
Notifications
You must be signed in to change notification settings - Fork 76
Description
As pointed out by @CompRhys in #412, the bounding box solution for non-periodic fails badly for some kinds of systems. Two distant molecules or one highly curved molecule are both examples of this.
would using [a bounding box] as the general case fail? for example if we had a 2d system or surface with a lot of vacuum the cell is not useful for determining the density?
guess the limiting case is something flat anthracene in a vacuum. If you have two molecules far enough apart then this heuristic would fail.
@CompRhys suggested using some nl based approach. This is probably the technically best solution, but needs to be implemented with a degree of care.
n_atoms*density is just to say it scales as the number of nearest neighbors? why not call a nl algorithm to estimate and go based on that?