Skip to content

Commit 21117cb

Browse files
author
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.
1 parent a3616d2 commit 21117cb

7 files changed

Lines changed: 21 additions & 21 deletions

File tree

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
etotref -6366.562922988214
2-
etotperatomref -3183.2814614941
3-
totaltimeref 4.23
1+
etotref -6396.381001785331
2+
etotperatomref -3198.1905008926656
3+
totaltimeref 1.0
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
etotref -6366.562433916121
2-
etotperatomref -3183.2812169581
3-
totaltimeref 4.26
1+
etotref -6370.809681073991
2+
etotperatomref -3185.4048405369954
3+
totaltimeref 1.0
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
etotref -6366.562695059035
2-
etotperatomref -3183.2813475295
3-
totaltimeref 4.19
1+
etotref -6378.090151037823
2+
etotperatomref -3189.0450755189113
3+
totaltimeref 1.0
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
etotref -6355.9855588350255857
2-
etotperatomref -3177.9927794175
3-
totaltimeref 2.89
1+
etotref -6360.5555597262455194
2+
etotperatomref -3180.2777798631228
3+
totaltimeref 1.0
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
etotref -6355.9841673819892094
2-
etotperatomref -3177.9920836910
3-
totaltimeref 5.88
1+
etotref -6360.5528100225901653
2+
etotperatomref -3180.276405011295
3+
totaltimeref 1.0
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
etotref -6355.9834051938123594
2-
etotperatomref -3177.9917025969
3-
totaltimeref 5.46
1+
etotref -6360.5035660234671013
2+
etotperatomref -3180.2517830117336
3+
totaltimeref 1.0
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
etotref -6366.564253345298
2-
etotperatomref -3183.2821266726
3-
totaltimeref 7.03
1+
etotref -6372.011126477043
2+
etotperatomref -3186.0055632385215
3+
totaltimeref 1.0

0 commit comments

Comments
 (0)