Ignore:
Timestamp:
Aug 2, 2024, 9:58:25 PM (5 months ago)
Author:
abarral
Message:

Put dimensions.h and paramet.h into modules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad.v1.5.1/radiation_random_numbers.F90

    r5158 r5159  
    11! radiation_random_numbers.F90 - Generate random numbers for McICA solver
    2 !
     2
    33! (C) Copyright 2020- ECMWF.
    4 !
     4
    55! This software is licensed under the terms of the Apache Licence Version 2.0
    66! which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
    7 !
     7
    88! In applying this licence, ECMWF does not waive the privileges and immunities
    99! granted to it by virtue of its status as an intergovernmental organisation
    1010! nor does it submit to any jurisdiction.
    11 !
     11
    1212! Author:  Robin Hogan
    1313! Email:   r.j.hogan@ecmwf.int
    14 !
     14
    1515! The derived type "rng_type" is a random number generator that uses
    1616! either (1) Fortran's built-in random_number function, or (2) a
     
    2525! mod(istate[i]*A, M). Uniform deviates are returned that normalize
    2626! the state elements to the range 0-1.
    27 !
     27
    2828! The MINSTD generator was coded because the random_numbers_mix
    2929! generator in the IFS was found not to vectorize well on some
     
    3131! implementation should really be looked at and improved by someone
    3232! who knows what they are doing.
    33 !
     33
    3434! Reference for MINSTD: Park, Stephen K.; Miller, Keith
    3535! W. (1988). "Random Number Generators: Good Ones Are Hard To Find"
    3636! (PDF). Communications of the ACM. 31 (10):
    3737! 1192–1201. doi:10.1145/63039.63042
    38 !
     38
    3939! Modifications
    4040!   2022-12-01  R. Hogan  Fixed zeroed state in single precision
Note: See TracChangeset for help on using the changeset viewer.