4
1
mirror of https://github.com/pfloos/quack synced 2024-06-21 20:52:21 +02:00
quack/src/CC/form_delta_OV.f90

28 lines
504 B
Fortran
Raw Normal View History

2020-03-26 16:57:46 +01:00
subroutine form_delta_OV(nC,nO,nV,nR,eO,eV,delta)
2019-03-19 10:13:33 +01:00
! Form energy denominator for CC
implicit none
! Input variables
2020-03-26 16:57:46 +01:00
integer,intent(in) :: nC,nO,nV,nR
2019-03-19 10:13:33 +01:00
double precision,intent(in) :: eO(nO)
double precision,intent(in) :: eV(nV)
! Local variables
integer :: i,a
! Output variables
double precision,intent(out) :: delta(nO,nV)
2020-03-26 16:57:46 +01:00
do i=nC+1,nO
do a=1,nV-nR
2019-03-19 10:13:33 +01:00
delta(i,a) = eV(a) - eO(i)
enddo
enddo
end subroutine form_delta_OV