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