The Elk Code
modgw.f90
Go to the documentation of this file.
1 
2 ! Copyright (C) 2016 A. Davydov, A. Sanna, J. K. Dewhurst, S. Sharma and
3 ! E. K. U. Gross. This file is distributed under the terms of the GNU General
4 ! Public License. See the file COPYING for license details.
5 
6 module modgw
7 
8 ! maximum Matsubara frequency for the GW calculation
9 real(8) wmaxgw
10 ! maximum number of Matsubara frequencies
11 integer nwgw
12 ! integer grid intervals for Matsubara frequencies
13 integer intwgw(2)
14 ! number of prime factors for the Matsubara frequency FFT
15 integer npfftw
16 ! map from frequency index to FFT array
17 integer, allocatable :: iwfft(:)
18 ! maximum fermionic Matsubara frequency index to be used for the GW calculation
19 integer nwfm
20 ! maximum bosonic frequency index
21 integer nwbs
22 ! imaginary frequencies used for the GW calculation
23 real(8), allocatable :: wgw(:)
24 ! complex fermionic frequencies
25 complex(8), allocatable :: wfm(:)
26 ! tsediag is .true. if the GW self-energy is taken to be diagonal
27 logical tsediag
28 ! type of analytic continuation to be used for determining the self-energy on
29 ! the real axis
30 integer actype
31 ! number of poles used for fitting the self-energy matrix elements
32 integer npole
33 ! number of complex shifts used in averaging the Pade approximant for the
34 ! analytic continuation of the self-energy to the real axis
35 integer nspade
36 ! ksgwrho is .true. if the GW density is to be used in the self-consistent
37 ! Kohn-Sham calculation
38 logical ksgwrho
39 
40 end module
41 
integer, dimension(:), allocatable iwfft
Definition: modgw.f90:17
integer actype
Definition: modgw.f90:30
integer nwbs
Definition: modgw.f90:21
integer, dimension(2) intwgw
Definition: modgw.f90:13
real(8) wmaxgw
Definition: modgw.f90:9
integer npole
Definition: modgw.f90:32
integer nwgw
Definition: modgw.f90:11
real(8), dimension(:), allocatable wgw
Definition: modgw.f90:23
Definition: modgw.f90:6
integer nspade
Definition: modgw.f90:35
integer npfftw
Definition: modgw.f90:15
integer nwfm
Definition: modgw.f90:19
logical ksgwrho
Definition: modgw.f90:38
complex(8), dimension(:), allocatable wfm
Definition: modgw.f90:25
logical tsediag
Definition: modgw.f90:27