1
0
mirror of https://gitlab.com/scemama/qp_plugins_scemama.git synced 2024-12-23 12:54:35 +01:00
qp_plugins_scemama/devel/cc/form_tau_nc.irp.f

22 lines
445 B
FortranFixed
Raw Normal View History

2019-09-14 14:32:41 +02:00
BEGIN_PROVIDER [ double precision, tau_cc, (spin_occ_num,spin_occ_num,spin_vir_num,spin_vir_num) ]
implicit none
BEGIN_DOC
! Tau in CCSD
END_DOC
2019-09-11 17:09:30 +02:00
2019-09-14 14:32:41 +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:32:41 +02:00
tau_cc(i,j,a,b) = t2_cc(i,j,a,b) + 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:32:41 +02:00
END_PROVIDER