SABER
type_rng.F90 File Reference

Go to the source code of this file.

Data Types

type  type_rng::rng_type
 

Modules

module  type_rng
 Random numbers generator derived type.
 

Functions/Subroutines

subroutine type_rng::rng_init (rng, mpl, nam)
 Initialize the random number generator. More...
 
subroutine type_rng::rng_reseed (rng, mpl)
 Re-seed the random number generator. More...
 
subroutine type_rng::rng_resync (rng, mpl)
 Resynchronize the random number generator between processors. More...
 
subroutine type_rng::rng_desync (rng, mpl)
 Desynchronize the random number generator between processors. More...
 
subroutine type_rng::rng_lcg (rng, x)
 Linear congruential generator. More...
 
subroutine type_rng::rng_rand_integer_0d (rng, binf, bsup, ir)
 Generate a random integer, 0d. More...
 
subroutine type_rng::rng_rand_integer_1d (rng, binf, bsup, ir)
 Generate a random integer, 1d. More...
 
subroutine type_rng::rng_rand_real_0d (rng, binf, bsup, rr)
 Generate a random real, 0d. More...
 
subroutine type_rng::rng_rand_real_1d (rng, binf, bsup, rr)
 Generate a random real, 1d. More...
 
subroutine type_rng::rng_rand_real_2d (rng, binf, bsup, rr)
 Generate a random real, 2d. More...
 
subroutine type_rng::rng_rand_real_3d (rng, binf, bsup, rr)
 Generate a random real, 3d. More...
 
subroutine type_rng::rng_rand_real_4d (rng, binf, bsup, rr)
 Generate a random real, 4d. More...
 
subroutine type_rng::rng_rand_real_5d (rng, binf, bsup, rr)
 Generate a random real, 5d. More...
 
subroutine type_rng::rng_rand_gau_1d (rng, rr)
 Generate random Gaussian deviates, 1d. More...
 
subroutine type_rng::rng_rand_gau_5d (rng, rr)
 Generate random Gaussian deviates, 5d. More...
 

Variables

integer, parameter type_rng::default_seed = 140587
 
integer(kind=int64), parameter type_rng::a = 1103515245_int64
 
integer(kind=int64), parameter type_rng::c = 12345_int64
 
integer(kind=int64), parameter type_rng::m = 2147483648_int64