Changeset 2551 in Sophya for trunk/SophyaExt/XephemAstroLib/refract.c
- Timestamp:
- Jun 15, 2004, 6:54:12 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/XephemAstroLib/refract.c
r1895 r2551 2 2 #include <math.h> 3 3 4 #include "P_.h"5 4 #include "astro.h" 6 5 7 static void unrefractLT15 P_((double pr, double tr, double aa, double *ta));8 static void unrefractGE15 P_((double pr, double tr, double aa, double *ta));6 static void unrefractLT15 (double pr, double tr, double aa, double *ta); 7 static void unrefractGE15 (double pr, double tr, double aa, double *ta); 9 8 10 9 void 11 unrefract (pr, tr, aa, ta) 12 double pr, tr; 13 double aa; 14 double *ta; 10 unrefract (double pr, double tr, double aa, double *ta) 15 11 { 16 12 #define LTLIM 14.5 … … 35 31 36 32 static void 37 unrefractGE15 (pr, tr, aa, ta) 38 double pr, tr; 39 double aa; 40 double *ta; 33 unrefractGE15 (double pr, double tr, double aa, double *ta) 41 34 { 42 35 double r; … … 47 40 48 41 static void 49 unrefractLT15 (pr, tr, aa, ta) 50 double pr, tr; 51 double aa; 52 double *ta; 42 unrefractLT15 (double pr, double tr, double aa, double *ta) 53 43 { 54 44 double aadeg = raddeg(aa); … … 67 57 */ 68 58 void 69 refract (pr, tr, ta, aa) 70 double pr, tr; 71 double ta; 72 double *aa; 59 refract (double pr, double tr, double ta, double *aa) 73 60 { 74 61 #define MAXRERR degrad(0.1/3600.) /* desired accuracy, rads */ … … 102 89 103 90 /* For RCS Only -- Do Not Edit */ 104 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: refract.c,v $ $Date: 200 2-02-07 09:27:06 $ $Revision: 1.3$ $Name: not supported by cvs2svn $"};91 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: refract.c,v $ $Date: 2004-06-15 16:52:40 $ $Revision: 1.4 $ $Name: not supported by cvs2svn $"};
Note:
See TracChangeset
for help on using the changeset viewer.