root / synthbench / euroben-dm / mod2h / ranfil.f @ 0:839f52ef7657
History | View | Annotate | Download (479 Bytes)
1 |
Subroutine ranfil( a, n ) |
---|---|
2 |
! ---------------------------------------------------------------------- |
3 |
Use numerics |
4 |
Implicit None |
5 |
|
6 |
Integer :: n |
7 |
Real(l_) :: a(n) |
8 |
|
9 |
Integer :: i |
10 |
Real(l_) :: dran2 |
11 |
! ---------------------------------------------------------------------- |
12 |
Do i = 2, n |
13 |
a(i) = dran2() |
14 |
End Do |
15 |
! ---------------------------------------------------------------------- |
16 |
End Subroutine ranfil |