The Elk Code
putevecwxy.f90
Go to the documentation of this file.
1 
2 ! Copyright (C) 2020 Chung-Yu Wang, J. K. Dewhurst, S. Sharma and
3 ! E. K. U. Gross. This file is distributed under the terms of the GNU General
4 ! Public License. See the file COPYING for license details.
5 
6 subroutine putevecwxy(iq,w,x,y)
7 use modmain
8 use modphonon
9 implicit none
10 ! arguments
11 integer, intent(in) :: iq
12 complex(8), intent(in) :: w(nbph,nbph),x(nbph,nbph),y(nbph)
13 ! local variables
14 integer recl
15 ! find the record length
16 inquire(iolength=recl) vql(:,iq),nbph,w,x,y
17 !$OMP CRITICAL(u332)
18 open(332,file='EVECWXY.OUT',form='UNFORMATTED',access='DIRECT',recl=recl)
19 write(332,rec=iq) vql(:,iq),nbph,w,x,y
20 close(332)
21 !$OMP END CRITICAL(u332)
22 end subroutine
23 
subroutine putevecwxy(iq, w, x, y)
Definition: putevecwxy.f90:7
real(8), dimension(:,:), allocatable vql
Definition: modmain.f90:545