Ignore:
Timestamp:
Jun 15, 2004, 6:54:12 PM (21 years ago)
Author:
cmv
Message:

nouvelle version de xephem/libastro (3.6) cmv 15/6/04

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/XephemAstroLib/vsop87.c

    r1719 r2551  
    3535
    3636#include <math.h>
    37 #include "P_.h"
     37
    3838#include "astro.h"
    3939#include "vsop87.h"
     
    5151 *    Input :
    5252 *
    53  *    mjd      modified julian date, counted from J1900.0
     53 *    mj       modified julian date, counted from J1900.0
    5454 *             time scale : dynamical time TDB.
    5555 *
     
    9898 ******************************************************************/
    9999int
    100 vsop87 (mjd, obj, prec, ret)
    101 double mjd;
    102 int obj;
    103 double prec;
    104 double *ret;
     100vsop87 (double mj, int obj, double prec, double *ret)
    105101{
    106102    static double (*vx_map[])[3] = {            /* data tables */
     
    134130    /* time and its powers */
    135131    t[0] = 1.0;
    136     t[1] = (mjd - J2000)/VSOP_A1000;
     132    t[1] = (mj - J2000)/VSOP_A1000;
    137133    for (i = 2; i <= VSOP_MAXALPHA; ++i) t[i] = t[i-1] * t[1];
    138134    t_abs[0] = 1.0;
     
    211207
    212208/* For RCS Only -- Do Not Edit */
    213 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: vsop87.c,v $ $Date: 2001-10-22 12:08:28 $ $Revision: 1.3 $ $Name: not supported by cvs2svn $"};
     209static 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.