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