You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the following structure of CO on a Rh surface. When using CrystalNN() on a surface Rh atom without an adsorbate, I get a coordination number of 9. When getting the coordination number of the surface Rh with CO bound to it, I get a coordination number of 1. One would expect the coordination number of the Rh with CO on it to be 1 greater than its neighboring sites. I'm not sure that this is a bug, but it's definitely unexpected! I have to dig into the root cause. @mkhorton, you might be interested.
frompymatgen.coreimportStructurefrompymatgen.analysis.local_envimportCrystalNNs=Structure.from_file('test.cif')
cnn=CrystalNN()
cn1=cnn.get_cn(s,0) # Rh surface site with CO (returns 1)cn2=cnn.get_cn(s,1) # Rh surface site without CO (returns 9)
The text was updated successfully, but these errors were encountered:
Andrew-S-Rosen
changed the title
Unexpected behavior in CrystalNN
Unexpected behavior in CrystalNN: very low coordination numbers when adsorbates are present
Aug 11, 2022
I have the following structure of CO on a Rh surface. When using
CrystalNN()
on a surface Rh atom without an adsorbate, I get a coordination number of 9. When getting the coordination number of the surface Rh with CO bound to it, I get a coordination number of 1. One would expect the coordination number of the Rh with CO on it to be 1 greater than its neighboring sites. I'm not sure that this is a bug, but it's definitely unexpected! I have to dig into the root cause. @mkhorton, you might be interested.test.cif.txt
The text was updated successfully, but these errors were encountered: