Skip to content

Commit

Permalink
Merge pull request #207 from timcallow/convergence_change
Browse files Browse the repository at this point in the history
Allow convergence after 2 scf cycles
  • Loading branch information
timcallow authored Oct 10, 2023
2 parents 1d3333a + 44aa3c1 commit b98ae3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atoMEC/convergence.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def check_conv(self, E_free, pot, dens, iscf):
conv_pot = False
conv_vals["complete"] = False

if iscf > 3:
if iscf > 1:
if conv_vals["dE"] < config.conv_params["econv"]:
conv_energy = True
if np.all(conv_vals["drho"] < config.conv_params["nconv"]):
Expand Down

0 comments on commit b98ae3a

Please sign in to comment.