Skip to content

Commit

Permalink
fix bug of nche not converged
Browse files Browse the repository at this point in the history
  • Loading branch information
Qianruipku committed Sep 4, 2023
1 parent 3540258 commit e7d8a21
Show file tree
Hide file tree
Showing 4 changed files with 2,004 additions and 2,004 deletions.
2 changes: 1 addition & 1 deletion source/module_esolver/esolver_sdft_pw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ void ESolver_SDFT_PW::postprocess()
ModuleIO::write_istate_info(this->pelec->ekb, this->pelec->wg, kv, &(GlobalC::Pkpoints));

((hsolver::HSolverPW_SDFT*)phsol)->stoiter.cleanchiallorder(); // release lots of memories
int nche_test = 0;
int nche_test = this->nche_sto;
if (INPUT.out_dos)
nche_test = std::max(nche_test, INPUT.dos_nche);
int cond_nche;
Expand Down
Loading

0 comments on commit e7d8a21

Please sign in to comment.