lmhale99 / atomman

Atomistic Manipulation Toolkit
Other
34 stars 40 forks source link

Neighbor calculator misses occasional neighbors #12

Open lmhale99 opened 4 years ago

lmhale99 commented 4 years ago

When computing neighbor lists of ideal crystals with all periodic boundaries, the average coordination number is occasionally slightly less than the expected value.

Example: 3x3x3 supercell of the HCP conventional cell gives mean coord as 11.9629... rather than 12.

The missing neighbor pairings seem to be related to binning near the c and a box edges.