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
6subroutine putevalu(ik0)
7use modmain
8use modulr
9implicit none
10! arguments
11integer, intent(in) :: ik0
12! local variables
13integer ik,recl
14! central k-point
15ik=(ik0-1)*nkpa+1
16! find the record length
17inquire(iolength=recl) vkl(1:3,ik),nstulr,evalu(1:nstulr,ik0)
18!$OMP CRITICAL(u304)
19open(304,file='EVALU.OUT',form='UNFORMATTED',access='DIRECT',recl=recl)
20write(304,rec=ik0) vkl(1:3,ik),nstulr,evalu(1:nstulr,ik0)
21close(304)
22!$OMP END CRITICAL(u304)
23end subroutine
24
real(8), dimension(:,:), allocatable vkl
Definition modmain.f90:471
integer nstulr
Definition modulr.f90:94
integer nkpa
Definition modulr.f90:24
real(8), dimension(:,:), allocatable evalu
Definition modulr.f90:96
subroutine putevalu(ik0)
Definition putevalu.f90:7