stream_for_splitmix64 Subroutine

private subroutine stream_for_splitmix64(master_seed, stream_id, gen)

Build the SplitMix64 generator belonging to stream_id.

Arguments

Type IntentOptional Attributes Name
integer(kind=int64), intent(in) :: master_seed
integer(kind=default_int), intent(in) :: stream_id
type(splitmix64_t), intent(out) :: gen

Calls

proc~~stream_for_splitmix64~~CallsGraph proc~stream_for_splitmix64 stream_for_splitmix64 proc~splitmix64_seed splitmix64_t%splitmix64_seed proc~stream_for_splitmix64->proc~splitmix64_seed proc~stream_seed stream_seed proc~stream_for_splitmix64->proc~stream_seed proc~mix64 mix64 proc~stream_seed->proc~mix64 proc~u64_add u64_add proc~stream_seed->proc~u64_add proc~u64_mul u64_mul proc~stream_seed->proc~u64_mul proc~mix64->proc~u64_mul proc~u64_shr u64_shr proc~mix64->proc~u64_shr

Called by

proc~~stream_for_splitmix64~~CalledByGraph proc~stream_for_splitmix64 stream_for_splitmix64 interface~stream_for stream_for interface~stream_for->proc~stream_for_splitmix64

Source Code

   subroutine stream_for_splitmix64(master_seed, stream_id, gen)
      !! Build the SplitMix64 generator belonging to `stream_id`.
      integer(int64), intent(in) :: master_seed
      integer(default_int), intent(in) :: stream_id
      type(splitmix64_t), intent(out) :: gen

      call gen%seed(stream_seed(master_seed, stream_id))
   end subroutine stream_for_splitmix64