-
Notifications
You must be signed in to change notification settings - Fork 134
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
Fix: add energy_stable_count to ensure energy threshold is really achieved #5012
Conversation
@hongriTianqi Sometimes we can encounter another situation: drho reached 1e-7 while EDIFF only reached 1e-4, can we do something to detect it ? |
@QuantumMisaka You can set |
I have tested this PR. The case in the issue can be solved now:
The corresponding
|
@maki49 could you have a look about EXX part? |
This PR will cause all calculations to run an additional SCF step with finite |
Reminder
if
scf_ene_thr
is set inINPUT
, the energy is converged only when thescf_ene_thr
has been fulfilled twice.an int
stable_energy_count
is added inESolver_FP
Linked Issue
Fix #5011