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.

Location:
trunk/psLib/test/astro
Files:
3 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);
  • trunk/psLib/test/astro/verified/tst_psEarthOrientation.stderr

    r5455 r5483  
    2424
    2525---> TESTPOINT PASSED (psEarthOrientation{psGravityDeflect()} | tst_psEarthOrientation.c)
    26 
    27 /***************************** TESTPOINT ******************************************\
    28 *             TestFile: tst_psEarthOrientation.c                                   *
    29 *            TestPoint: psEarthOrientation{psEOCParallax()}                        *
    30 *             TestType: Positive                                                   *
    31 \**********************************************************************************/
    32 
    33 
    34 ---> TESTPOINT PASSED (psEarthOrientation{psEOCParallax()} | tst_psEarthOrientation.c)
    3526
    3627/***************************** TESTPOINT ******************************************\
     
    6354/***************************** TESTPOINT ******************************************\
    6455*             TestFile: tst_psEarthOrientation.c                                   *
    65 *            TestPoint: psEarthOrientation{psSphereRotTransforms()}                *
     56*            TestPoint: psEarthOrientation{psSphereRot_TEOtoCEO()}                 *
    6657*             TestType: Positive                                                   *
    6758\**********************************************************************************/
    6859
    6960
    70 ---> TESTPOINT PASSED (psEarthOrientation{psSphereRotTransforms()} | tst_psEarthOrientation.c)
     61---> TESTPOINT PASSED (psEarthOrientation{psSphereRot_TEOtoCEO()} | tst_psEarthOrientation.c)
    7162
     63/***************************** TESTPOINT ******************************************\
     64*             TestFile: tst_psEarthOrientation.c                                   *
     65*            TestPoint: psEarthOrientation{psSphereRot_CEOtoGCRS()}                *
     66*             TestType: Positive                                                   *
     67\**********************************************************************************/
     68
     69
     70---> TESTPOINT PASSED (psEarthOrientation{psSphereRot_CEOtoGCRS()} | tst_psEarthOrientation.c)
     71
     72/***************************** TESTPOINT ******************************************\
     73*             TestFile: tst_psEarthOrientation.c                                   *
     74*            TestPoint: psEarthOrientation{psSphereRRot_ITRStoTEO()}               *
     75*             TestType: Positive                                                   *
     76\**********************************************************************************/
     77
     78
     79---> TESTPOINT PASSED (psEarthOrientation{psSphereRRot_ITRStoTEO()} | tst_psEarthOrientation.c)
     80
  • trunk/psLib/test/astro/verified/tst_psEarthOrientation.stdout

    r5455 r5483  
    11
    2 apparent = r,d  = 0.10218436, 0.10218436
     2apparent = r,d  = 1.2163241, 1.0535409
    33
    44Actual r,d = 0.2035,0.2035    Apparent r,d = 0.2035000000002, 0.2035000000391
     5
     6The Value of T is = 1128530000.931
     7
     8The Value of T is = 1126078455.931
     9Output sphere rotation = 0.000000,0.000000,0.770554,0.637375
Note: See TracChangeset for help on using the changeset viewer.