gust86.c   gust86.c 
skipping to change at line 440 skipping to change at line 440
static double t_2 = -1e100; static double t_2 = -1e100;
static double gust86_elem_0[GUST86_DIM]; static double gust86_elem_0[GUST86_DIM];
static double gust86_elem_1[GUST86_DIM]; static double gust86_elem_1[GUST86_DIM];
static double gust86_elem_2[GUST86_DIM]; static double gust86_elem_2[GUST86_DIM];
/* 1 day: */ /* 1 day: */
#define DELTA_T 1.0 #define DELTA_T 1.0
static double gust86_jd0 = -1e100; static double gust86_jd0 = -1e100;
static double gust86_elem[GUST86_DIM]; static double gust86_elem[GUST86_DIM];
void GetGust86Coor(double jd,int body,double *xyz) { void GetGust86Coor(const double jd,const int body,double *xyz) {
GetGust86OsculatingCoor(jd,jd,body,xyz); GetGust86OsculatingCoor(jd,jd,body,xyz);
} }
void GetGust86OsculatingCoor(const double jd0,const double jd, void GetGust86OsculatingCoor(const double jd0,const double jd,
const int body,double *xyz) { const int body,double *xyz) {
double x[3]; double x[3];
if (jd0 != gust86_jd0) { if (jd0 != gust86_jd0) {
const double t0 = jd0 - 2444239.5; const double t0 = jd0 - 2444239.5;
gust86_jd0 = jd0; gust86_jd0 = jd0;
CalcInterpolatedElements(t0,gust86_elem, CalcInterpolatedElements(t0,gust86_elem,
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/