The Elk Code
Loading...
Searching...
No Matches
getvcl1221.f90
Go to the documentation of this file.
1
2
! Copyright (C) 2007-2008 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
!BOP
7
! !ROUTINE: getvcl1221
8
! !INTERFACE:
9
subroutine
getvcl1221
(ikp,vcl1221)
10
! !USES:
11
use
modmain
12
! !INPUT/OUTPUT PARAMETERS:
13
! ikp : k-point from non-reduced set (in,integer)
14
! vcl1221 : Coulomb matrix elements (out,real(nstsv,nstsv,nkpt))
15
! !DESCRIPTION:
16
! Retrieves Coulomb matrix elements of the type $V(1,2,2,1)$ from the file
17
! {\tt VCL1221.OUT}.
18
!
19
! !REVISION HISTORY:
20
! Created 2009 (Sharma)
21
!EOP
22
!BOC
23
implicit none
24
! arguments
25
integer
,
intent(in)
:: ikp
26
real
(8),
intent(out)
:: vcl1221(nstsv,nstsv,nkpt)
27
! local variables
28
integer
recl
29
! determine record length
30
inquire
(iolength=recl) vcl1221
31
!$OMP CRITICAL(u260)
32
open
(260,file=
'VCL1221.OUT'
,form=
'UNFORMATTED'
,access=
'DIRECT'
,recl=recl)
33
read
(260,rec=ikp) vcl1221
34
close
(260)
35
!$OMP END CRITICAL(u260)
36
end subroutine
37
!EOC
38
getvcl1221
subroutine getvcl1221(ikp, vcl1221)
Definition
getvcl1221.f90:10
modmain
Definition
modmain.f90:6
getvcl1221.f90
Generated by
1.9.8