Changeset 5483 for trunk/psLib/test/astro
- Timestamp:
- Nov 7, 2005, 10:52:43 AM (21 years ago)
- Location:
- trunk/psLib/test/astro
- Files:
-
- 3 edited
-
tst_psEarthOrientation.c (modified) (3 diffs)
-
verified/tst_psEarthOrientation.stderr (modified) (2 diffs)
-
verified/tst_psEarthOrientation.stdout (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/astro/tst_psEarthOrientation.c
r5466 r5483 5 5 * @author d-Rob, MHPCC 6 6 * 7 * @version $Revision: 1. 7$ $Name: not supported by cvs2svn $8 * @date $Date: 2005-11-0 3 04:31:22$7 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2005-11-07 20:52:43 $ 9 9 * 10 10 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 63 63 psSphere *empty = NULL; 64 64 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); 69 73 70 74 empty = psAberration(empty, apparent, direction, 0.1); … … 82 86 83 87 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); 85 92 86 93 psFree(apparent); -
trunk/psLib/test/astro/verified/tst_psEarthOrientation.stderr
r5455 r5483 24 24 25 25 ---> 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)35 26 36 27 /***************************** TESTPOINT ******************************************\ … … 63 54 /***************************** TESTPOINT ******************************************\ 64 55 * TestFile: tst_psEarthOrientation.c * 65 * TestPoint: psEarthOrientation{psSphereRot Transforms()}*56 * TestPoint: psEarthOrientation{psSphereRot_TEOtoCEO()} * 66 57 * TestType: Positive * 67 58 \**********************************************************************************/ 68 59 69 60 70 ---> TESTPOINT PASSED (psEarthOrientation{psSphereRot Transforms()} | tst_psEarthOrientation.c)61 ---> TESTPOINT PASSED (psEarthOrientation{psSphereRot_TEOtoCEO()} | tst_psEarthOrientation.c) 71 62 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 1 1 2 apparent = r,d = 0.10218436, 0.102184362 apparent = r,d = 1.2163241, 1.0535409 3 3 4 4 Actual r,d = 0.2035,0.2035 Apparent r,d = 0.2035000000002, 0.2035000000391 5 6 The Value of T is = 1128530000.931 7 8 The Value of T is = 1126078455.931 9 Output sphere rotation = 0.000000,0.000000,0.770554,0.637375
Note:
See TracChangeset
for help on using the changeset viewer.
