Skip to content

Commit 38b3375

Browse files
committed
for lcao and lcao_in_pw diag_ethr = 0.0
1 parent c43c3e4 commit 38b3375

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/module_esolver/esolver_ks.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,10 @@ void ESolver_KS:: set_ethr(const int istep, const int iter)
151151
this->diag_ethr = std::min( this->diag_ethr, 0.1*this->drho/ std::max(1.0, GlobalC::CHR.nelec));
152152

153153
}
154-
// if(GlobalV::BASIS_TYPE=="lcao" || GlobalV::BASIS_TYPE=="lcao_in_pw")
155-
// {
156-
// this->diag_ethr = 0.0;
157-
// }
154+
if(GlobalV::BASIS_TYPE=="lcao" || GlobalV::BASIS_TYPE=="lcao_in_pw")
155+
{
156+
this->diag_ethr = 0.0;
157+
}
158158
}
159159

160160
void ESolver_KS:: printhead()

0 commit comments

Comments
 (0)