mirror of
https://github.com/pfloos/quack
synced 2024-11-03 20:53:53 +01:00
fixed bug in S^2
This commit is contained in:
parent
1e21d8ff56
commit
1803f1d454
@ -272,7 +272,7 @@ subroutine print_GHFspin(nBas, nBas2, nO, C, S)
|
||||
|
||||
Sz = 0.5d0 * (Na - Nb)
|
||||
Sz2 = Sz*Sz + nonco_z
|
||||
S2 = 0.5d0 * (Na + Nb) * (Sz + 1.d0) + nonco_z + contam_ghf
|
||||
S2 = Sz2 + 0.5d0 * (Na + Nb) + contam_ghf
|
||||
|
||||
print *, 'Sz, Sz^2 = ', Sz, Sz2
|
||||
print *, 'S^2 = ', S2
|
||||
|
Loading…
Reference in New Issue
Block a user