IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 12, 2004, 11:10:41 AM (22 years ago)
Author:
desonia
Message:

added slaAirmas function for use in psExposureAlloc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astronomy/slalib.h

    r2052 r2061  
    77*  @author Robert DeSonia, MHPCC
    88*
    9 *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2004-10-12 19:10:00 $
     9*  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2004-10-12 21:10:41 $
    1111*
    1212*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2222#define fslaAopqk _SLA_AOPQK__
    2323#define fslaOapqk _SLA_OAPQK__
     24#define fslaAirmas _SLA_AIRMAS__
    2425#else
    2526#define fslaAoppa _sla_aoppa__
    2627#define fslaAopqk _sla_aopqk__
    2728#define fslaOapqk _sla_oapqk__
     29#define fslaAirmas _sla_airmas__
    2830#endif
    2931#elif FORTRAN_NO_UNDERSCORE_SUFFIX
     
    3234#define fslaAopqk _SLA_AOPQK
    3335#define fslaOapqk _SLA_OAPQK
     36#define fslaAirmas _SLA_AIRMAS
    3437#else
    3538#define fslaAoppa _sla_aoppa
    3639#define fslaAopqk _sla_aopqk
    3740#define fslaOapqk _sla_oapqk
     41#define fslaAirmas _sla_airmas
    3842#endif
    3943#else
     
    4246#define fslaAopqk _SLA_AOPQK_
    4347#define fslaOapqk _SLA_OAPQK_
     48#define fslaAirmas _SLA_AIRMAS_
    4449#else
    4550#define fslaAoppa _sla_aoppa_
    4651#define fslaAopqk _sla_aopqk_
    4752#define fslaOapqk _sla_oapqk_
     53#define fslaAirmas _sla_airmas_
    4854#endif
    4955#endif
     
    5460#define fslaAopqk SLA_AOPQK__
    5561#define fslaOapqk SLA_OAPQK__
     62#define fslaAirmas SLA_AIRMAS__
    5663#else
    5764#define fslaAoppa sla_aoppa__
    5865#define fslaAopqk sla_aopqk__
    5966#define fslaOapqk sla_oapqk__
     67#define fslaAirmas sla_airmas__
    6068#endif
    6169#elif FORTRAN_NO_UNDERSCORE_SUFFIX
     
    6472#define fslaAopqk SLA_AOPQK
    6573#define fslaOapqk SLA_OAPQK
     74#define fslaAirmas SLA_AIRMAS
    6675#else
    6776#define fslaAoppa sla_aoppa
    6877#define fslaAopqk sla_aopqk
    6978#define fslaOapqk sla_oapqk
     79#define fslaAirmas sla_airmas
    7080#endif
    7181#else
     
    7484#define fslaAopqk SLA_AOPQK_
    7585#define fslaOapqk SLA_OAPQK_
     86#define fslaAirmas SLA_AIRMAS_
    7687#else
    7788#define fslaAoppa sla_aoppa_
    7889#define fslaAopqk sla_aopqk_
    7990#define fslaOapqk sla_oapqk_
     91#define fslaAirmas sla_airmas_
    8092#endif
    8193#endif
     
    118130    );
    119131
     132extern double fslaAirmas(
     133        const double* zenithDistance
     134    );
     135
    120136/*
    121137    void slaAoppa(date, dut, elongm, phim, hm, xp, yp, tdk, pmb, rh, wl, tlr, aoprms)
     
    174190fslaOapqk(TYPE, &OB1, &OB2, AOPRMS, RAP, DAP)
    175191
    176 #endif
     192/*
     193    double slaAirmas(zd)
     194   
     195    PARAMETERS
     196   
     197    double zd
     198*/
     199#define slaAirmas(ZD) fslaAirmas(&ZD)
     200
     201#endif
Note: See TracChangeset for help on using the changeset viewer.