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

Definition at line 1623 of file t_erfa_c.c.

References eraAtoi13(), viv(), and vvd().

Referenced by main().

1638 {
1639  double utc1, utc2, dut1, elong, phi, hm, xp, yp, phpa, tc, rh, wl,
1640  ob1, ob2, ri, di;
1641  int j;
1642 
1643 
1644  utc1 = 2456384.5;
1645  utc2 = 0.969254051;
1646  dut1 = 0.1550675;
1647  elong = -0.527800806;
1648  phi = -1.2345856;
1649  hm = 2738.0;
1650  xp = 2.47230737e-7;
1651  yp = 1.82640464e-6;
1652  phpa = 731.0;
1653  tc = 12.8;
1654  rh = 0.59;
1655  wl = 0.55;
1656 
1657  ob1 = 2.710085107986886201;
1658  ob2 = 0.1717653435758265198;
1659  j = eraAtoi13 ( "R", ob1, ob2, utc1, utc2, dut1,
1660  elong, phi, hm, xp, yp, phpa, tc, rh, wl,
1661  &ri, &di);
1662  vvd(ri, 2.710121574449135955, 1e-12, "eraAtoi13", "R/ri", status);
1663  vvd(di, 0.1729371839114567725, 1e-12, "eraAtoi13", "R/di", status);
1664  viv(j, 0, "eraAtoi13", "R/J", status);
1665 
1666  ob1 = -0.09247619879782006106;
1667  ob2 = 0.1717653435758265198;
1668  j = eraAtoi13 ( "H", ob1, ob2, utc1, utc2, dut1,
1669  elong, phi, hm, xp, yp, phpa, tc, rh, wl,
1670  &ri, &di);
1671  vvd(ri, 2.710121574449135955, 1e-12, "eraAtoi13", "H/ri", status);
1672  vvd(di, 0.1729371839114567725, 1e-12, "eraAtoi13", "H/di", status);
1673  viv(j, 0, "eraAtoi13", "H/J", status);
1674 
1675  ob1 = 0.09233952224794989993;
1676  ob2 = 1.407758704513722461;
1677  j = eraAtoi13 ( "A", ob1, ob2, utc1, utc2, dut1,
1678  elong, phi, hm, xp, yp, phpa, tc, rh, wl,
1679  &ri, &di);
1680  vvd(ri, 2.710121574449135955, 1e-12, "eraAtoi13", "A/ri", status);
1681  vvd(di, 0.1729371839114567728, 1e-12, "eraAtoi13", "A/di", status);
1682  viv(j, 0, "eraAtoi13", "A/J", status);
1683 
1684 }
static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status)
Definition: t_erfa_c.c:58
int eraAtoi13(const char *type, double ob1, double ob2, double utc1, double utc2, double dut1, double elong, double phi, double hm, double xp, double yp, double phpa, double tc, double rh, double wl, double *ri, double *di)
Definition: atoi13.c:3
static void viv(int ival, int ivalok, const char *func, const char *test, int *status)
Definition: t_erfa_c.c:24

+ Here is the call graph for this function:

+ Here is the caller graph for this function: