-
Notifications
You must be signed in to change notification settings - Fork 1
Fix formation energy #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Another addition made to this branch is that the formation energy of the host structure is subtracted from the generated structures. This may be counterintuitive, but it is to show the favourability of placing an atom in the specific host structure, without any bias of unfavourability of the initial host (i.e. energy cost of termination, etc). |
Actually, it negates the energy of formation of the host structure. This is the important value to subtract as that contains the formation energy of the terminations. |
shepplestone
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In principle approved, deep code review due 12/10/2024
Use of formation energy as the weighting to sum distribution functions (DFs) to generate the generalised distribution function (gDF) is flawed due to the incorrect comparison of structures with differing stoichiometries.
This is extremely prevalent when considering choice of reference energies. If using isolated atom energies for a binary compound material, then one element species will have a much more favourable formation energy for its bulk (i.e. carbon) than the other (i.e. oxygen). This means that the second element in its bulk phase will contribute nothing to the gDF, which is not what should happen.