Changeset 33220
- Timestamp:
- Feb 8, 2012, 8:32:30 AM (14 years ago)
- Location:
- branches/eam_branches/ipp-20111122/Ohana/src
- Files:
-
- 4 edited
-
addstar/src/loadsupercos_rawdata.c (modified) (1 diff)
-
addstar/src/mkcmf.c (modified) (1 diff)
-
dvomerge/src/dvomergeUpdate.c (modified) (3 diffs)
-
dvomerge/src/dvomergeUpdate_threaded.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20111122/Ohana/src/addstar/src/loadsupercos_rawdata.c
r33006 r33220 157 157 } 158 158 159 if ( VERBOSE) fprintf (stderr, "selected %d stars (%10.6f - %10.6f, %10.6f - %10.6f)\n", Nstars,159 if (DEBUG) fprintf (stderr, "selected %d stars (%10.6f - %10.6f, %10.6f - %10.6f)\n", Nstars, 160 160 region[0].Rmin, region[0].Rmax, region[0].Dmin, region[0].Dmax); 161 161 -
branches/eam_branches/ipp-20111122/Ohana/src/addstar/src/mkcmf.c
r33169 r33220 43 43 } 44 44 45 static double mjd = NAN; 45 static double mjd; 46 mjd = NAN; 46 47 if ((N = get_argument (argc, argv, "-mjd"))) { 47 48 remove_argument (N, &argc, argv); -
branches/eam_branches/ipp-20111122/Ohana/src/dvomerge/src/dvomergeUpdate.c
r33213 r33220 3 3 int dvomergeUpdate (int argc, char **argv) { 4 4 5 int depth,CONTINUE;6 off_t i, j , Ns, Ne;5 int CONTINUE; 6 off_t i, j; 7 7 SkyTable *outsky, *insky; 8 8 SkyList *outlist, *inlist; … … 101 101 // loop over the populatable output tables; check for data in input in the corresponding regions 102 102 103 SkyListPopulatedRange (&Ns, &Ne, inlist, 0); 104 depth = inlist[0].regions[Ns][0].depth; 103 // XXX this is not really used... 104 // SkyListPopulatedRange (&Ns, &Ne, inlist, 0); 105 // depth = inlist[0].regions[Ns][0].depth; 105 106 106 107 SetPhotcodeTable(NULL); … … 126 127 // compare to a slightly reduced footprint 127 128 float dPos = 2.0/3600.0; 128 outlist = SkyListByBounds (outsky, depth, inlist[0].regions[i][0].Rmin + dPos, inlist[0].regions[i][0].Rmax - dPos, inlist[0].regions[i][0].Dmin + dPos, inlist[0].regions[i][0].Dmax - dPos);129 outlist = SkyListByBounds (outsky, inlist[0].regions[i][0].depth, inlist[0].regions[i][0].Rmin + dPos, inlist[0].regions[i][0].Rmax - dPos, inlist[0].regions[i][0].Dmin + dPos, inlist[0].regions[i][0].Dmax - dPos); 129 130 for (j = 0; j < outlist[0].Nregions; j++) { 130 131 if (VERBOSE) fprintf (stderr, "output : %s\n", outlist[0].regions[j][0].name); -
branches/eam_branches/ipp-20111122/Ohana/src/dvomerge/src/dvomergeUpdate_threaded.c
r33213 r33220 61 61 // compare to a slightly reduced footprint 62 62 float dPos = 2.0/3600.0; 63 // XXX probably need to use threadData->region->depth 63 64 outlist = SkyListByBounds (threadData->outsky, threadData->depth, threadData->region->Rmin + dPos, threadData->region->Rmax - dPos, threadData->region->Dmin + dPos, threadData->region->Dmax - dPos); 64 65 for (j = 0; (j < outlist[0].Nregions) && (threadData->state != TS_FAIL); j++) {
Note:
See TracChangeset
for help on using the changeset viewer.
