15real(8),
external :: sdelta
28if (any(
task == [61,62,63]))
then
32 if ((ik < 1).or.(ik >
nkpt))
then
34 write(*,
'("Error(wfplot): k-point out of range : ",I8)') ik
38 if ((ist < 1).or.(ist >
nstsv))
then
40 write(*,
'("Error(wfplot): state out of range : ",I8)') ist
69 open(50,file=
'WF1D.OUT',form=
'FORMATTED')
70 open(51,file=
'WFLINES.OUT',form=
'FORMATTED')
75 write(*,
'("Info(wfplot):")')
76 write(*,
'(" 1D wavefunction modulus squared written to WF1D.OUT")')
77 write(*,
'(" vertex location lines written to WFLINES.OUT")')
79 open(50,file=
'WF2D.OUT',form=
'FORMATTED')
83 write(*,
'("Info(wfplot):")')
84 write(*,
'(" 2D wavefunction modulus squared written to WF2D.OUT")')
86 open(50,file=
'STM2D.OUT',form=
'FORMATTED')
90 write(*,
'("Info(wfplot):")')
91 write(*,
'(" 2D STM image written to STM2D.OUT")')
93 open(50,file=
'WF3D.OUT',form=
'FORMATTED')
97 write(*,
'("Info(wfplot):")')
98 write(*,
'(" 3D wavefunction modulus squared written to WF3D.OUT")')
100 if (
task /= 162)
then
101 write(*,
'(" for k-point ",I8," and state ",I6)')
kstlist(1,1),
kstlist(2,1)
subroutine getevalsv(fext, ikp, vpl, evalsv_)
real(8), dimension(:), allocatable wkpt
real(8), dimension(:), pointer, contiguous rhoir
real(8), dimension(:,:), allocatable vkl
logical, dimension(:,:,:), allocatable eqatoms
real(8), dimension(:,:), pointer, contiguous rhomt
real(8), dimension(:,:), allocatable occsv
real(8), dimension(:,:), allocatable evalsv
integer, dimension(2, maxkst) kstlist
subroutine plot1d(fnum1, fnum2, nf, rfmt, rfir)
subroutine plot2d(tproj, fnum, nf, rfmt, rfir)
subroutine plot3d(fnum, nf, rfmt, rfir)
real(8) function sdelta(stype, x)