Skip to content

Commit 7829228

Browse files
committed
update
1 parent dc20084 commit 7829228

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

source/source_esolver/esolver_ks_lcao_tddft.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,10 @@ void ESolver_KS_LCAO_TDDFT<TR, Device>::iter_finish(
336336
GlobalV::ofs_running << std::endl;
337337
}
338338

339+
ESolver_KS_LCAO<std::complex<double>, TR>::iter_finish(ucell, istep, iter, conv_esolver);
340+
339341
this->save2(ucell, istep, iter, conv_esolver);
340342

341-
ESolver_KS_LCAO<std::complex<double>, TR>::iter_finish(ucell, istep, iter, conv_esolver);
342343
}
343344

344345
template <typename TR, typename Device>

source/source_esolver/esolver_ks_lcao_tddft.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class ESolver_KS_LCAO_TDDFT : public ESolver_KS_LCAO<std::complex<double>, TR>
6565
virtual void hamilt2rho_single(UnitCell& ucell, const int istep, const int iter, const double ethr) override;
6666

6767
// mohan change update_pot to save2, 2025-10-17
68-
virtual void save2(UnitCell& ucell, const int istep, const int iter, const bool conv_esolver);
68+
void save2(UnitCell& ucell, const int istep, const int iter, const bool conv_esolver);
6969

7070
virtual void iter_finish(UnitCell& ucell, const int istep, int& iter, bool& conv_esolver) override;
7171

0 commit comments

Comments
 (0)