EDIFFG: Difference between revisions

From VASP Wiki
(When EDIFFG is negeative the norm of the forces is used as a stopping criteria)
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
Description: {{TAG|EDIFFG}} defines the break condition for the ionic relaxation loop.
Description: {{TAG|EDIFFG}} defines the break condition for the ionic relaxation loop.
----
----
When {{TAG|EDIFFG}} is positive, the relaxation is stopped when the change of the total (free) energy is smaller than {{TAG|EDIFFG}} between two ionic steps.
When {{TAG|EDIFFG}} is positive, the relaxation is stopped when the change of the total energy is smaller than {{TAG|EDIFFG}} between two ionic steps.


When {{TAG|EDIFFG}} is negative, the relaxation is stopped when the norms of all the forces are smaller than |{{TAG|EDIFFG}}|. This is usually a more convenient setting.
When {{TAG|EDIFFG}} is negative, the relaxation is stopped when the norms of all the forces are smaller than |{{TAG|EDIFFG}}|. This is usually a more convenient setting.


{{TAG|EDIFFG}} might be 0; in this case the ionic relaxation is stopped after {{TAG|NSW}} steps.
If {{TAG|EDIFFG}} = 0, the ionic relaxation is stopped after {{TAG|NSW}} steps.
{{NB|warning|{{TAG|EDIFFG}} does not apply to [[:Category:Molecular dynamics|molecular-dynamics]] simulations.}}
{{NB|tip|You can get information at each electronic step using {{TAG|NWRITE|2,3}}.}}


{{TAG|EDIFFG}} does not apply to MD-simulations.
== Related tags and articles ==
 
{{TAG|EDIFF}}, {{TAG|NWRITE}}
== Related Tags and Sections ==
{{TAG|EDIFF}}


{{sc|EDIFFG|Examples|Examples that use this tag}}
{{sc|EDIFFG|Examples|Examples that use this tag}}
----
----
[[Category:INCAR]][[Category:Structural Optimization]][[Category:Forces]][[Category:Ionic Minimization Methods]]
[[Category:INCAR tag]][[Category:Forces]][[Category:Ionic minimization]]

Latest revision as of 07:37, 24 October 2025

EDIFFG = [real]
Default: EDIFFG = EDIFF×10 

Description: EDIFFG defines the break condition for the ionic relaxation loop.


When EDIFFG is positive, the relaxation is stopped when the change of the total energy is smaller than EDIFFG between two ionic steps.

When EDIFFG is negative, the relaxation is stopped when the norms of all the forces are smaller than |EDIFFG|. This is usually a more convenient setting.

If EDIFFG = 0, the ionic relaxation is stopped after NSW steps.

Warning: EDIFFG does not apply to molecular-dynamics simulations.
Tip: You can get information at each electronic step using NWRITE = 2,3.

Related tags and articles

EDIFF, NWRITE

Examples that use this tag