1
0
mirror of https://gitlab.com/scemama/qp_plugins_scemama.git synced 2024-12-23 04:43:38 +01:00
qp_plugins_scemama/devel/cc/form_taus_nc.irp.f

24 lines
519 B
FortranFixed
Raw Normal View History

2019-09-14 14:28:30 +02:00
BEGIN_PROVIDER [ double precision, taus, (spin_occ_num,spin_occ_num,spin_vir_num,spin_vir_num)]
implicit none
BEGIN_DOC
! Tau_s
END_DOC
2019-09-11 17:09:30 +02:00
2019-09-14 14:28:30 +02:00
integer :: i,j,a,b
2019-09-11 17:09:30 +02:00
2019-09-14 14:15:25 +02:00
do b=1,spin_vir_num
do a=1,spin_vir_num
do j=1,spin_occ_num
do i=1,spin_occ_num
2019-09-11 17:09:30 +02:00
2019-09-14 14:28:30 +02:00
taus(i,j,a,b) = t2_cc(i,j,a,b) + 0.5d0*( &
t1_cc(i,a)*t1_cc(j,b) - &
t1_cc(i,b)*t1_cc(j,a) )
2019-09-11 17:09:30 +02:00
enddo
enddo
enddo
enddo
2019-09-14 14:28:30 +02:00
END_PROVIDER