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

Definition at line 7054 of file t_erfa_c.c.

References eraPvtob(), and vvd().

Referenced by main().

7069 {
7070  double elong, phi, hm, xp, yp, sp, theta, pv[2][3];
7071 
7072 
7073  elong = 2.0;
7074  phi = 0.5;
7075  hm = 3000.0;
7076  xp = 1e-6;
7077  yp = -0.5e-6;
7078  sp = 1e-8;
7079  theta = 5.0;
7080 
7081  eraPvtob(elong, phi, hm, xp, yp, sp, theta, pv);
7082 
7083  vvd(pv[0][0], 4225081.367071159207, 1e-5,
7084  "eraPvtob", "p(1)", status);
7085  vvd(pv[0][1], 3681943.215856198144, 1e-5,
7086  "eraPvtob", "p(2)", status);
7087  vvd(pv[0][2], 3041149.399241260785, 1e-5,
7088  "eraPvtob", "p(3)", status);
7089  vvd(pv[1][0], -268.4915389365998787, 1e-9,
7090  "eraPvtob", "v(1)", status);
7091  vvd(pv[1][1], 308.0977983288903123, 1e-9,
7092  "eraPvtob", "v(2)", status);
7093  vvd(pv[1][2], 0, 0,
7094  "eraPvtob", "v(3)", status);
7095 
7096 }
void eraPvtob(double elong, double phi, double height, double xp, double yp, double sp, double theta, double pv[2][3])
Definition: pvtob.c:3
static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status)
Definition: t_erfa_c.c:58

+ Here is the call graph for this function:

+ Here is the caller graph for this function: