The Elk Code
putocculr.f90
Go to the documentation of this file.
1
2
! Copyright (C) 2026 Wenhan Chen, 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
putocculr
(ik0)
7
use
modmain
8
use
modulr
9
implicit none
10
! arguments
11
integer
,
intent(in)
:: ik0
12
! local variables
13
integer
ik,recl
14
! central k-point
15
ik=(ik0-1)*
nkpa
+1
16
! find the record length
17
inquire
(iolength=recl)
vkl
(1:3,ik),
nstulr
,
occulr
(1:
nstulr
,ik0)
18
!$OMP CRITICAL(u308)
19
open
(308,file=
'OCCULR.OUT'
,form=
'UNFORMATTED'
,access=
'DIRECT'
,recl=recl)
20
write
(308,rec=ik0)
vkl
(1:3,ik),
nstulr
,
occulr
(1:
nstulr
,ik0)
21
close
(308)
22
!$OMP END CRITICAL(u308)
23
end subroutine
24
modulr::nstulr
integer nstulr
Definition:
modulr.f90:97
putocculr
subroutine putocculr(ik0)
Definition:
putocculr.f90:7
modmain
Definition:
modmain.f90:6
modulr::occulr
real(8), dimension(:,:), allocatable occulr
Definition:
modulr.f90:101
modmain::vkl
real(8), dimension(:,:), allocatable vkl
Definition:
modmain.f90:474
modulr
Definition:
modulr.f90:6
modulr::nkpa
integer nkpa
Definition:
modulr.f90:24
putocculr.f90
Generated by
1.8.14