Parallel random number generator type
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| type(rng_t), | public, | allocatable | :: | rngs(:) |
Initialize a collection of rng's for parallel use
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(prng_t), | intent(inout) | :: | self | |||
| integer, | intent(in) | :: | n_proc | |||
| type(rng_t), | intent(inout) | :: | rng |
type prng_t type(rng_t), allocatable :: rngs(:) contains procedure, non_overridable :: init_parallel end type prng_t