EDIFFG: Difference between revisions

From VASP Wiki
No edit summary
No edit summary
 
(5 intermediate revisions by 4 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.
----
----
If the change in the total (free) energy is smaller than {{TAG|EDIFFG}} between two ionic steps relaxation will be stopped. If {{TAG|EDIFFG}} is negative it has a different meaning: In this case the relaxation will stop if all forces are smaller than |{{TAG|EDIFFG}}| . This is usually a more convenient setting.
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.


{{TAG|EDIFFG}} might be 0; in this case the ionic relaxation is stopped after {{TAG|NSW}} 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.


{{TAG|EDIFFG}} does not apply to MD-simulations.
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}}.}}


== Related Tags and Sections ==
== Related tags and articles ==
{{TAG|EDIFF}}
{{TAG|EDIFF}}, {{TAG|NWRITE}}


{{sc|EDIFFG|Examples|Examples that use this tag}}
{{sc|EDIFFG|Examples|Examples that use this tag}}
----
----
[[Category:INCAR]][[Category:Structural Optimization]][[Category:Forces]]
[[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