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