Closed JiQi535 closed 2 years ago
The likely reason is the tolerance in symmetry finding. This can easily be solved with using Structure.merge_sites after you generate the interstitials. Or maybe refining the structure before you run the defect analysis.
Describe the bug The InterstitialGenerator can identify octahedral and tetrahedral interstitials, however, it overestimates the number of interstitial sites due to overlapping interstitials. _More than that, the method of create_saturated_interstitial_structure creates structures with overlapped interstitial sites._ The visualized saturated structure of BCC Ti with interstitial H atoms are shown below. The bug likely from the StructureMotifInterstitial class. While I haven't found the exact source of error from the complex codes, you can reproduce the problem by my example code below.
To Reproduce The error can be reproduced with the below codes:
Expected behavior No overlapped interstitial sites.
Snapshot
Desktop (please complete the following information):
@mkhorton @janosh I'm not sure who should I quote here, so I'm asking Matthew and Janosh here to help to link to the right person. Thank you!