Skip to content

Commit

Permalink
Perf: use converged occupation matrix for initial DFTU calculation in…
Browse files Browse the repository at this point in the history
… MD calculation (#3837)

Co-authored-by: dyzheng <zhengdy@bjaisi.com>
  • Loading branch information
dyzheng and dyzheng committed Mar 29, 2024
1 parent 0dd5623 commit 1fa4f86
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/module_esolver/esolver_ks_lcao.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1086,6 +1086,11 @@ bool ESolver_KS_LCAO<TK, TR>::do_after_converge(int& iter)
iter);
}
#endif // __EXX
if(GlobalV::dft_plus_u)
{
// use the converged occupation matrix for next MD/Relax SCF calculation
GlobalC::dftu.initialed_locale = true;
}
return true;
}

Expand Down

0 comments on commit 1fa4f86

Please sign in to comment.