Hi there,
The attached script calculates the coordination number of all the elements in a periodic structure based on the number of bonds attached to each atom.
A report is generated with the total number of atoms for each element, and a breakdown into the individual coordination numbers.
From a Perl perspective, this script also gives an example of the use of a hash of arrays to store data.
I hope this is useful.
Best regards,
Stephen
