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 !---------------------------------------!
9 ! Wannier90 interface variables !
10 !---------------------------------------!
11 ! seedname for all Wannier90 files
12 character(256) seedname
13 ! number of extra lines to write to .win file
14 integer nxlwin
15 ! extra lines to write to .win file
16 character(256), allocatable :: xlwin(:)
17 ! number of Wannier functions to calculate
18 integer num_wann
19 ! number of bands to pass to Wannier90
20 integer num_bands
21 ! index to bands
22 integer, allocatable :: idxw90(:)
23 ! number of iterations for the minimisation of omega
24 integer num_iter
25 ! number of iterations for disentanglement
26 integer dis_num_iter
27 ! trial step for the line search minimisation
28 real(8) trial_step
29 ! maximum number of nearest neighbours per k-point
30 integer, parameter :: num_nnmax=12
31 ! total number of nearest neighbours for each k-point
32 integer nntot
33 ! list of nearest neighbours for each k-point
34 integer, allocatable :: nnlist(:,:)
35 ! G-vector offset for each nearest neighbour
36 integer, allocatable :: nncell(:,:,:)
37 ! wrtunk is .true. if the UNKkkkkk.s files are to be written in order to
38 ! enable real-space wavefunction plotting
39 logical wrtunk
40 
41 end module
42 
integer num_bands
Definition: modw90.f90:20
real(8) trial_step
Definition: modw90.f90:28
integer num_iter
Definition: modw90.f90:24
integer num_wann
Definition: modw90.f90:18
integer dis_num_iter
Definition: modw90.f90:26
character(256), dimension(:), allocatable xlwin
Definition: modw90.f90:16
character(256) seedname
Definition: modw90.f90:12
integer, parameter num_nnmax
Definition: modw90.f90:30
integer, dimension(:,:,:), allocatable nncell
Definition: modw90.f90:36
Definition: modw90.f90:6
integer, dimension(:), allocatable idxw90
Definition: modw90.f90:22
integer nntot
Definition: modw90.f90:32
logical wrtunk
Definition: modw90.f90:39
integer nxlwin
Definition: modw90.f90:14
integer, dimension(:,:), allocatable nnlist
Definition: modw90.f90:34