mirror of
https://github.com/pfloos/quack
synced 2024-07-08 20:33:51 +02:00
39 lines
915 B
Fortran
39 lines
915 B
Fortran
|
subroutine renormalization_factor_SRG(eta,nBas,nC,nO,nV,nR,nS,e,Omega,rho,Z)
|
||
|
|
||
|
! Compute renormalization factor for GW
|
||
|
|
||
|
implicit none
|
||
|
include 'parameters.h'
|
||
|
|
||
|
! Input variables
|
||
|
|
||
|
double precision,intent(in) :: eta
|
||
|
integer,intent(in) :: nBas
|
||
|
integer,intent(in) :: nC
|
||
|
integer,intent(in) :: nO
|
||
|
integer,intent(in) :: nV
|
||
|
integer,intent(in) :: nR
|
||
|
integer,intent(in) :: nS
|
||
|
double precision,intent(in) :: e(nBas)
|
||
|
double precision,intent(in) :: Omega(nS)
|
||
|
double precision,intent(in) :: rho(nBas,nBas,nS)
|
||
|
|
||
|
! Local variables
|
||
|
|
||
|
integer :: p,i,a,jb
|
||
|
double precision :: eps
|
||
|
|
||
|
! Output variables
|
||
|
|
||
|
double precision,intent(out) :: Z(nBas)
|
||
|
|
||
|
! Initialize
|
||
|
|
||
|
Z(:) = 0d0
|
||
|
|
||
|
! Compute renormalization factor from derivative of SigC
|
||
|
|
||
|
Z(:) = 1d0/(1d0 - Z(:))
|
||
|
|
||
|
end subroutine renormalization_factor_SRG
|