MPI-AMRVAC 3.2
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Loading...
Searching...
No Matches
mod_random Module Reference

Module for pseudo random number generation. The internal pseudo random generator is the xoroshiro128plus method. More...

Data Types

type  rng_t
 Random number generator type, which contains the state. More...
type  prng_t
 Parallel random number generator type. More...

Functions/Subroutines

pure integer(i8) function shiftl (val, shift)
 added for nvidia compilers
subroutine, public poisson_disk_sampling (r_min, bmin1, bmin2, bmax1, bmax2, nmax, points_store, n_setpoints)

Detailed Description

Module for pseudo random number generation. The internal pseudo random generator is the xoroshiro128plus method.

Function/Subroutine Documentation

◆ poisson_disk_sampling()

subroutine, public mod_random::poisson_disk_sampling ( double precision, intent(in) r_min,
double precision, intent(in) bmin1,
double precision, intent(in) bmin2,
double precision, intent(in) bmax1,
double precision, intent(in) bmax2,
integer, intent(in) nmax,
double precision, dimension(nmax,2), intent(out) points_store,
integer, intent(out) n_setpoints )

Definition at line 285 of file mod_random.t.

◆ shiftl()

pure integer(i8) function mod_random::shiftl ( integer(i8), intent(in) val,
integer, intent(in) shift )

added for nvidia compilers

Definition at line 55 of file mod_random.t.

Here is the call graph for this function: