The Elk Code
Loading...
Searching...
No Matches
putevalu.f90
Go to the documentation of this file.
1
2
! Copyright (C) 2024 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
putevalu
(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
,
evalu
(1:
nstulr
,ik0)
18
!$OMP CRITICAL(u304)
19
open
(304,file=
'EVALU.OUT'
,form=
'UNFORMATTED'
,access=
'DIRECT'
,recl=recl)
20
write
(304,rec=ik0)
vkl
(1:3,ik),
nstulr
,
evalu
(1:
nstulr
,ik0)
21
close
(304)
22
!$OMP END CRITICAL(u304)
23
end subroutine
24
modmain
Definition
modmain.f90:6
modmain::vkl
real(8), dimension(:,:), allocatable vkl
Definition
modmain.f90:471
modulr
Definition
modulr.f90:6
modulr::nstulr
integer nstulr
Definition
modulr.f90:94
modulr::nkpa
integer nkpa
Definition
modulr.f90:24
modulr::evalu
real(8), dimension(:,:), allocatable evalu
Definition
modulr.f90:96
putevalu
subroutine putevalu(ik0)
Definition
putevalu.f90:7
putevalu.f90
Generated by
1.9.8