FACT++  1.0
void palRefco ( double  hm,
double  tdk,
double  pmb,
double  rh,
double  wl,
double  phi,
double  tlr,
double  eps,
double *  refa,
double *  refb 
)

Definition at line 102 of file palRefco.c.

References palRefro().

Referenced by palAoppa(), and t_ref().

104  {
105 
106  double r1, r2;
107 
108  /* Sample zenith distances: arctan(1) and arctan(4) */
109  const double ATN1 = 0.7853981633974483;
110  const double ATN4 = 1.325817663668033;
111 
112  /* Determine refraction for the two sample zenith distances */
113  palRefro(ATN1,hm,tdk,pmb,rh,wl,phi,tlr,eps,&r1);
114  palRefro(ATN4,hm,tdk,pmb,rh,wl,phi,tlr,eps,&r2);
115 
116  /* Solve for refraction constants */
117  *refa = (64.0*r1-r2)/60.0;
118  *refb = (r2-4.0*r1)/60.0;
119 
120 }
void palRefro(double zobs, double hm, double tdk, double pmb, double rh, double wl, double phi, double tlr, double eps, double *ref)
Definition: palRefro.c:185

+ Here is the call graph for this function:

+ Here is the caller graph for this function: