IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3114 for trunk/psLib/src/astro


Ignore:
Timestamp:
Feb 2, 2005, 2:45:06 PM (21 years ago)
Author:
desonia
Message:

Added SWIG and autoconf.

Location:
trunk/psLib/src/astro
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astro/psCoord.c

    r3109 r3114  
    1010*  @author GLG, MHPCC
    1111*
    12 *  @version $Revision: 1.48 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2005-02-02 21:10:37 $
     12*  @version $Revision: 1.49 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2005-02-03 00:45:06 $
    1414*
    1515*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    599599XXX: How to compound errors?
    600600 *****************************************************************************/
    601 psSphere* psSphereGetOffset(const psSphere* restrict position1,
    602                             const psSphere* restrict position2,
     601psSphere* psSphereGetOffset(const psSphere* position1,
     602                            const psSphere* position2,
    603603                            psSphereOffsetMode mode,
    604604                            psSphereOffsetUnit unit)
     
    683683 *****************************************************************************/
    684684
    685 psSphere* psSphereSetOffset(const psSphere* restrict position,
    686                             const psSphere* restrict offset,
     685psSphere* psSphereSetOffset(const psSphere* position,
     686                            const psSphere* offset,
    687687                            psSphereOffsetMode mode,
    688688                            psSphereOffsetUnit unit)
  • trunk/psLib/src/astro/psCoord.h

    r3095 r3114  
    1010*  @author GLG, MHPCC
    1111*
    12 *  @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2005-01-26 20:24:16 $
     12*  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2005-02-03 00:45:06 $
    1414*
    1515*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    346346 */
    347347psSphere* psSphereGetOffset(
    348     const psSphere* restrict position1,
    349     const psSphere* restrict position2,
     348    const psSphere* position1,
     349    const psSphere* position2,
    350350    psSphereOffsetMode mode,
    351351    psSphereOffsetUnit unit
     
    364364 */
    365365psSphere* psSphereSetOffset(
    366     const psSphere* restrict position,
    367     const psSphere* restrict offset,
     366    const psSphere* position,
     367    const psSphere* offset,
    368368    psSphereOffsetMode mode,
    369369    psSphereOffsetUnit unit
  • trunk/psLib/src/astro/psTime.c

    r2749 r3114  
    1010 *  @author Ross Harman, MHPCC
    1111 *
    12  *  @version $Revision: 1.49 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2004-12-17 20:47:08 $
     12 *  @version $Revision: 1.50 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2005-02-03 00:45:06 $
    1414 *
    1515 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3535#include "psAstronomyErrors.h"
    3636
    37 #ifndef TIME_CONFIG_FILE
    38 #define TIME_CONFIG_FILE "../../config/psTime.config"
    39 #pragma warning TIME_CONFIG_FILE was not defined in the makefile.
    40 #endif
     37#include "config.h"
    4138
    4239#define MAX_STRING_LENGTH 256
     
    151148    // Check time metadata. Function call reports errors.
    152149    if(timeMetadata == NULL) {
    153         if(!p_psTimeInit(TIME_CONFIG_FILE))
     150        if(!p_psTimeInit(CONFIG_FILE))
    154151            return 0.0;
    155152    }
     
    708705    // Check time metadata
    709706    if(timeMetadata == NULL) {
    710         if(!p_psTimeInit(TIME_CONFIG_FILE)) {
     707        if(!p_psTimeInit(CONFIG_FILE)) {
    711708            psError(PS_ERR_BAD_PARAMETER_VALUE, true, PS_ERRORTEXT_psTime_FILE_NOT_FOUND, "psTime.config");
    712709            return 0.0;
Note: See TracChangeset for help on using the changeset viewer.