Changeset 2641 in Sophya for trunk/SophyaExt/XephemAstroLib/circum.c
- Timestamp:
- Dec 3, 2004, 11:39:58 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/XephemAstroLib/circum.c
r2551 r2641 808 808 elongation(lpd, psi, lsn-PI, &el); 809 809 el = fabs(el); 810 /* only continue if object is within about 10 deg around the sun 811 * and not obscured by the sun's disc (radius 0.25 deg) 810 /* only continue if object is within about 10 deg around the sun, 811 * not obscured by the sun's disc (radius 0.25 deg) and farther away 812 * than the sun. 812 813 * 813 814 * precise geocentric deflection is: g1 * tan(el/2) … … 818 819 * g2 varies from 0 (highest contribution) to 2 819 820 */ 820 if (el<degrad(170) || el>degrad(179.75) ) return;821 if (el<degrad(170) || el>degrad(179.75) || rho<rsn) return; 821 822 822 823 /* get cartesian vectors */ … … 860 861 861 862 /* For RCS Only -- Do Not Edit */ 862 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: circum.c,v $ $Date: 2004- 06-15 16:52:37 $ $Revision: 1.3$ $Name: not supported by cvs2svn $"};863 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: circum.c,v $ $Date: 2004-12-03 10:39:58 $ $Revision: 1.4 $ $Name: not supported by cvs2svn $"};
Note:
See TracChangeset
for help on using the changeset viewer.