mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-30 15:15:38 +01:00
fixed h_core energy for multistate
This commit is contained in:
parent
be902c6636
commit
adbb78a5ff
@ -18,8 +18,8 @@
|
||||
enddo
|
||||
enddo
|
||||
double precision :: accu
|
||||
accu = 0.d0
|
||||
do i = 1, N_states
|
||||
accu = 0.d0
|
||||
do j = 1, mo_num
|
||||
accu += one_e_dm_mo_alpha(j,j,i) + one_e_dm_mo_beta(j,j,i)
|
||||
enddo
|
||||
|
@ -17,8 +17,8 @@
|
||||
enddo
|
||||
enddo
|
||||
enddo
|
||||
accu = 0.d0
|
||||
do i = 1, N_states
|
||||
accu = 0.d0
|
||||
do j = 1, mo_num
|
||||
accu += one_e_dm_mo_alpha_for_dft(j,j,i) + one_e_dm_mo_beta_for_dft(j,j,i)
|
||||
enddo
|
||||
|
Loading…
Reference in New Issue
Block a user