11 integer ik,ist,jst,i,j
15 complex(8),
allocatable :: evecsv(:,:),smat(:,:,:,:)
18 open(50,file=trim(fname),action=
'WRITE',form=
'FORMATTED')
19 write(50,
'("Generated by Elk version ",I0,".",I0,".",I0)')
version 31 z1=smat(ist,jst,1,2)+smat(ist,jst,2,1)
32 write(50,
'(2G18.10)') z1
33 z1=smat(ist,jst,1,2)-smat(ist,jst,2,1)
34 z1=cmplx(z1%im,-z1%re,8)
35 write(50,
'(2G18.10)') z1
36 z1=smat(ist,jst,1,1)-smat(ist,jst,2,2)
37 write(50,
'(2G18.10)') z1
41 deallocate(evecsv,smat)
44 write(*,
'("Info(writew90spn): created file ",A)') trim(fname)
subroutine getevecsv(fext, ikp, vpl, evecsv)
subroutine gensmatk(evecsv, smat)
integer, dimension(:), allocatable idxw90
real(8), dimension(:,:), allocatable vkl
integer, dimension(3), parameter version