11 integer ik,jk,ist,jst,i
12 integer ngp(nspnfv),ngpq(nspnfv)
13 real(8) vl(3),vc(3),q,vkql(3)
16 complex(8) ylmq(lmmaxo),sfacq(natmtot)
18 integer,
allocatable :: igpig(:,:),igpqig(:,:)
19 real(8),
allocatable :: jlqr(:,:)
20 complex(8),
allocatable :: wfmt(:,:,:,:),wfir(:,:,:)
21 complex(8),
allocatable :: wfmtq(:,:,:,:),wfgpq(:,:,:)
22 complex(8),
allocatable :: expqmt(:,:),oq(:,:)
33 open(50,file=trim(fname),action=
'WRITE',form=
'FORMATTED')
34 write(50,
'("Generated by Elk version ",I0,".",I0,".",I0)')
version 46 q=sqrt(vc(1)**2+vc(2)**2+vc(3)**2)
51 call genexpmt(1,jlqr,ylmq,1,sfacq,expqmt)
53 vkql(:)=
vkl(:,ik)+vl(:)
60 write(50,
'(5I8)') ik,jk,
nncell(:,ik,i)
63 write(50,
'(2G18.10)') dble(oq(jst,ist)),-aimag(oq(jst,ist))
70 write(*,
'("Info(writew90mmn): created file ",A)') trim(fname)
71 deallocate(igpig,igpqig,jlqr)
72 deallocate(wfmt,wfir,wfmtq,wfgpq)
pure subroutine gensfacgp(ngp, vgpc, ld, sfacgp)
subroutine genolpq(nst, expqmt, ngpq, igpqig, wfmt, wfir, wfmtq, wfgpq, oq)
pure subroutine genylmv(t4pil, lmax, v, ylm)
integer, dimension(:,:,:), allocatable nncell
integer, dimension(:), allocatable igfc
integer, dimension(:), allocatable idxw90
real(8), dimension(3, 3) bvec
subroutine genexpmt(ngp, jlgpr, ylmgp, ld, sfacgp, expmt)
real(8), dimension(:,:), allocatable vkl
integer, dimension(3) ngdgc
subroutine genjlgpr(ngp, gpc, jlgpr)
integer, dimension(3), parameter version
pure subroutine r3mv(a, x, y)
subroutine genwfsvp(tsh, tgp, nst, idx, ngridg_, igfft_, vpl, ngp, igpig, wfmt, ld, wfir)
integer, dimension(:,:), allocatable nnlist