15complex(8),
allocatable :: evecsv(:,:),smat(:,:,:,:)
18open(50,file=trim(fname),action=
'WRITE',form=
'FORMATTED')
19write(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)
35 write(50,
'(2G18.10)') z1
36 z1=smat(ist,jst,1,1)-smat(ist,jst,2,2)
37 write(50,
'(2G18.10)') z1
41deallocate(evecsv,smat)
44write(*,
'("Info(writew90spn): created file ",A)') trim(fname)
complex(8), parameter zmi
integer, dimension(3), parameter version
real(8), dimension(:,:), allocatable vkl