Skip to content

Commit 8d1cdce

Browse files
committed
save
1 parent 7577168 commit 8d1cdce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/module_esolver/lcao_before_scf.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ void ESolver_KS_LCAO<TK, TR>::before_scf(UnitCell& ucell, const int istep)
374374
if( PARAM.inp.rdmft == true )
375375
{
376376
// necessary operation of these parameters have be done with p_esolver->Init() in source/driver_run.cpp
377-
rdmft_solver.update_ion(GlobalC::ucell, *(this->pw_rho), GlobalC::ppcell.vloc, this->sf.strucFac); // add by jghan, 2024-03-16/2024-10-08
377+
rdmft_solver.update_ion(ucell, *(this->pw_rho), GlobalC::ppcell.vloc, this->sf.strucFac); // add by jghan, 2024-03-16/2024-10-08
378378
}
379379

380380
return;

source/module_rdmft/rdmft.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ double RDMFT<TK, TR>::run(ModuleBase::matrix& E_gradient_occNum, psi::Psi<TK>& E
404404
// this->cal_V_hartree();
405405
// this->cal_V_XC();
406406
this->cal_Hk_Hpsi();
407-
this->cal_E_gradient();
407+
this->cal_E_grad_wfc_occ_num();
408408
this->cal_Energy(this->cal_E_type);
409409
// this->cal_Energy(2);
410410

0 commit comments

Comments
 (0)