Changeset 6036 for trunk/psLib/src/astro/psEarthOrientation.c
- Timestamp:
- Jan 18, 2006, 10:59:32 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/astro/psEarthOrientation.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astro/psEarthOrientation.c
r6030 r6036 8 8 * @author Robert Daniel DeSonia, MHPCC 9 9 * 10 * @version $Revision: 1.2 7$ $Name: not supported by cvs2svn $11 * @date $Date: 2006-01-18 00:41:29$10 * @version $Revision: 1.28 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2006-01-18 20:59:31 $ 12 12 * 13 13 * Copyright 2005 Maui High Performance Computing Center, University of Hawaii … … 846 846 if (tidalCorr != NULL && tidalCorr->s != 0.0) { 847 847 int nsec = in->nsec + (int)(tidalCorr->s * 1e9); 848 if (nsec < 0 .0) {848 if (nsec < 0) { 849 849 in->sec += -1; 850 in->nsec = (int)(1e9) -nsec;850 in->nsec = (int)(1e9) + nsec; 851 851 } else { 852 852 in->nsec = nsec; … … 1009 1009 1010 1010 // Calculate number of Julian centuries since 2000 1011 //XXX: NOT SURE IF THIS IS CORRECT FOR THIS SITUATION1012 // double RJD = ( MJD - MJD_2000 ) / JULIAN_CENTURY;1013 1011 double RJD = MJD; 1014 1012
Note:
See TracChangeset
for help on using the changeset viewer.
