Skip to content

Commit ce508cb

Browse files
dyzhengroot
andcommitted
Fix: deleted useless file write_rho_dipole.cpp (#1423)
Co-authored-by: root <[email protected]>
1 parent 9727f59 commit ce508cb

File tree

7 files changed

+2
-390
lines changed

7 files changed

+2
-390
lines changed

source/Makefile.Objects

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,6 @@ read_txt_input-spectrum.o\
381381
write_pot.o\
382382
write_rho.o\
383383
write_rho_cube.o\
384-
write_rho_dipole.o\
385384
write_HS.o\
386385
write_HS_R.o\
387386
write_dm.o\

source/module_esolver/esolver_ks_lcao_tddft.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -468,14 +468,6 @@ void ESolver_KS_LCAO_TDDFT::afterscf(const int istep)
468468
ssp << GlobalV::global_out_dir << "SPIN" << is + 1 << "_POT";
469469
GlobalC::pot.write_potential(is, 0, ssp.str(), GlobalC::pot.vr_eff, precision);
470470
}
471-
472-
// LiuXh modify 20200701
473-
/*
474-
//fuxiang add 2017-03-15
475-
std::stringstream sse;
476-
sse << GlobalV::global_out_dir << "SPIN" << is + 1 << "_DIPOLE_ELEC";
477-
GlobalC::CHR.write_rho_dipole(GlobalC::CHR.rho_save, is, 0, sse.str());
478-
*/
479471
}
480472

481473
if (this->conv_elec)

source/src_io/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,5 @@ add_library(
4848
write_pot.cpp
4949
write_rho.cpp
5050
write_rho_cube.cpp
51-
write_rho_dipole.cpp
5251
write_wfc_realspace.cpp
5352
)

0 commit comments

Comments
 (0)