FACT++  1.0
static void t_geoc ( int *  status)
static

Definition at line 760 of file palTest.c.

References lat, PAL__DD2R, palGeoc(), and vvd().

Referenced by main().

760  {
761  double r;
762  double z;
763  /* JCMT */
764  const double lat = 19.822838905884 * PAL__DD2R;
765  const double alt = 4120.0;
766  palGeoc( lat, alt, &r, &z );
767 
768  /* Note the lower tolerance than normal since the models in SLA
769  differ from the more up to date model in SOFA/ERFA */
770  vvd( r, 4.01502667039618e-05, 1e-10, "palGeoc", "R", status );
771  vvd( z, 1.43762411970295e-05, 1e-10, "palGeoc", "Z", status );
772 
773 }
static const double PAL__DD2R
Definition: palmac.h:72
float lat
Definition: HeadersGPS.h:23
static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status)
Definition: palTest.c:99
void palGeoc(double p, double h, double *r, double *z)
Definition: palGeoc.c:75

+ Here is the call graph for this function:

+ Here is the caller graph for this function: