Changeset 2551 in Sophya for trunk/SophyaExt/XephemAstroLib/vsop87.c
- Timestamp:
- Jun 15, 2004, 6:54:12 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/XephemAstroLib/vsop87.c
r1719 r2551 35 35 36 36 #include <math.h> 37 #include "P_.h" 37 38 38 #include "astro.h" 39 39 #include "vsop87.h" … … 51 51 * Input : 52 52 * 53 * mj dmodified julian date, counted from J1900.053 * mj modified julian date, counted from J1900.0 54 54 * time scale : dynamical time TDB. 55 55 * … … 98 98 ******************************************************************/ 99 99 int 100 vsop87 (mjd, obj, prec, ret) 101 double mjd; 102 int obj; 103 double prec; 104 double *ret; 100 vsop87 (double mj, int obj, double prec, double *ret) 105 101 { 106 102 static double (*vx_map[])[3] = { /* data tables */ … … 134 130 /* time and its powers */ 135 131 t[0] = 1.0; 136 t[1] = (mj d- J2000)/VSOP_A1000;132 t[1] = (mj - J2000)/VSOP_A1000; 137 133 for (i = 2; i <= VSOP_MAXALPHA; ++i) t[i] = t[i-1] * t[1]; 138 134 t_abs[0] = 1.0; … … 211 207 212 208 /* For RCS Only -- Do Not Edit */ 213 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: vsop87.c,v $ $Date: 200 1-10-22 12:08:28 $ $Revision: 1.3$ $Name: not supported by cvs2svn $"};209 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: vsop87.c,v $ $Date: 2004-06-15 16:52:41 $ $Revision: 1.4 $ $Name: not supported by cvs2svn $"};
Note:
See TracChangeset
for help on using the changeset viewer.