-
Notifications
You must be signed in to change notification settings - Fork 17
/
readHmnR.f90
59 lines (47 loc) · 1011 Bytes
/
readHmnR.f90
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
subroutine readHmnR()
use para
implicit none
integer :: ir
irvec=0
ndegen=1
hmnr= zzero
! 0 0 0
ir= 1
irvec(1, ir)= 0
irvec(2, ir)= 0
hmnr(1, 1, ir)= M- 4d0*B
hmnr(2, 2, ir)=-M+ 4d0*B
! 1 0
ir= 2
irvec(1, ir)= 1
irvec(2, ir)= 0
hmnr(1, 1, ir)= B
hmnr(2, 2, ir)=-B
hmnr(1, 2, ir)= zi*A/2d0
hmnr(2, 1, ir)= zi*A/2d0
! 0 1
ir= 3
irvec(1, ir)= 0
irvec(2, ir)= 1
hmnr(1, 1, ir)= B
hmnr(2, 2, ir)=-B
hmnr(1, 2, ir)=-A/2d0
hmnr(2, 1, ir)= A/2d0
!-1 0
ir= 4
irvec(1, ir)=-1
irvec(2, ir)= 0
hmnr(1, 1, ir)= B
hmnr(2, 2, ir)= -B
hmnr(1, 2, ir)= -zi*A/2d0
hmnr(2, 1, ir)= -zi*A/2d0
! 0-1
ir= 5
irvec(1, ir)= 0
irvec(2, ir)=-1
hmnr(1, 1, ir)= B
hmnr(2, 2, ir)=-B
hmnr(1, 2, ir)= A/2d0
hmnr(2, 1, ir)=-A/2d0
return
end subroutine