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