The Elk Code
 
Loading...
Searching...
No Matches
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
8subroutine 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)
14implicit none
15! arguments
16character(*) seed__name
17integer mp_grid_loc(3)
18integer num_kpts_loc
19real(8) real_lattice_loc(3,3)
20real(8) recip_lattice_loc(3,3)
21real(8) kpt_latt_loc(3,num_kpts_loc)
22integer num_bands_tot
23integer num_atoms_loc
24character(*) atom_symbols_loc(num_atoms_loc)
25real(8) atoms_cart_loc(3,num_atoms_loc)
26logical gamma_only_loc
27logical spinors_loc
28integer nntot_loc
29integer nnlist_loc(num_kpts_loc,*)
30integer nncell_loc(3,num_kpts_loc,*)
31integer num_bands_loc
32integer num_wann_loc
33real(8) proj_site_loc(3,num_bands_tot)
34integer proj_l_loc(num_bands_tot)
35integer proj_m_loc(num_bands_tot)
36integer proj_radial_loc(num_bands_tot)
37real(8) proj_z_loc(3,num_bands_tot)
38real(8) proj_x_loc(3,num_bands_tot)
39real(8) proj_zona_loc(num_bands_tot)
40integer exclude_bands_loc(num_bands_tot)
41integer, optional :: proj_s_loc(num_bands_tot)
42real(8), optional :: proj_s_qaxis_loc(3,num_bands_tot)
43write(*,*)
44write(*,'("Error(wannier_setup): libwannier not or improperly installed")')
45write(*,*)
46error stop
47end 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