The Elk Code
writew90.f90
Go to the documentation of this file.
1 
2 ! Copyright (C) 2015 Manh Duc Le, 2017-18 Arsenii Gerasimov, Yaroslav Kvashnin
3 ! and Lars Nordstrom. This file is distributed under the terms of the GNU
4 ! General Public License. See the file COPYING for license details.
5 
6 subroutine writew90
7 use modmain
8 use modw90
9 implicit none
10 ! initialise universal and Wannier90 variables
11 call initw90
12 ! write the .win file
13 call writew90win
14 ! write the .eig file
15 call writew90eig
16 ! call the Wannier90 setup routine
17 call setupw90
18 ! write the .amn file
19 call writew90amn
20 ! write the .mmn file
21 call writew90mmn
22 ! write the .spn file
23 call writew90spn
24 ! write the UNK files if required
25 if (wrtunk) call writew90unk
26 end subroutine
27 
subroutine writew90
Definition: writew90.f90:7
subroutine writew90mmn
Definition: writew90mmn.f90:7
subroutine setupw90
Definition: setupw90.f90:7
subroutine writew90unk
Definition: writew90unk.f90:7
subroutine initw90
Definition: initw90.f90:10
subroutine writew90win
Definition: writew90win.f90:10
Definition: modw90.f90:6
subroutine writew90eig
Definition: writew90eig.f90:7
logical wrtunk
Definition: modw90.f90:39
subroutine writew90spn
Definition: writew90spn.f90:7
subroutine writew90amn
Definition: writew90amn.f90:7