Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions source/module_esolver/esolver_ks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ void ESolver_KS<T, Device>::before_all_runners(UnitCell& ucell, const Input_para
PARAM.inp.mixing_gg0_min,
PARAM.inp.mixing_angle,
PARAM.inp.mixing_dmr);
p_chgmix->init_mixing();

/// PAW Section
#ifdef USE_PAW
Expand Down
2 changes: 1 addition & 1 deletion source/module_esolver/esolver_ks_lcao.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ void ESolver_KS_LCAO<TK, TR>::iter_init(UnitCell& ucell, const int istep, const

if (iter == 1)
{
this->p_chgmix->init_mixing(); // init mixing
this->p_chgmix->mix_reset(); // init mixing
this->p_chgmix->mixing_restart_step = PARAM.inp.scf_nmax + 1;
this->p_chgmix->mixing_restart_count = 0;
// this output will be removed once the feeature is stable
Expand Down
6 changes: 3 additions & 3 deletions tests/integrate/384_NO_GO_S1_HSE_loop0_PU/result.ref
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
etotref -465.9048077363179
etotperatomref -155.3016025788
totaltimeref 49.53
etotref -465.9048164318562
etotperatomref -155.3016054773
totaltimeref 8.29
Loading