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 ! angular momentum of projectors for each species
28 integer lprojw90(4,maxspecies)
29 ! number of projectors for each species
31 ! map from the spin, l and atom projector to the Wannier function
32 integer, allocatable :: prjwn(:,:,:)
33 ! number of iterations for the minimisation of omega
34 integer num_iter
35 ! number of iterations for disentanglement
36 integer dis_num_iter
37 ! trial step for the line search minimisation
38 real(8) trial_step
39 ! maximum number of nearest neighbours per k-point
40 integer, parameter :: num_nnmax=12
41 ! total number of nearest neighbours for each k-point
42 integer nntot
43 ! list of nearest neighbours for each k-point
44 integer, allocatable :: nnlist(:,:)
45 ! G-vector offset for each nearest neighbour
46 integer, allocatable :: nncell(:,:,:)
47 ! wrtunk is .true. if the UNKkkkkk.s files are to be written in order to
48 ! enable real-space wavefunction plotting
49 logical wrtunk
50 
51 end module
52 
integer num_bands
Definition: modw90.f90:22
integer, parameter maxspecies
Definition: modmain.f90:30
integer, dimension(maxspecies) nprojw90
Definition: modw90.f90:30
real(8) trial_step
Definition: modw90.f90:38
logical projw90
Definition: modw90.f90:26
integer num_iter
Definition: modw90.f90:34
integer num_wann
Definition: modw90.f90:20
integer dis_num_iter
Definition: modw90.f90:36
character(256), dimension(:), allocatable xlwin
Definition: modw90.f90:18
character(256) seedname
Definition: modw90.f90:14
integer, parameter num_nnmax
Definition: modw90.f90:40
integer, dimension(:,:,:), allocatable nncell
Definition: modw90.f90:46
Definition: modw90.f90:6
integer, dimension(:), allocatable idxw90
Definition: modw90.f90:24
integer nntot
Definition: modw90.f90:42
integer, dimension(:,:,:), allocatable prjwn
Definition: modw90.f90:32
logical wrtunk
Definition: modw90.f90:49
integer, dimension(4, maxspecies) lprojw90
Definition: modw90.f90:28
integer nxlwin
Definition: modw90.f90:16
integer, dimension(:,:), allocatable nnlist
Definition: modw90.f90:44