Changeset 4592 for palm/trunk/SOURCE/random_gauss.f90
- Timestamp:
- Jul 8, 2020 9:56:29 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/random_gauss.f90
r4360 r4592 1 1 !> @file random_gauss.f90 2 !------------------------------------------------------------------------------ !2 !--------------------------------------------------------------------------------------------------! 3 3 ! This file is part of the PALM model system. 4 4 ! 5 ! PALM is free software: you can redistribute it and/or modify it under the 6 ! terms of the GNU General Public License as published by the Free Software 7 ! Foundation, either version 3 of the License, or (at your option) any later 8 ! version. 5 ! PALM is free software: you can redistribute it and/or modify it under the terms of the GNU General 6 ! Public License as published by the Free Software Foundation, either version 3 of the License, or 7 ! (at your option) any later version. 9 8 ! 10 ! PALM is distributed in the hope that it will be useful, but WITHOUT ANY 11 ! WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR12 ! A PARTICULAR PURPOSE. See the GNU GeneralPublic License for more details.9 ! PALM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the 10 ! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General 11 ! Public License for more details. 13 12 ! 14 ! You should have received a copy of the GNU General Public License along with 15 ! PALM. If not, see<http://www.gnu.org/licenses/>.13 ! You should have received a copy of the GNU General Public License along with PALM. If not, see 14 ! <http://www.gnu.org/licenses/>. 16 15 ! 17 16 ! Copyright 1997-2020 Leibniz Universitaet Hannover 18 !------------------------------------------------------------------------------! 17 !--------------------------------------------------------------------------------------------------! 18 ! 19 19 ! 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 23 ! 22 ! 23 ! 24 24 ! Former revisions: 25 25 ! ----------------- 26 26 ! $Id$ 27 ! File re-formatted to follow the PALM coding standard 28 ! 29 ! 4360 2020-01-07 11:25:50Z suehring 27 30 ! Corrected "Former revisions" section 28 ! 31 ! 29 32 ! 3655 2019-01-07 16:51:22Z knoop 30 33 ! Corrected "Former revisions" section … … 34 37 ! 35 38 ! 39 !--------------------------------------------------------------------------------------------------! 36 40 ! Description: 37 41 ! ------------ 38 42 !> Generates a gaussian distributed random number (mean value 1, sigma = 1) 39 43 !> This routine is taken from the "numerical recipies". 40 !------------------------------------------------------------------------------ !44 !--------------------------------------------------------------------------------------------------! 41 45 FUNCTION random_gauss( idum, upper_limit ) 42 46 43 47 44 48 USE kinds 45 49 46 USE random_function_mod, &50 USE random_function_mod, & 47 51 ONLY: random_function 48 52 … … 65 69 66 70 ! 67 !-- Random numbers are created as long as they do not fall below the given 68 !-- upper limit 71 !-- Random numbers are created as long as they do not fall below the given upper limit 69 72 DO 70 73
Note: See TracChangeset
for help on using the changeset viewer.