The Elk Code
Loading...
Searching...
No Matches
putephmat.f90
Go to the documentation of this file.
1
2
! Copyright (C) 2019 Chung-Yu Wang, J. K. Dewhurst, S. Sharma and
3
! E. K. U. Gross. This file is distributed under the terms of the GNU General
4
! Public License. See the file COPYING for license details.
5
6
subroutine
putephmat
(iq,ik,ephmat)
7
use
modmain
8
use
modphonon
9
implicit none
10
! arguments
11
integer
,
intent(in)
:: iq,ik
12
complex(8)
,
intent(in)
:: ephmat(nstsv,nstsv,nbph)
13
! local variables
14
integer
recl,n
15
! determine the record length
16
inquire
(iolength=recl)
vql
(:,iq),
vkl
(:,ik),nstsv,nbph,ephmat
17
! record number
18
n=(iq-1)*
nkptnr
+ik
19
!$OMP CRITICAL(u240)
20
open
(240,file=
'EPHMAT.OUT'
,form=
'UNFORMATTED'
,access=
'DIRECT'
,recl=recl)
21
write
(240,rec=n)
vql
(:,iq),
vkl
(:,ik),nstsv,nbph,ephmat
22
close
(240)
23
!$OMP END CRITICAL(u240)
24
end subroutine
25
modmain
Definition
modmain.f90:6
modmain::nkptnr
integer nkptnr
Definition
modmain.f90:463
modmain::vql
real(8), dimension(:,:), allocatable vql
Definition
modmain.f90:545
modmain::vkl
real(8), dimension(:,:), allocatable vkl
Definition
modmain.f90:471
modphonon
Definition
modphonon.f90:6
putephmat
subroutine putephmat(iq, ik, ephmat)
Definition
putephmat.f90:7
putephmat.f90
Generated by
1.9.8