Collected sources and patterns will appear here. Add from search, explore, or the patterns library.
(Coordinates, CutoffDistance, BoxVectors) -> PairIndices
Search for pairs of coordinates within a specified threshold using spatial partitioning (such as cell lists) while respecting periodic boundary conditions.
Problem it solves
Determining nearest neighbors in large systems is computationally expensive ($O(N^2)$) without periodic-boundary-aware spatial indices.
Consumes
Emits
The real projects this mechanism was found in. Attribution is the point — this is how the best teams actually do it.