3 SUBROUTINE calculates_green_opt()
4 INTEGER, PARAMETER :: dp
=8
5 REAL(KIND
=dp
), ALLOCATABLE
, DIMENSION(:) :: green
, green1
6 ALLOCATE(green(-nrec
:nrec
),stat
=i_all
)
8 green(-ikern
)=gleft
+gright
9 IF (ABS(green(ikern
)) <= 1.e
-20_dp
) THEN
14 ALLOCATE(green1(-nrec
:nrec
),stat
=i_all
)
15 CALL scf_recursion(nrec
,green(-nrec
),green1(-nrec
))
16 END SUBROUTINE calculates_green_opt