The Elk Code
Loading...
Searching...
No Matches
writeevalu.f90
Go to the documentation of this file.
1
2
! Copyright (C) 2018 T. Mueller, J. K. Dewhurst, S. Sharma and E. K. U. Gross.
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
writeevalu
7
use
modmain
8
use
modulr
9
implicit none
10
! local variables
11
integer
ik0,ik,ist
12
! write out the valence eigenvalues
13
open
(50,file=
'EIGVALU.OUT'
,form=
'FORMATTED'
)
14
write
(50,
'(I6," : nkpt0")'
)
nkpt0
15
write
(50,
'(I6," : nstulr")'
)
nstulr
16
do
ik0=1,
nkpt0
17
! central k-point
18
ik=(ik0-1)*
nkpa
+1
19
write
(50,*)
20
write
(50,
'(I6,3G18.10," : k-point, vkl")'
) ik0,
vkl
(:,ik)
21
write
(50,
'(" (state, eigenvalue and occupancy below)")'
)
22
do
ist=1,
nstulr
23
write
(50,
'(I6,2G18.10)'
) ist,
evalu
(ist,ik0),
occulr
(ist,ik0)
24
end do
25
end do
26
close
(50)
27
end subroutine
28
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
modulr::occulr
real(8), dimension(:,:), allocatable occulr
Definition
modulr.f90:98
modulr::nkpt0
integer nkpt0
Definition
modulr.f90:18
writeevalu
subroutine writeevalu
Definition
writeevalu.f90:7
writeevalu.f90
Generated by
1.9.8