IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 12, 2015, 12:29:24 PM (12 years ago)
Author:
eugene
Message:

merge changes from trunk

Location:
branches/eam_branches/ipp-pv3-20140717-merge/Ohana
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-pv3-20140717-merge/Ohana

  • branches/eam_branches/ipp-pv3-20140717-merge/Ohana/src/addstar/include/addstar.h

    r37343 r37822  
    2020# define IN_REGION(R,D) ( \
    2121((D) >= region[0].Dmin) && ((D) < region[0].Dmax) && \
    22 ((R) >= region[0].Rmin)  && ((R) < region[0].Rmax))
     22((R) >= region[0].Rmin) && ((R) < region[0].Rmax))
    2323
    2424/* grab named photcode */
     
    3131# define dCOS(A)   ((double) cos ((double)RAD_DEG*A))
    3232# define dSIN(A)   ((double) sin ((double)RAD_DEG*A))
     33
     34# define myAbortF(FORMAT,...) { fprintf (stderr, FORMAT, __VA_ARGS__); abort(); }
    3335
    3436typedef struct {
     
    240242Stars     *rd_gsc                 PROTO((char *filename, unsigned int *nstars));
    241243int        replace_match          PROTO((Average *average, Measure *measure, Stars *star));
    242 int        resort_threaded        PROTO((AddstarClientOptions *options, SkyTable *sky));
    243 int        resort_unthreaded      PROTO((AddstarClientOptions *options, SkyTable *sky, int hostID, char *hostpath));
    244 int        resort_unthreaded_catalogs PROTO((AddstarClientOptions *options, SkyList *skylist, int hostID, char *hostpath));
     244int        resort_catalogs        PROTO((AddstarClientOptions *options, SkyTable *sky));
     245int        resort_catalogs_parallel PROTO((AddstarClientOptions *options, SkyList *sky));
     246int        resort_threaded        PROTO((SkyList *skylist, int ForceSort));
     247int        resort_unthreaded      PROTO((SkyList *skylist, int ForceSort));
    245248void       resort_catalog         PROTO((Catalog *catalog));
    246249void       resort_catalog_old     PROTO((Catalog *catalog));
     250
    247251Stars     *ReadStarsFITS          PROTO((FILE *f, Header *header, Header *in_theader, unsigned int *nstars));
    248252Stars     *ReadStarsTEXT          PROTO((FILE *f, unsigned int *nstars));
     
    259263off_t     *init_lensing_links     PROTO((Average *average, off_t Naverage, Lensing *lensing, off_t Nlensing));
    260264off_t     *init_missing_links     PROTO((Average *average, off_t Naverage, Missing *missing, off_t Nmissing));
    261 off_t      add_meas_link          PROTO((Average *average, off_t *next_meas, off_t Nmeasure, off_t NMEASURE));
    262 off_t      add_miss_link          PROTO((Average *average, off_t *next_miss, off_t Nmissing));
    263 off_t      add_lens_link          PROTO((Average *average, off_t *next_lens, off_t Nlensing, off_t NLENSING));
     265int        add_meas_link          PROTO((Average *average, off_t *next_meas, off_t Nmeasure, off_t NMEASURE));
     266int        add_miss_link          PROTO((Average *average, off_t *next_miss, off_t Nmissing));
     267int        add_lens_link          PROTO((Average *average, off_t *next_lens, off_t Nlensing, off_t NLENSING));
    264268off_t     *build_measure_links    PROTO((Average *average, off_t Naverage, Measure *measure, off_t Nmeasure));
    265269off_t     *build_lensing_links    PROTO((Average *average, off_t Naverage, Lensing *lensing, off_t Nlensing));
     
    322326void *memrchr(const void *s, int c, size_t n);
    323327int addstar_create_ID ();
     328int strextend (char *input, char *format,...);
     329
     330void initMosaicCoords ();
     331void saveMosaicCoords (Coords *input);
     332
    324333
    325334/**
Note: See TracChangeset for help on using the changeset viewer.