Changeset 37511
- Timestamp:
- Oct 20, 2014, 5:56:40 PM (12 years ago)
- Location:
- branches/eam_branches/ipp-20140904/Ohana/src/dvomerge/src
- Files:
-
- 2 edited
-
dvomergeUpdate_catalogs.c (modified) (1 diff)
-
merge_catalogs_old.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140904/Ohana/src/dvomerge/src/dvomergeUpdate_catalogs.c
r37116 r37511 58 58 } 59 59 60 # if 0 61 // NOTE: i was having trouble dropping objects on edges with the option below. Since an object can move outside the catalog grab the neighbors. 60 62 // SkyListByBounds will return neighbor catalogs if the boundaries exactly match (due to rounding). Since the regions are not infinitely small, 61 63 // compare to a slightly reduced footprint 62 64 float dPos = 2.0/3600.0; 63 65 outlist = SkyListByBounds (outsky, -1, 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); 66 # else 67 // Since an object can move outside the catalog grab the neighbors. 68 float dPos = 2.0/3600.0; 69 outlist = SkyListByBounds (outsky, -1, 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); 70 # endif 64 71 65 72 OutputStatus *outstat = OutputStatusInit (outlist->Nregions); -
branches/eam_branches/ipp-20140904/Ohana/src/dvomerge/src/merge_catalogs_old.c
r37386 r37511 4 4 # define IN_REGION(R,D) ( \ 5 5 ((D) >= region[0].Dmin) && ((D) < region[0].Dmax) && \ 6 ((R) >= region[0].Rmin) && ((R) < region[0].Rmax))6 ((R) >= region[0].Rmin) && ((R) < region[0].Rmax)) 7 7 8 8 // merge the input data into the output catalog
Note:
See TracChangeset
for help on using the changeset viewer.
