The Elk Code
zfpole.f90
Go to the documentation of this file.
1
2
! Copyright (C) 2017 J. K. Dewhurst, S. Sharma and E. K. U. Gross.
3
! This file is distributed under the terms of the GNU General Public License.
4
! See the file COPYING for license details.
5
6
pure complex(8)
function
zfpole
(c,z)
7
use
modgw
8
implicit none
9
! arguments
10
complex(8)
,
intent(in)
:: c(*),z
11
! local variables
12
integer
i
13
complex(8)
z1
14
zfpole
=c(1)
15
do
i=2,2*
npole
,2
16
z1=c(i)+z
17
if
(abs(z1%re)+abs(z1%im) > 1.d-8)
then
18
zfpole
=
zfpole
+c(i+1)/z1
19
end if
20
end do
21
end function
22
zfpole
pure complex(8) function zfpole(c, z)
Definition:
zfpole.f90:7
modgw::npole
integer npole
Definition:
modgw.f90:32
modgw
Definition:
modgw.f90:6
zfpole.f90
Generated by
1.8.14