Skip to content

Commit 02eb1de

Browse files
committed
fix bug in updateHk
1 parent 975c2cc commit 02eb1de

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

source/module_esolver/lcao_after_scf.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ void ESolver_KS_LCAO<TK, TR>::after_scf(UnitCell& ucell, const int istep, const
221221
PARAM.globalv.nlocal,
222222
this->pelec->ekb,
223223
this->pelec->klist->kvec_d,
224-
this->pelec->klist->isk,
225224
ucell,
226225
orb_,
227226
this->gd,

source/module_hamilt_lcao/module_deepks/LCAO_deepks_interface.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ void LCAO_Deepks_Interface<TK, TR>::out_deepks_labels(const double& etot,
2121
const int& nlocal,
2222
const ModuleBase::matrix& ekb,
2323
const std::vector<ModuleBase::Vector3<double>>& kvec_d,
24-
const std::vector<int>& isk, // mohan add 2025-04-01
2524
const UnitCell& ucell,
2625
const LCAO_Orbitals& orb,
2726
const Grid_Driver& GridD,
@@ -339,7 +338,7 @@ void LCAO_Deepks_Interface<TK, TR>::out_deepks_labels(const double& etot,
339338
{
340339
h_tot[ik].create(nlocal, nlocal);
341340

342-
p_ham->updateHk(ik, isk[ik]);
341+
p_ham->updateHk(ik);
343342

344343
const TK* hk_ptr = p_ham->getHk();
345344

source/module_hamilt_lcao/module_deepks/LCAO_deepks_interface.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ class LCAO_Deepks_Interface
3737
const int& nlocal,
3838
const ModuleBase::matrix& ekb,
3939
const std::vector<ModuleBase::Vector3<double>>& kvec_d,
40-
const std::vector<int>& isk, // mohan add 2025-04-01
4140
const UnitCell& ucell,
4241
const LCAO_Orbitals& orb,
4342
const Grid_Driver& GridD,

0 commit comments

Comments
 (0)