The Elk Code
Loading...
Searching...
No Matches
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,j
13
complex(8)
z1
14
zfpole
=c(1)
15
i=2
16
do
j=1,
npole
17
z1=c(i)+z
18
if
(abs(z1%re)+abs(z1%im) > 1.d-8)
then
19
zfpole
=
zfpole
+c(i+1)/z1
20
end if
21
i=i+2
22
end do
23
end function
24
modgw
Definition
modgw.f90:6
modgw::npole
integer npole
Definition
modgw.f90:32
zfpole
pure complex(8) function zfpole(c, z)
Definition
zfpole.f90:7
zfpole.f90
Generated by
1.9.8