Skip to content

Commit 970e2d0

Browse files
committed
delete Electrons::self_consistent
1 parent feeabe1 commit 970e2d0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source/src_pw/electrons.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ void Electrons::non_self_consistent(const int &istep)
8686
return;
8787
}
8888

89-
89+
/*
9090
#include "occupy.h"
9191
void Electrons::self_consistent(const int &istep)
9292
{
@@ -462,7 +462,7 @@ void Electrons::self_consistent(const int &istep)
462462
ModuleBase::timer::tick("Electrons","self_consistent");
463463
return;
464464
} // end Electrons
465-
465+
*/
466466

467467
bool Electrons::check_stop_now(void)
468468
{

source/src_pw/electrons.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class Electrons: private Threshold_Elec
3030

3131
double delta_total_energy;
3232

33-
void self_consistent(const int &istep);
33+
// void self_consistent(const int &istep); // It is replaced by ESolver_KS::Run
3434

3535
void non_self_consistent(const int &istep);
3636

0 commit comments

Comments
 (0)