IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 7, 2005, 10:52:43 AM (21 years ago)
Author:
drobbin
Message:

update doxygen, implemented sphereRot functions in EOC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/astro/tst_psEarthOrientation.c

    r5466 r5483  
    55*  @author d-Rob, MHPCC
    66*
    7 *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
    8 *  @date $Date: 2005-11-03 04:31:22 $
     7*  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
     8*  @date $Date: 2005-11-07 20:52:43 $
    99*
    1010*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    6363    psSphere *empty = NULL;
    6464
    65     actual->r = 0.2;
    66     actual->d = 0.2;
    67     direction->r = 0.2035;
    68     direction->d = 0.2035;
     65    //    actual->r = 0.2;
     66    //    actual->d = 0.2;
     67    actual->r = DEG_TO_RAD(45.0);
     68    actual->d = DEG_TO_RAD(30.0);
     69    //    direction->r = 0.2035;
     70    //    direction->d = 0.2035;
     71    direction->r = DEG_TO_RAD(48.0);
     72    direction->d = DEG_TO_RAD(20.7072);
    6973
    7074    empty = psAberration(empty, apparent, direction, 0.1);
     
    8286
    8387    apparent = psAberration(apparent, actual, direction, 0.4);
    84     printf("\napparent = r,d  = %.8g, %.8g\n", apparent->r, apparent->d);
     88    if (apparent == NULL)
     89        printf("\nApparent is NULL\n");
     90    else
     91        printf("\napparent = r,d  = %.8g, %.8g\n", apparent->r, apparent->d);
    8592
    8693    psFree(apparent);
Note: See TracChangeset for help on using the changeset viewer.