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:
9subroutine getvcl1223(ikp,vcl1223)
10! !USES:
11use 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
23implicit none
24! arguments
25integer, intent(in) :: ikp
26complex(8), intent(out) :: vcl1223(nstsv,nstsv,nstsv,nkpt)
27! local variables
28integer recl
29! determine record length
30inquire(iolength=recl) vcl1223
31!$OMP CRITICAL(u262)
32open(262,file='VCL1223.OUT',form='UNFORMATTED',access='DIRECT',recl=recl)
33read(262,rec=ikp) vcl1223
34close(262)
35!$OMP END CRITICAL(u262)
36end subroutine
37!EOC
38
subroutine getvcl1223(ikp, vcl1223)