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

Definition at line 1559 of file t_erfa_c.c.

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

Referenced by main().

1574 {
1575  double utc1, utc2, dut1,
1576  elong, phi, hm, xp, yp, phpa, tc, rh, wl,
1577  ob1, ob2, rc, dc;
1578  int j;
1579 
1580 
1581  utc1 = 2456384.5;
1582  utc2 = 0.969254051;
1583  dut1 = 0.1550675;
1584  elong = -0.527800806;
1585  phi = -1.2345856;
1586  hm = 2738.0;
1587  xp = 2.47230737e-7;
1588  yp = 1.82640464e-6;
1589  phpa = 731.0;
1590  tc = 12.8;
1591  rh = 0.59;
1592  wl = 0.55;
1593 
1594  ob1 = 2.710085107986886201;
1595  ob2 = 0.1717653435758265198;
1596  j = eraAtoc13 ( "R", ob1, ob2, utc1, utc2, dut1,
1597  elong, phi, hm, xp, yp, phpa, tc, rh, wl,
1598  &rc, &dc);
1599  vvd(rc, 2.709956744661000609, 1e-12, "eraAtoc13", "R/rc", status);
1600  vvd(dc, 0.1741696500895398562, 1e-12, "eraAtoc13", "R/dc", status);
1601  viv(j, 0, "eraAtoc13", "R/j", status);
1602 
1603  ob1 = -0.09247619879782006106;
1604  ob2 = 0.1717653435758265198;
1605  j = eraAtoc13 ( "H", ob1, ob2, utc1, utc2, dut1,
1606  elong, phi, hm, xp, yp, phpa, tc, rh, wl,
1607  &rc, &dc);
1608  vvd(rc, 2.709956744661000609, 1e-12, "eraAtoc13", "H/rc", status);
1609  vvd(dc, 0.1741696500895398562, 1e-12, "eraAtoc13", "H/dc", status);
1610  viv(j, 0, "eraAtoc13", "H/j", status);
1611 
1612  ob1 = 0.09233952224794989993;
1613  ob2 = 1.407758704513722461;
1614  j = eraAtoc13 ( "A", ob1, ob2, utc1, utc2, dut1,
1615  elong, phi, hm, xp, yp, phpa, tc, rh, wl,
1616  &rc, &dc);
1617  vvd(rc, 2.709956744661000609, 1e-12, "eraAtoc13", "A/rc", status);
1618  vvd(dc, 0.1741696500895398565, 1e-12, "eraAtoc13", "A/dc", status);
1619  viv(j, 0, "eraAtoc13", "A/j", status);
1620 
1621 }
static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status)
Definition: t_erfa_c.c:58
int eraAtoc13(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 *rc, double *dc)
Definition: atoc13.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: