IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1519


Ignore:
Timestamp:
Aug 12, 2004, 2:01:57 PM (22 years ago)
Author:
desonia
Message:

pulled out the slalib.h externs to a separate include file.

Location:
trunk/psLib/src/astronomy
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astronomy/psAstrometry.c

    r1515 r1519  
    88*  @author George Gusciora, MHPCC
    99*
    10 *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
    11 *  @date $Date: 2004-08-12 06:42:42 $
     10*  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
     11*  @date $Date: 2004-08-13 00:01:57 $
    1212*
    1313*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2020#include "psMemory.h"
    2121#include "psAbort.h"
     22#include "slalib.h"
    2223
    2324psExposure* psExposureAlloc(double ra, double dec, double hourAngle,
     
    4344    return exp;
    4445}
    45 
    46 extern void sla_aoppa(double date, double dut, double elongm,
    47                           double phim, double him, double xp,
    48                           double yp, double tdk, double pmb,
    49                           double rh, double wl, double tlr,
    50                           double *AOPRMS);
    5146#define TBD 0.0
    5247/*****************************************************************************
     
    7570    double *AOPRMS = NULL;
    7671
    77     sla_aoppa(date, dut, elongm, phim, hm, xp, yp,
    78               tdk, pmb, rh, wl, tlr, AOPRMS);
     72    slaAoppa(date, dut, elongm, phim, hm, xp, yp,
     73             tdk, pmb, rh, wl, tlr, AOPRMS);
    7974
    8075    psGrommit* grommit = (psGrommit* ) psAlloc(sizeof(psGrommit));
     
    285280}
    286281
    287 extern void sla_AOPQK(double RAP, double DAP, double *AOPRMS,
    288                           double *AOB, double *ZOB, double *HOB, double *DOB,
    289                           double *ROB);
    290282/*****************************************************************************
    291283XXX: What about units for the (x,y) coords?
     
    309301    }
    310302
    311     sla_AOPQK(tpCoord->x, tpCoord->y, (double *) grommit,
    312               &AOB, &ZOB, &HOB, &outSphere->r, &outSphere->d);
     303    slaAopqk(tpCoord->x, tpCoord->y, (double *) grommit,
     304             &AOB, &ZOB, &HOB, &outSphere->r, &outSphere->d);
    313305
    314306    return (outSphere);
     
    408400}
    409401
    410 extern void sla_OAPQK(char *TYPE, double OB1, double OB2,
    411                           double *AOPRMS, double *RAP, double *DAP);
    412402/*****************************************************************************
    413403XXX: What about units for the (x,y) coords?
     
    427417    }
    428418
    429     sla_OAPQK("RA", in->r, in->d, (double *) grommit, &tpCoord->x, &tpCoord->y);
     419    slaOapqk("RA", in->r, in->d, (double *) grommit, &tpCoord->x, &tpCoord->y);
    430420
    431421    return(tpCoord);
Note: See TracChangeset for help on using the changeset viewer.