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 c12bd52 commit e506d00Copy full SHA for e506d00
source/module_ri/Exx_LRI.hpp
@@ -283,6 +283,11 @@ void Exx_LRI<Tdata>::cal_exx_force(const int& nat)
283
ModuleBase::TITLE("Exx_LRI","cal_exx_force");
284
ModuleBase::timer::tick("Exx_LRI", "cal_exx_force");
285
286
+ if (!this->exx_lri.flag_finish.D)
287
+ {
288
+ ModuleBase::WARNING_QUIT("Force_Stress_LCAO", "Cannot calculate EXX force when the first PBE loop is not converged.");
289
+ }
290
+
291
this->force_exx.create(nat, Ndim);
292
for(int is=0; is<PARAM.inp.nspin; ++is)
293
{
0 commit comments