The Elk Code
modw90.f90
Go to the documentation of this file.
1 
2 ! Copyright (C) 2015 Jon Lafuente and Manh Duc Le; 2017-18 Arsenii Gerasimov,
3 ! Yaroslav Kvashnin and Lars Nordstrom. This file is distributed under the terms
4 ! of the GNU General Public License. See the file COPYING for license details.
5 
6 module modw90
7 
8 use modmain
9 
10 !---------------------------------------!
11 ! Wannier90 interface variables !
12 !---------------------------------------!
13 ! seedname for all Wannier90 files
14 character(256) seedname
15 ! number of extra lines to write to .win file
16 integer nxlwin
17 ! extra lines to write to .win file
18 character(256), allocatable :: xlwin(:)
19 ! number of Wannier functions to calculate
20 integer num_wann
21 ! number of bands to pass to Wannier90
22 integer num_bands
23 ! index to bands
24 integer, allocatable :: idxw90(:)
25 ! projw90 is .true. if angular momentum projectors should be evaluated
26 logical projw90
27 ! maximum angular momentum of projectors for each species
29 ! map from the spin, l and atom projector to the Wannier function
30 integer, allocatable :: prjwn(:,:,:)
31 ! number of iterations for the minimisation of omega
32 integer num_iter
33 ! number of iterations for disentanglement
34 integer dis_num_iter
35 ! trial step for the line search minimisation
36 real(8) trial_step
37 ! maximum number of nearest neighbours per k-point
38 integer, parameter :: num_nnmax=12
39 ! total number of nearest neighbours for each k-point
40 integer nntot
41 ! list of nearest neighbours for each k-point
42 integer, allocatable :: nnlist(:,:)
43 ! G-vector offset for each nearest neighbour
44 integer, allocatable :: nncell(:,:,:)
45 ! wrtunk is .true. if the UNKkkkkk.s files are to be written in order to
46 ! enable real-space wavefunction plotting
47 logical wrtunk
48 
49 end module
50 
integer num_bands
Definition: modw90.f90:22
integer, parameter maxspecies
Definition: modmain.f90:30
real(8) trial_step
Definition: modw90.f90:36
logical projw90
Definition: modw90.f90:26
integer num_iter
Definition: modw90.f90:32
integer num_wann
Definition: modw90.f90:20
integer dis_num_iter
Definition: modw90.f90:34
character(256), dimension(:), allocatable xlwin
Definition: modw90.f90:18
character(256) seedname
Definition: modw90.f90:14
integer, parameter num_nnmax
Definition: modw90.f90:38
integer, dimension(:,:,:), allocatable nncell
Definition: modw90.f90:44
Definition: modw90.f90:6
integer, dimension(:), allocatable idxw90
Definition: modw90.f90:24
integer nntot
Definition: modw90.f90:40
integer, dimension(:,:,:), allocatable prjwn
Definition: modw90.f90:30
integer, dimension(maxspecies) lprojw90
Definition: modw90.f90:28
logical wrtunk
Definition: modw90.f90:47
integer nxlwin
Definition: modw90.f90:16
integer, dimension(:,:), allocatable nnlist
Definition: modw90.f90:42