MQDS  0.0.1
Molecular Quantum Dynamics and Spectroscopy
Modules | Functions/Subroutines | Variables
random_numbers.f90 File Reference

Modules

module  random_numbers
 This module contains the necessary functions for random number generation.
 

Functions/Subroutines

subroutine random_numbers::initialize_rn (my_pe)
 cdf_g, cdf_e are radial cumulative distribution functions for the ground and first excited harmonic oscillator states More...
 
real(dp) function, dimension(size(input)) random_numbers::uniform_rn (input)
 sample a uniform [0,1) random number More...
 
real(dp) function, dimension(size(input)) random_numbers::gaussian_rn (input)
 Gaussian random number generation using the Box-Mueller process with two uniform [0,1) random number. More...
 
subroutine random_numbers::build_current_cdfs (c_f, c_b, islice)
 This is a subroutine that builds the normalized cumulative distribution functions for the radial portion of the ground and first excited state harmonic states in polar coordinates ( \( (x - i p) \rightarrow r e^{-i \theta} \)) More...
 
subroutine random_numbers::sample_current_cdfs (r, rt)
 subroutine to sample the current cumulative distribution functions for the radial portion of the harmonic oscillator states More...
 
real(dp) function random_numbers::ground_rn ()
 This function assigns a random number distributed according to the radial portion of the ground harmonic oscillator state in polar coordinates. More...
 
real(dp) function random_numbers::excited_rn ()
 This function assigns a random number distributed according to the radial portion of the first excited harmonic oscillator state in polar coordinates. More...
 

Variables

real(dp), dimension(:,:), allocatable random_numbers::radial_f
 
real(dp), dimension(:,:), allocatable random_numbers::radial_b