FV3 Bundle
type_rng Module Reference

Data Types

type  rng_type
 

Functions/Subroutines

subroutine rng_init (rng, mpl, nam)
 
subroutine rng_reseed (rng, mpl)
 
subroutine rng_lcg (rng, x)
 
subroutine rng_rand_integer_0d (rng, binf, bsup, ir)
 
subroutine rng_rand_integer_1d (rng, binf, bsup, ir)
 
subroutine rng_rand_real_0d (rng, binf, bsup, rr)
 
subroutine rng_rand_real_1d (rng, binf, bsup, rr)
 
subroutine rng_rand_real_2d (rng, binf, bsup, rr)
 
subroutine rng_rand_real_3d (rng, binf, bsup, rr)
 
subroutine rng_rand_real_4d (rng, binf, bsup, rr)
 
subroutine rng_rand_real_5d (rng, binf, bsup, rr)
 
subroutine rng_rand_gau_1d (rng, rr)
 
subroutine rng_rand_gau_5d (rng, rr)
 
subroutine rng_initialize_sampling (rng, mpl, n, lon, lat, mask, rh, ntry, nrep, ns, ihor, fast)
 

Variables

integer, parameter default_seed = 140587
 
integer(kind=int64), parameter a = 1103515245_int64
 
integer(kind=int64), parameter c = 12345_int64
 
integer(kind=int64), parameter m = 2147483648_int64
 
logical, parameter nn_stats = .false.
 

Function/Subroutine Documentation

◆ rng_init()

subroutine type_rng::rng_init ( class(rng_type), intent(inout)  rng,
type(mpl_type), intent(in)  mpl,
type(nam_type), intent(in)  nam 
)
private

Definition at line 61 of file type_rng.F90.

◆ rng_initialize_sampling()

subroutine type_rng::rng_initialize_sampling ( class(rng_type), intent(inout)  rng,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  n,
real(kind_real), dimension(n), intent(in)  lon,
real(kind_real), dimension(n), intent(in)  lat,
logical, dimension(n), intent(in)  mask,
real(kind_real), dimension(n), intent(in)  rh,
integer, intent(in)  ntry,
integer, intent(in)  nrep,
integer, intent(in)  ns,
integer, dimension(ns), intent(out)  ihor,
logical, intent(in), optional  fast 
)
private

Definition at line 430 of file type_rng.F90.

Here is the call graph for this function:

◆ rng_lcg()

subroutine type_rng::rng_lcg ( class(rng_type), intent(inout)  rng,
real(kind_real), intent(out)  x 
)
private

Definition at line 128 of file type_rng.F90.

◆ rng_rand_gau_1d()

subroutine type_rng::rng_rand_gau_1d ( class(rng_type), intent(inout)  rng,
real(kind_real), dimension(:), intent(out)  rr 
)
private

Definition at line 362 of file type_rng.F90.

Here is the caller graph for this function:

◆ rng_rand_gau_5d()

subroutine type_rng::rng_rand_gau_5d ( class(rng_type), intent(inout)  rng,
real(kind_real), dimension(:,:,:,:,:), intent(out)  rr 
)
private

Definition at line 403 of file type_rng.F90.

Here is the caller graph for this function:

◆ rng_rand_integer_0d()

subroutine type_rng::rng_rand_integer_0d ( class(rng_type), intent(inout)  rng,
integer, intent(in)  binf,
integer, intent(in)  bsup,
integer, intent(out)  ir 
)
private

Definition at line 148 of file type_rng.F90.

Here is the caller graph for this function:

◆ rng_rand_integer_1d()

subroutine type_rng::rng_rand_integer_1d ( class(rng_type), intent(inout)  rng,
integer, intent(in)  binf,
integer, intent(in)  bsup,
integer, dimension(:), intent(out)  ir 
)
private

Definition at line 176 of file type_rng.F90.

Here is the caller graph for this function:

◆ rng_rand_real_0d()

subroutine type_rng::rng_rand_real_0d ( class(rng_type), intent(inout)  rng,
real(kind_real), intent(in)  binf,
real(kind_real), intent(in)  bsup,
real(kind_real), intent(out)  rr 
)
private

Definition at line 199 of file type_rng.F90.

Here is the caller graph for this function:

◆ rng_rand_real_1d()

subroutine type_rng::rng_rand_real_1d ( class(rng_type), intent(inout)  rng,
real(kind_real), intent(in)  binf,
real(kind_real), intent(in)  bsup,
real(kind_real), dimension(:), intent(out)  rr 
)
private

Definition at line 227 of file type_rng.F90.

Here is the caller graph for this function:

◆ rng_rand_real_2d()

subroutine type_rng::rng_rand_real_2d ( class(rng_type), intent(inout)  rng,
real(kind_real), intent(in)  binf,
real(kind_real), intent(in)  bsup,
real(kind_real), dimension(:,:), intent(out)  rr 
)
private

Definition at line 250 of file type_rng.F90.

Here is the caller graph for this function:

◆ rng_rand_real_3d()

subroutine type_rng::rng_rand_real_3d ( class(rng_type), intent(inout)  rng,
real(kind_real), intent(in)  binf,
real(kind_real), intent(in)  bsup,
real(kind_real), dimension(:,:,:), intent(out)  rr 
)
private

Definition at line 275 of file type_rng.F90.

Here is the caller graph for this function:

◆ rng_rand_real_4d()

subroutine type_rng::rng_rand_real_4d ( class(rng_type), intent(inout)  rng,
real(kind_real), intent(in)  binf,
real(kind_real), intent(in)  bsup,
real(kind_real), dimension(:,:,:,:), intent(out)  rr 
)
private

Definition at line 302 of file type_rng.F90.

Here is the caller graph for this function:

◆ rng_rand_real_5d()

subroutine type_rng::rng_rand_real_5d ( class(rng_type), intent(inout)  rng,
real(kind_real), intent(in)  binf,
real(kind_real), intent(in)  bsup,
real(kind_real), dimension(:,:,:,:,:), intent(out)  rr 
)
private

Definition at line 331 of file type_rng.F90.

Here is the caller graph for this function:

◆ rng_reseed()

subroutine type_rng::rng_reseed ( class(rng_type), intent(inout)  rng,
type(mpl_type), intent(in)  mpl 
)
private

Definition at line 102 of file type_rng.F90.

Variable Documentation

◆ a

integer(kind=int64), parameter type_rng::a = 1103515245_int64

Definition at line 24 of file type_rng.F90.

◆ c

integer(kind=int64), parameter type_rng::c = 12345_int64

Definition at line 25 of file type_rng.F90.

◆ default_seed

integer, parameter type_rng::default_seed = 140587

Definition at line 23 of file type_rng.F90.

◆ m

integer(kind=int64), parameter type_rng::m = 2147483648_int64

Definition at line 26 of file type_rng.F90.

◆ nn_stats

logical, parameter type_rng::nn_stats = .false.

Definition at line 27 of file type_rng.F90.