The Elk Code
w90_stub.f90
Go to the documentation of this file.
1 
2 ! Copyright (C) 2017-18 Arsenii Gerasimov, Yaroslav Kvashnin and Lars Nordstrom.
3 ! This file is distributed under the terms of the GNU General Public License.
4 ! See the file COPYING for license details.
5 
6 ! Stub routines for Wannier90 library.
7 
8 subroutine wannier_setup(seed__name,mp_grid_loc,num_kpts_loc, &
9  real_lattice_loc,recip_lattice_loc,kpt_latt_loc,num_bands_tot, &
10  num_atoms_loc,atom_symbols_loc,atoms_cart_loc, gamma_only_loc,spinors_loc, &
11  nntot_loc,nnlist_loc,nncell_loc,num_bands_loc,num_wann_loc, &
12  proj_site_loc,proj_l_loc,proj_m_loc,proj_radial_loc,proj_z_loc, &
13  proj_x_loc,proj_zona_loc,exclude_bands_loc,proj_s_loc,proj_s_qaxis_loc)
14 implicit none
15 ! arguments
16 character(*) seed__name
17 integer mp_grid_loc(3)
18 integer num_kpts_loc
19 real(8) real_lattice_loc(3,3)
20 real(8) recip_lattice_loc(3,3)
21 real(8) kpt_latt_loc(3,num_kpts_loc)
22 integer num_bands_tot
23 integer num_atoms_loc
24 character(*) atom_symbols_loc(num_atoms_loc)
25 real(8) atoms_cart_loc(3,num_atoms_loc)
26 logical gamma_only_loc
27 logical spinors_loc
28 integer nntot_loc
29 integer nnlist_loc(num_kpts_loc,*)
30 integer nncell_loc(3,num_kpts_loc,*)
31 integer num_bands_loc
32 integer num_wann_loc
33 real(8) proj_site_loc(3,num_bands_tot)
34 integer proj_l_loc(num_bands_tot)
35 integer proj_m_loc(num_bands_tot)
36 integer proj_radial_loc(num_bands_tot)
37 real(8) proj_z_loc(3,num_bands_tot)
38 real(8) proj_x_loc(3,num_bands_tot)
39 real(8) proj_zona_loc(num_bands_tot)
40 integer exclude_bands_loc(num_bands_tot)
41 integer, optional :: proj_s_loc(num_bands_tot)
42 real(8), optional :: proj_s_qaxis_loc(3,num_bands_tot)
43 write(*,*)
44 write(*,'("Error(wannier_setup): libwannier not or improperly installed")')
45 write(*,*)
46 error stop
47 end subroutine
48 !EOC
49 
subroutine wannier_setup(seed__name, mp_grid_loc, num_kpts_loc, real_lattice_loc, recip_lattice_loc, kpt_latt_loc, num_bands_tot, num_atoms_loc, atom_symbols_loc, atoms_cart_loc, gamma_only_loc, spinors_loc, nntot_loc, nnlist_loc, nncell_loc, num_bands_loc, num_wann_loc, proj_site_loc, proj_l_loc, proj_m_loc, proj_radial_loc, proj_z_loc, proj_x_loc, proj_zona_loc, exclude_bands_loc, proj_s_loc, proj_s_qaxis_loc)
Definition: w90_stub.f90:14