We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f69fa2 commit d4540f0Copy full SHA for d4540f0
source/module_esolver/esolver_ks.cpp
@@ -681,13 +681,6 @@ void ESolver_KS<T, Device>::iter_finish(int& iter)
681
}
682
this->pelec->f_en.etot_delta = this->pelec->f_en.etot - this->pelec->f_en.etot_old;
683
this->pelec->f_en.etot_old = this->pelec->f_en.etot;
684
-
685
- // add a energy threshold for SCF convergence
686
- if (this->scf_ene_thr > 0.0 && this->conv_esolver == 1) // only check when density is converged
687
- {
688
- this->conv_esolver
689
- = (std::abs(this->pelec->f_en.etot_delta * ModuleBase::Ry_to_eV) < this->scf_ene_thr);
690
- }
691
692
693
//! Something to do after SCF iterations when SCF is converged or comes to the max iter step.
0 commit comments