Changeset 37092
- Timestamp:
- Jul 20, 2014, 10:07:19 AM (12 years ago)
- Location:
- branches/eam_branches/ipp-20140717/Ohana/src/addstar
- Files:
-
- 2 edited
-
include/addstar.h (modified) (1 diff)
-
src/build_links.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140717/Ohana/src/addstar/include/addstar.h
r37089 r37092 255 255 off_t *init_lensing_links PROTO((Average *average, off_t Naverage, Lensing *lensing, off_t Nlensing)); 256 256 off_t *init_missing_links PROTO((Average *average, off_t Naverage, Missing *missing, off_t Nmissing)); 257 off_t add_meas_link PROTO((Average *average, off_t *next_meas, off_t Nmeasure, off_t NMEASURE));258 off_t add_miss_link PROTO((Average *average, off_t *next_miss, off_t Nmissing));259 off_tadd_lens_link PROTO((Average *average, off_t *next_lens, off_t Nlensing, off_t NLENSING));257 int add_meas_link PROTO((Average *average, off_t *next_meas, off_t Nmeasure, off_t NMEASURE)); 258 int add_miss_link PROTO((Average *average, off_t *next_miss, off_t Nmissing)); 259 int add_lens_link PROTO((Average *average, off_t *next_lens, off_t Nlensing, off_t NLENSING)); 260 260 off_t *build_measure_links PROTO((Average *average, off_t Naverage, Measure *measure, off_t Nmeasure)); 261 261 off_t *build_lensing_links PROTO((Average *average, off_t Naverage, Lensing *lensing, off_t Nlensing)); -
branches/eam_branches/ipp-20140717/Ohana/src/addstar/src/build_links.c
r37036 r37092 102 102 103 103 /* average[].measureOffset, average[].Nmeasure are valid within an addstar run */ 104 off_t add_meas_link (Average *average, off_t *next_meas, off_t Nmeasure, off_t NMEASURE) {104 int add_meas_link (Average *average, off_t *next_meas, off_t Nmeasure, off_t NMEASURE) { 105 105 106 106 off_t k, m; … … 133 133 return (TRUE); 134 134 } 135 136 /* Missing does not carry enough information to reconstruct the links137 we must always save the missing table, if it exists */138 135 139 136 Measure *sort_measure (Average *average, off_t Naverage, Measure *measure, off_t Nmeasure, off_t *next_meas) { … … 160 157 } 161 158 159 /*******************************************************************************************/ 160 162 161 /* build the initial links assuming the table is sorted */ 163 162 off_t *init_missing_links (Average *average, off_t Naverage, Missing *missing, off_t Nmissing) { … … 186 185 } 187 186 188 off_t add_miss_link (Average *average, off_t *next_miss, off_t Nmissing) {187 int add_miss_link (Average *average, off_t *next_miss, off_t Nmissing) { 189 188 190 189 off_t k, m; … … 205 204 } 206 205 206 /* Missing does not carry enough information to reconstruct the links 207 we must always save the missing table, if it exists */ 208 207 209 Missing *sort_missing (Average *average, off_t Naverage, Missing *missing, off_t Nmissing, off_t *next_miss) { 208 210 … … 307 309 308 310 /* average[].lensingOffset, average[].Nlensing are valid within an addstar run */ 309 off_t add_lens_link (Average *average, off_t *next_lens, off_t Nlensing, off_t NLENSING) {311 int add_lens_link (Average *average, off_t *next_lens, off_t Nlensing, off_t NLENSING) { 310 312 311 313 off_t k, m;
Note:
See TracChangeset
for help on using the changeset viewer.
