Feature: Different max-force criterion of ABACUS from ASE&VASP #4219
Replies: 3 comments
-
I think all these criteria are reasonable if you describe them in detail to let users know what they are doing. If modified, the new version of ABACUS would be inconsistent with the old version, which is also confusing. |
Beta Was this translation helpful? Give feedback.
-
I do think User may be more confusing about the max-force and relax convergence criterion from ABACUS and ASE-ABACUS are different. |
Beta Was this translation helpful? Give feedback.
-
Any other discussion ? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Details
ABACUS have the different max-force criterion from ASE and VASP.
In ABACUS, the max-force, namely
LARGEST GRAD
in print-out andLargest gradient
in running*.log, which seems to be calculated bysource/module_relax/relax_new/relax.cpp
:The max force is directly calculated by the maximum of TOTAL-FORCE along x, y, and z.
An example is :
But this method is different from ASE and VASP, which use the number of real force calculated by the vector sum of force along x, y, z, direction, respectively.
In ASE, the max-force calculation code is
using the same example above, but by ASE-ABACUS, the
fmax
will be 0.057059 eV/Ang.in which the force is read from ABACUS calculation result.
in VASP, an example is :
The max-force is calculated by the same method of ASE.
I consider that the max-force criterion of ASE and VASP is more reasonable, and the largest gradient in ABACUS my cause confusion to user and may raise problem during relaxation ?
By the way, in QE, the relaxation criterion is by total-force, which is the sum of all number of real-force.
@kirk0830 Thanks for checking
Task list for Issue attackers (only for developers)
Beta Was this translation helpful? Give feedback.
All reactions