You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
dyzheng
committed
Fix(deltaspin): enable PW DeltaSpin constraint energy and update test refs
Source changes:
- cal_escon(): replace is_Mi_converged guard with lambda_/Mi_ empty check
to prevent segfault when uninitialized (matching accel convention)
- elecstate_pw: add get_spin_constrain_energy() override so PW basis
includes DeltaSpin constraint energy in total energy (was always 0)
Test refs regenerated for 7 cases with significant energy changes:
- 14_PW_DS_S4_XYZ, 15_PW_DS_S4_Z, 16_PW_DS_S4_XY
- 18_PW_DFTU_DS_S2_Z, 19_PW_DFTU_DS_S4_XY, 21_PW_DFTU_DS_S4_Z
- 41_PW_DS_S4_Thr10_XY
nspin=2 tests and ReadLam/Thr1e10 tests unchanged.
0 commit comments