The Elk Code
 
Loading...
Searching...
No Matches
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
6subroutine putevecwxy(iq,w,x,y)
7use modmain
8use modphonon
9implicit none
10! arguments
11integer, intent(in) :: iq
12complex(8), intent(in) :: w(nbph,nbph),x(nbph,nbph),y(nbph)
13! local variables
14integer recl
15! find the record length
16inquire(iolength=recl) vql(:,iq),nbph,w,x,y
17!$OMP CRITICAL(u332)
18open(332,file='EVECWXY.OUT',form='UNFORMATTED',access='DIRECT',recl=recl)
19write(332,rec=iq) vql(:,iq),nbph,w,x,y
20close(332)
21!$OMP END CRITICAL(u332)
22end subroutine
23
real(8), dimension(:,:), allocatable vql
Definition modmain.f90:545
subroutine putevecwxy(iq, w, x, y)
Definition putevecwxy.f90:7