FV3 Bundle
mersennetwister_mod Module Reference

Data Types

interface  new_randomnumbersequence
 
type  randomnumbersequence
 

Functions/Subroutines

integer function mixbits (u, v)
 
integer function twist (u, v)
 
subroutine nextstate (twister)
 
elemental integer function temper (y)
 
type(randomnumbersequence) function initialize_scalar (seed)
 
type(randomnumbersequence) function initialize_vector (seed)
 
integer function, public getrandomint (twister)
 
integer function, public getrandompositiveint (twister)
 
double precision function, public getrandomreal (twister)
 
subroutine, public finalize_randomnumbersequence (twister)
 

Variables

integer, parameter blocksize = 624
 
integer, parameter m = 397
 
integer, parameter matrix_a = -1727483681
 
integer, parameter umask = -2147483648_8
 
integer, parameter lmask = 2147483647
 
integer, parameter tmaskb = -1658038656
 
integer, parameter tmaskc = -272236544
 

Function/Subroutine Documentation

◆ finalize_randomnumbersequence()

subroutine, public mersennetwister_mod::finalize_randomnumbersequence ( type(randomnumbersequence), intent(inout)  twister)

Definition at line 284 of file MersenneTwister.F90.

◆ getrandomint()

integer function, public mersennetwister_mod::getrandomint ( type(randomnumbersequence), intent(inout)  twister)

Definition at line 235 of file MersenneTwister.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getrandompositiveint()

integer function, public mersennetwister_mod::getrandompositiveint ( type(randomnumbersequence), intent(inout)  twister)

Definition at line 252 of file MersenneTwister.F90.

Here is the call graph for this function:

◆ getrandomreal()

double precision function, public mersennetwister_mod::getrandomreal ( type(randomnumbersequence), intent(inout)  twister)

Definition at line 267 of file MersenneTwister.F90.

Here is the call graph for this function:

◆ initialize_scalar()

type(randomnumbersequence) function mersennetwister_mod::initialize_scalar ( integer, intent(in)  seed)
private

Definition at line 161 of file MersenneTwister.F90.

Here is the caller graph for this function:

◆ initialize_vector()

type(randomnumbersequence) function mersennetwister_mod::initialize_vector ( integer, dimension(0:), intent(in)  seed)
private

Definition at line 179 of file MersenneTwister.F90.

Here is the call graph for this function:

◆ mixbits()

integer function mersennetwister_mod::mixbits ( integer, intent(in)  u,
integer, intent(in)  v 
)
private

Definition at line 108 of file MersenneTwister.F90.

Here is the caller graph for this function:

◆ nextstate()

subroutine mersennetwister_mod::nextstate ( type(randomnumbersequence), intent(inout)  twister)
private

Definition at line 126 of file MersenneTwister.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ temper()

elemental integer function mersennetwister_mod::temper ( integer, intent(in)  y)
private

Definition at line 146 of file MersenneTwister.F90.

Here is the caller graph for this function:

◆ twist()

integer function mersennetwister_mod::twist ( integer, intent(in)  u,
integer, intent(in)  v 
)
private

Definition at line 115 of file MersenneTwister.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ blocksize

integer, parameter mersennetwister_mod::blocksize = 624
private

Definition at line 79 of file MersenneTwister.F90.

◆ lmask

integer, parameter mersennetwister_mod::lmask = 2147483647
private

Definition at line 79 of file MersenneTwister.F90.

◆ m

integer, parameter mersennetwister_mod::m = 397
private

Definition at line 79 of file MersenneTwister.F90.

◆ matrix_a

integer, parameter mersennetwister_mod::matrix_a = -1727483681
private

Definition at line 79 of file MersenneTwister.F90.

◆ tmaskb

integer, parameter mersennetwister_mod::tmaskb = -1658038656
private

Definition at line 85 of file MersenneTwister.F90.

◆ tmaskc

integer, parameter mersennetwister_mod::tmaskc = -272236544
private

Definition at line 85 of file MersenneTwister.F90.

◆ umask

integer, parameter mersennetwister_mod::umask = -2147483648_8
private

Definition at line 79 of file MersenneTwister.F90.