Changeset 2551 in Sophya for trunk/SophyaExt/XephemAstroLib/libration.c
- Timestamp:
- Jun 15, 2004, 6:54:12 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/XephemAstroLib/libration.c
r1719 r2551 35 35 #include <math.h> 36 36 37 #include "P_.h"38 37 #include "astro.h" 39 38 … … 71 70 answer in arc seconds. */ 72 71 static double 73 mods3600 (x) 74 double x; 72 mods3600 (double x) 75 73 { 76 74 double y; … … 85 83 n is the highest harmonic to compute. */ 86 84 static int 87 sscc (k, arg, n) 88 int k; 89 double arg; 90 int n; 85 sscc (int k, double arg, int n) 91 86 { 92 87 double cu, su, cv, sv, s; … … 123 118 124 119 static int 125 dargs (J, plan) 126 double J; 127 struct plantbl *plan; 120 dargs (double J, struct plantbl *plan) 128 121 { 129 122 double T2, w; … … 229 222 230 223 static double 231 gplan (J, plan) 232 double J; 233 struct plantbl *plan; 224 gplan (double J, struct plantbl *plan) 234 225 { 235 226 double su, cu, sv, cv; … … 2213 2204 */ 2214 2205 void 2215 llibration (JD, llatp, llonp) 2216 double JD; 2217 double *llatp; 2218 double *llonp; 2206 llibration (double JD, double *llatp, double *llonp) 2219 2207 { 2220 double l on, lat; /* arc seconds */2208 double lg, lt; /* arc seconds */ 2221 2209 2222 l on= gplan (JD, &liblon);2223 l at = gplan (JD, &liblat);2224 2225 *llonp = degrad (l on/3600.0);2226 *llatp = degrad (l at/3600.0);2210 lg = gplan (JD, &liblon); 2211 lt = gplan (JD, &liblat); 2212 2213 *llonp = degrad (lg/3600.0); 2214 *llatp = degrad (lt/3600.0); 2227 2215 } 2228 2216 2229 2217 /* For RCS Only -- Do Not Edit */ 2230 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: libration.c,v $ $Date: 200 1-10-22 12:08:27 $ $Revision: 1.2$ $Name: not supported by cvs2svn $"};2218 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: libration.c,v $ $Date: 2004-06-15 16:52:39 $ $Revision: 1.3 $ $Name: not supported by cvs2svn $"};
Note:
See TracChangeset
for help on using the changeset viewer.