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:
commit
f1bafe47c0
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user