Changeset 39242 for trunk/Ohana/src/fakeastro/src/make_fakestars.c
- Timestamp:
- Dec 9, 2015, 3:42:26 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/fakeastro/src/make_fakestars.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/fakeastro/src/make_fakestars.c
r37807 r39242 48 48 int inPatch = FALSE; 49 49 while (!inPatch) { 50 z = rnd_gauss(0.0, FAKEASTRO_ZGAL);50 z = gaussdev_rnd (0.0, FAKEASTRO_ZGAL); 51 51 r = sqrt(drand48()) * FAKEASTRO_RGAL; 52 52 Lrad = drand48() * 2 * M_PI; … … 98 98 double Mr; 99 99 if (bigPeak) { 100 Mr = rnd_gauss(11.25, 1.0);100 Mr = gaussdev_rnd (11.25, 1.0); 101 101 } else { 102 Mr = rnd_gauss(10.00, 2.5);102 Mr = gaussdev_rnd (10.00, 2.5); 103 103 } 104 104
Note:
See TracChangeset
for help on using the changeset viewer.
