The Elk Code
putevecuv.f90
Go to the documentation of this file.
1 
2 ! Copyright (C) 2019 J. K. Dewhurst and S. Sharma.
3 ! This file is distributed under the terms of the GNU General Public License.
4 ! See the file COPYING for license details.
5 
6 subroutine putevecuv(ik,evecu,evecv)
7 use modmain
8 implicit none
9 ! arguments
10 integer, intent(in) :: ik
11 complex(8), intent(in) :: evecu(nstsv,nstsv),evecv(nstsv,nstsv)
12 ! local variables
13 integer recl
14 ! find the record length
15 inquire(iolength=recl) vkl(:,ik),nstsv,evecu,evecv
16 !$OMP CRITICAL(u322)
17 open(322,file='EVECUV.OUT',form='UNFORMATTED',access='DIRECT',recl=recl)
18 write(322,rec=ik) vkl(:,ik),nstsv,evecu,evecv
19 close(322)
20 !$OMP END CRITICAL(u322)
21 end subroutine
22 
real(8), dimension(:,:), allocatable vkl
Definition: modmain.f90:471
subroutine putevecuv(ik, evecu, evecv)
Definition: putevecuv.f90:7