| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer(kind=jpim), | public, | parameter | :: | NMaxStreams | = | 512 | |
| real(kind=jprd), | public, | parameter | :: | IMinstdA | = | 48271 | |
| real(kind=jprd), | public, | parameter | :: | IMinstdM | = | 2147483647 | |
| real(kind=jprd), | public, | parameter | :: | IMinstdA0 | = | 16807 | |
| real(kind=jprb), | public, | parameter | :: | IMinstdScale | = | 1.0_jprb/real(IMinstdM, jprb) |
| enumerator | :: | IRngNative | = | 0 | |
| enumerator | :: | IRngMinstdVector | = | 1 |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer(kind=jpim), | public | :: | itype | = | IRngNative | ||
| real(kind=jprd), | public | :: | istate(NMaxStreams) | ||||
| integer(kind=jpim), | public | :: | nmaxstreams | = | NMaxStreams | ||
| integer(kind=jpim), | public | :: | iseed |
| procedure , public :: initialize Subroutine | |
| procedure , public :: uniform_distribution_2d_masked Subroutine | |
| procedure , public :: uniform_distribution_2d Subroutine | |
| procedure , public :: uniform_distribution_1d Subroutine | |
| generic, public :: uniform_distribution => uniform_distribution_1d, uniform_distribution_2d, uniform_distribution_2d_masked |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(rng_type), | intent(inout) | :: | this | |||
| integer(kind=jpim), | intent(in), | optional | :: | itype | ||
| integer(kind=jpim), | intent(in), | optional | :: | iseed | ||
| integer(kind=jpim), | intent(in), | optional | :: | nmaxstreams |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(rng_type), | intent(inout) | :: | this | |||
| real(kind=jprb), | intent(out) | :: | randnum(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(rng_type), | intent(inout) | :: | this | |||
| real(kind=jprb), | intent(out) | :: | randnum(:,:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(rng_type), | intent(inout) | :: | this | |||
| real(kind=jprb), | intent(inout) | :: | randnum(:,:) | |||
| logical, | intent(in) | :: | mask(:) |