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
28
integer
lprojw90
(
maxspecies
)
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
modw90::num_bands
integer num_bands
Definition:
modw90.f90:22
modmain::maxspecies
integer, parameter maxspecies
Definition:
modmain.f90:30
modw90::trial_step
real(8) trial_step
Definition:
modw90.f90:36
modw90::projw90
logical projw90
Definition:
modw90.f90:26
modw90::num_iter
integer num_iter
Definition:
modw90.f90:32
modw90::num_wann
integer num_wann
Definition:
modw90.f90:20
modw90::dis_num_iter
integer dis_num_iter
Definition:
modw90.f90:34
modw90::xlwin
character(256), dimension(:), allocatable xlwin
Definition:
modw90.f90:18
modw90::seedname
character(256) seedname
Definition:
modw90.f90:14
modw90::num_nnmax
integer, parameter num_nnmax
Definition:
modw90.f90:38
modmain
Definition:
modmain.f90:6
modw90::nncell
integer, dimension(:,:,:), allocatable nncell
Definition:
modw90.f90:44
modw90
Definition:
modw90.f90:6
modw90::idxw90
integer, dimension(:), allocatable idxw90
Definition:
modw90.f90:24
modw90::nntot
integer nntot
Definition:
modw90.f90:40
modw90::prjwn
integer, dimension(:,:,:), allocatable prjwn
Definition:
modw90.f90:30
modw90::lprojw90
integer, dimension(maxspecies) lprojw90
Definition:
modw90.f90:28
modw90::wrtunk
logical wrtunk
Definition:
modw90.f90:47
modw90::nxlwin
integer nxlwin
Definition:
modw90.f90:16
modw90::nnlist
integer, dimension(:,:), allocatable nnlist
Definition:
modw90.f90:42
modw90.f90
Generated by
1.8.14