forked from sshiraiwa/cql3d
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbcast.f
40 lines (35 loc) · 983 Bytes
/
bcast.f
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
c
c
subroutine bcast(a,val,n)
implicit integer (i-n), real*8 (a-h,o-z)
c..................................................................
c Temporary bcast routine until I can find UNICOS equivalent
c..................................................................
dimension a(n)
do 100 i=1,n
a(i)=val
100 continue
return
end
c
c
subroutine ibcast(ia,ival,n)
implicit integer (i-n), real*8 (a-h,o-z)
c..................................................................
c Temporary bcast routine until I can find UNICOS equivalent
c..................................................................
dimension ia(n)
do 100 i=1,n
ia(i)=ival
100 continue
return
end
C NME bcast routine for complex arrays
subroutine ccast(c,cval,n)
implicit integer (i-n), complex*16 (c)
dimension c(n)
do 100 i=1,n
c(i)=cval
100 continue
return
end