MONC
Modules | Functions/Subroutines | Variables
maths.F90 File Reference

Go to the source code of this file.

Modules

module  maths_mod
 

Functions/Subroutines

real(kind=default_precision) function, public maths_mod::random (idum)
 returns a scalar random number, the initial seed idum must be negative usage: idum = -k !(set idum < 0 to initialise) do i=1,nvals my_rand(i) = random(idum) end do More...
 

Variables

integer, parameter maths_mod::k4b =selected_int_kind(9)
 
integer(k4b), parameter maths_mod::ia =16807
 
integer(k4b), parameter maths_mod::im =2147483647
 
integer(k4b), parameter maths_mod::iq =127773
 
integer(k4b), parameter maths_mod::ir =2836