root / synthbench / euroben-dm / mod2as / rinit.f @ 0:839f52ef7657
History | View | Annotate | Download (527 Bytes)
1 |
Subroutine rinit |
---|---|
2 |
! ---------------------------------------------------------------------- |
3 |
Use numerics |
4 |
Use ran_module |
5 |
Implicit None |
6 |
|
7 |
Integer :: i |
8 |
! ---------------------------------------------------------------------- |
9 |
Do i = 1, 97 ! --- Warming up phase. |
10 |
x1 = Mod( a1*x1 + c1, m1 ) |
11 |
x2 = Mod( a2*x2 + c2, m2 ) |
12 |
End Do |
13 |
! ---------------------------------------------------------------------- |
14 |
End Subroutine rinit |