Skip to content

Commit 96dd8cc

Browse files
committed
esolver_of_tddft cmakelist
1 parent ccb8a5d commit 96dd8cc

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

source/source_esolver/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ list(APPEND objects
88
esolver_lj.cpp
99
esolver_dp.cpp
1010
esolver_of.cpp
11+
esolver_of_tddft.cpp
1112
esolver_of_interface.cpp
1213
esolver_of_tool.cpp
1314
pw_others.cpp

source/source_esolver/esolver_of_tddft.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ void ESolver_OF_TDDFT::runner(UnitCell& ucell, const int istep)
107107
}
108108
else
109109
{
110-
std::cout<<"propagate_psi -------"<<std::endl;
111110
this->propagate_psi(ucell,this->pphi_td,this->pw_rho);
112111
for (int is = 0; is < PARAM.inp.nspin; ++is)
113112
{

source/source_esolver/esolver_of_tddft.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class ESolver_OF_TDDFT : public ESolver_OF
1818
psi::Psi<std::complex<double>>* psi_td = nullptr;
1919
//std::complex<double>** pdEdphi_phi_ = nullptr; // (dE/dphi)*phi
2020
// ==================== main process of TDOFDFT ======================
21-
void before_opt(const int istep, UnitCell& ucell);
21+
void before_opt(const int istep, UnitCell& ucell);
2222
void get_Hpsi(UnitCell& ucell, const std::complex<double>* const* psi_, ModulePW::PW_Basis* pw_rho, std::complex<double>** Hpsi);
2323
void get_tf_potential(const double* const* prho, ModulePW::PW_Basis* pw_rho, ModuleBase::matrix& rpot);
2424
void get_vw_potential_phi(const std::complex<double>* const* pphi, ModulePW::PW_Basis* pw_rho, std::complex<double>** Hpsi); // -1/2 \nabla^2 \phi

0 commit comments

Comments
 (0)