Fix(md): correct FIRE force convergence checks#7458
Conversation
|
Thanks for your contribution! Could you provide some unit tests or integrate tests in the PR? |
03_LJ_FIRE.zip |
|
@wazichaoyingbi Thanks for you contribution! Does this PR have any relation with #5060 |
Yes, this is to solve that question. But this fixed version still takes about 120 md steps before convergence(just approximation, the test based on fixed version is still running), because fire algorithm of abacus is different from ase. But it should fix the problem that abacus can't converge. |
Reminder
Linked Issue
NO linked issue.
Unit Tests and/or Case Tests for my changes
I tested this change locally with FIRE relaxation cases.
The tests verified that:
frozen atoms or frozen directions are not included in the FIRE force convergence criterion;
the force threshold specified in the INPUT file can control FIRE convergence as expected.
What's changed?
Any changes of core modules? (ignore if not applicable)