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