53 integer,
intent( in) :: seed
61 integer,
dimension(:),
intent( in) :: seed
71 type(randomNumberStream),
intent(inout) :: stream
72 real,
intent( out) :: number
74 number = getrandomreal(stream%theNumbers)
78 type(randomNumberStream),
intent(inout) :: stream
79 real,
dimension(:),
intent( out) :: numbers
84 do i = 1,
size(numbers)
85 numbers(i) = getrandomreal(stream%theNumbers)
90 type(randomNumberStream),
intent(inout) :: stream
91 real,
dimension(:, :),
intent( out) :: numbers
96 do i = 1,
size(numbers, 2)
110 integer,
intent( in) :: i, j
112 integer,
optional,
intent( in) :: perm
113 integer,
dimension(8) :: seed
116 integer :: year, month, day, hour, minute, second
119 call get_date(time, year, month, day, hour, minute, second)
120 seed = (/ i, j, year, month, day, hour, minute, second /)
121 if(
present(perm)) seed = ishftc(seed, perm)
subroutine, public get_date(time, year, month, day, hour, minute, second, tick, err_msg)
subroutine getrandomnumber_scalar(stream, number)
type(randomnumberstream) function initializerandomnumberstream_s(seed)
subroutine getrandomnumber_1d(stream, numbers)
type(randomnumberstream) function initializerandomnumberstream_v(seed)
integer function, dimension(8), public constructseed(i, j, time, perm)
subroutine getrandomnumber_2d(stream, numbers)