The Elk Code
putevalsv.f90
Go to the documentation of this file.
1 
2 ! Copyright (C) 2007 J. K. Dewhurst, S. Sharma and C. Ambrosch-Draxl.
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 putevalsv(fext,ik,evalsv_)
7 use modmain
8 implicit none
9 ! arguments
10 character(*), intent(in) :: fext
11 integer, intent(in) :: ik
12 real(8), intent(in) :: evalsv_(nstsv)
13 ! local variables
14 integer recl
15 ! find the record length
16 inquire(iolength=recl) vkl(1:3,ik),nstsv,evalsv_
17 !$OMP CRITICAL(u204)
18 open(204,file='EVALSV'//trim(fext),form='UNFORMATTED',access='DIRECT',recl=recl)
19 write(204,rec=ik) vkl(1:3,ik),nstsv,evalsv_
20 close(204)
21 !$OMP END CRITICAL(u204)
22 end subroutine
23 
subroutine putevalsv(fext, ik, evalsv_)
Definition: putevalsv.f90:7
real(8), dimension(:,:), allocatable vkl
Definition: modmain.f90:471