source: trunk/MagicSoft/Simulation/Corsika/Mmcs/garndm.f@ 6525

Last change on this file since 6525 was 286, checked in by harald, 25 years ago
This is the start point for further developments of the Magic Monte Carlo Simulation written by Jose Carlos Gonzales. Now it is under control of one CVS repository for the whole collaboration. Everyone should use this CVS repository for further developments.
File size: 396 bytes
Line 
1 REAL FUNCTION GARNDM(DUMMY)
2
3C-----------------------------------------------------------------------
4C 1 EXPONENTIALLY DISTRIBUTED RANDOM NUMBER
5C-----------------------------------------------------------------------
6
7 REAL RD(1)
8C-----------------------------------------------------------------------
9
10 CALL RMMAR(RD,1,1)
11 GARNDM = -LOG(RD(1))
12 RETURN
13 END
Note: See TracBrowser for help on using the repository browser.