spatial_random_type Derived Type

type, private :: spatial_random_type

Defines a random spatial distribution within a given interval.


Components

Type Visibility Attributes Name Initial
real(kind=rk), public :: val_min

Minimal value to produce

real(kind=rk), public :: val_max

Maximal value to produce

real(kind=rk), public :: val_range

Length of the value interval


Source Code

  type spatial_random_type
    !> Minimal value to produce
    real(kind=rk) :: val_min
    !> Maximal value to produce
    real(kind=rk) :: val_max
    !> Length of the value interval
    real(kind=rk) :: val_range
  end type spatial_random_type