EDIFFG: Difference between revisions
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
If {{TAG|EDIFFG}} = 0, 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|warning|{{TAG|EDIFFG}} does not apply to [[:Category:Molecular dynamics|molecular-dynamics]] simulations.}} | ||
{{NB|tip|You can get information at each electronic step using {{ | {{NB|tip|You can get information at each electronic step using {{TAG|NWRITE|2,3}}.}} | ||
== Related tags and articles == | == Related tags and articles == | ||
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.
|