xnn.ffnn.models.gfnfflib.periodic_neighbours#
- xnn.ffnn.models.gfnfflib.periodic_neighbours(z, pos, cell, charge=0)[source]#
The two-pass neighbour rule of
neighbours()on the image pairs of a periodic structure. Returns the bonds (i, Img j) for every central atom i, the topology charges, the fragments of the charge constraint and the metal-nonmetal pairs of the hybridization rule; charges and paths are those of the folded graph.