9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-22 11:33:29 +01:00

Merge pull request #19 from QuantumPackage/dev-lct

fixed h_core energy for multistate
This commit is contained in:
Anthony Scemama 2019-03-08 16:58:55 +01:00 committed by GitHub
commit f1bafe47c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,8 @@
enddo enddo
enddo enddo
double precision :: accu double precision :: accu
accu = 0.d0
do i = 1, N_states do i = 1, N_states
accu = 0.d0
do j = 1, mo_num do j = 1, mo_num
accu += one_e_dm_mo_alpha(j,j,i) + one_e_dm_mo_beta(j,j,i) accu += one_e_dm_mo_alpha(j,j,i) + one_e_dm_mo_beta(j,j,i)
enddo enddo

View File

@ -17,8 +17,8 @@
enddo enddo
enddo enddo
enddo enddo
accu = 0.d0
do i = 1, N_states do i = 1, N_states
accu = 0.d0
do j = 1, mo_num 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) accu += one_e_dm_mo_alpha_for_dft(j,j,i) + one_e_dm_mo_beta_for_dft(j,j,i)
enddo enddo