random_mod Module


Variables

Type Visibility Attributes Name Initial
integer, public, parameter :: ran1_ntab = 32
integer, public, allocatable :: ran1_iv(:,:)
integer, public, allocatable :: ran1_iy(:)
integer, public, allocatable :: gasdev_iset(:)
real, public, allocatable :: gasdev_gset(:)
integer, public, allocatable :: ran3_iff(:)
integer, public, allocatable :: ran3_inext(:)
integer, public, allocatable :: ran3_inextp(:)
integer, public, allocatable :: ma(:,:)
integer, public, allocatable :: iseed1(:)
integer, public, allocatable :: iseed2(:)

Functions

public function ran1(idum, ithread)

Arguments

Type IntentOptional Attributes Name
integer :: idum
integer :: ithread

Return Value real

public function gasdev(idum, ithread)

Arguments

Type IntentOptional Attributes Name
integer :: idum
integer :: ithread

Return Value real

public function ran3(idum, ithread)

Arguments

Type IntentOptional Attributes Name
integer :: idum
integer :: ithread

Return Value real


Subroutines

public subroutine alloc_random(num_threads)

Arguments

Type IntentOptional Attributes Name
integer :: num_threads

public subroutine dealloc_random()

Arguments

None

public subroutine gasdev1(idum, random1, random2)

Read more…

Arguments

Type IntentOptional Attributes Name
integer :: idum
real :: random1
real :: random2