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

Definition at line 1779 of file palTest.c.

References palEpj(), palPm(), and vvd().

Referenced by main().

1779  {
1780  double ra2, dec2;
1781  double ra1, dec1, pmr1, pmd1, px1, rv1;
1782 
1783  ra1 = 5.43;
1784  dec1 = -0.87;
1785  pmr1 = -0.33e-5;
1786  pmd1 = 0.77e-5;
1787  px1 = 0.7;
1788  rv1 = 50.3*365.2422/365.25;
1789 
1790  palPm ( ra1, dec1, pmr1, pmd1, px1, rv1,
1791  1899, 1943,
1792  &ra2, &dec2 );
1793  vvd ( ra2, 5.429855087793875, 1e-10, "palPm",
1794  "R", status );
1795  vvd ( dec2, -0.8696617307805072, 1e-10, "palPm",
1796  "D", status );
1797 
1798  /* SOFA/ERFA test */
1799  ra1 = 0.01686756;
1800  dec1 = -1.093989828;
1801  pmr1 = -1.78323516e-5;
1802  pmd1 = 2.336024047e-6;
1803  px1 = 0.74723;
1804  rv1 = -21.6;
1805 
1806  palPm(ra1, dec1, pmr1, pmd1, px1, rv1,
1807  palEpj(50083.0), palEpj(53736.0),
1808  &ra2, &dec2);
1809  vvd(ra2, 0.01668919069414242368, 1e-13,
1810  "palPm", "ra", status);
1811  vvd(dec2, -1.093966454217127879, 1e-13,
1812  "palPm", "dec", status);
1813 
1814 
1815 }
double palEpj(double date)
Definition: palOne2One.c:1169
void palPm(double r0, double d0, double pr, double pd, double px, double rv, double ep0, double ep1, double *r1, double *d1)
Definition: palPm.c:90
static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status)
Definition: palTest.c:99

+ Here is the call graph for this function:

+ Here is the caller graph for this function: