- Timestamp:
- Feb 19, 2011, 10:26:57 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110213/ppSim/src/ppSimMakeGalaxies.c
r30618 r30699 16 16 17 17 bool galaxyGrid = psMetadataLookupBool(&mdok, recipe, "GALAXY.GRID"); // Density of fakes 18 int galaxyGridDX = psMetadataLookupS32 (&mdok, recipe, "GALAXY.GRID.DX"); // Density of fakes19 int galaxyGridDY = psMetadataLookupS32 (&mdok, recipe, "GALAXY.GRID.DY"); // Density of fakes18 int galaxyGridDX = psMetadataLookupS32 (&mdok, recipe, "GALAXY.GRID.DX"); // Density of fakes 19 int galaxyGridDY = psMetadataLookupS32 (&mdok, recipe, "GALAXY.GRID.DY"); // Density of fakes 20 20 bool galaxyGridRandom = psMetadataLookupBool(&mdok, recipe, "GALAXY.GRID.RANDOM"); // Density of fakes 21 bool galaxyGridPeak = psMetadataLookupF32 (&mdok, recipe, "GALAXY.GRID.PEAK"); // peak flux of fakes 21 22 22 23 float galaxyRmajorMax = psMetadataLookupF32(&mdok, recipe, "GALAXY.RMAJOR.MAX"); // Density of fakes … … 107 108 galaxy->x = ix; 108 109 galaxy->y = iy; 109 110 // galaxy->peak = 1000; 111 galaxy->peak = bright / 100.0; 112 // fprintf (stderr, "Io: %f\n", bright); 110 galaxy->peak = galaxyGridPeak; 113 111 114 112 // galaxyIndex from user should be for function of this form: exp(-r^(1/n))
Note:
See TracChangeset
for help on using the changeset viewer.
