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
6pure complex(8) function zfpole(c,z)
7use modgw
8implicit none
9! arguments
10complex(8), intent(in) :: c(*),z
11! local variables
12integer i,j
13complex(8) z1
14zfpole=c(1)
15i=2
16do 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
22end do
23end function
24
Definition modgw.f90:6
integer npole
Definition modgw.f90:32
pure complex(8) function zfpole(c, z)
Definition zfpole.f90:7