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

Definition at line 5338 of file t_erfa_c.c.

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

Referenced by main().

5353 {
5354  double pv[2][3];
5355  int j;
5356 
5357 
5358  j = eraPlan94(2400000.5, 1e6, 0, pv);
5359 
5360  vvd(pv[0][0], 0.0, 0.0, "eraPlan94", "x 1", status);
5361  vvd(pv[0][1], 0.0, 0.0, "eraPlan94", "y 1", status);
5362  vvd(pv[0][2], 0.0, 0.0, "eraPlan94", "z 1", status);
5363 
5364  vvd(pv[1][0], 0.0, 0.0, "eraPlan94", "xd 1", status);
5365  vvd(pv[1][1], 0.0, 0.0, "eraPlan94", "yd 1", status);
5366  vvd(pv[1][2], 0.0, 0.0, "eraPlan94", "zd 1", status);
5367 
5368  viv(j, -1, "eraPlan94", "j 1", status);
5369 
5370  j = eraPlan94(2400000.5, 1e6, 10, pv);
5371 
5372  viv(j, -1, "eraPlan94", "j 2", status);
5373 
5374  j = eraPlan94(2400000.5, -320000, 3, pv);
5375 
5376  vvd(pv[0][0], 0.9308038666832975759, 1e-11,
5377  "eraPlan94", "x 3", status);
5378  vvd(pv[0][1], 0.3258319040261346000, 1e-11,
5379  "eraPlan94", "y 3", status);
5380  vvd(pv[0][2], 0.1422794544481140560, 1e-11,
5381  "eraPlan94", "z 3", status);
5382 
5383  vvd(pv[1][0], -0.6429458958255170006e-2, 1e-11,
5384  "eraPlan94", "xd 3", status);
5385  vvd(pv[1][1], 0.1468570657704237764e-1, 1e-11,
5386  "eraPlan94", "yd 3", status);
5387  vvd(pv[1][2], 0.6406996426270981189e-2, 1e-11,
5388  "eraPlan94", "zd 3", status);
5389 
5390  viv(j, 1, "eraPlan94", "j 3", status);
5391 
5392  j = eraPlan94(2400000.5, 43999.9, 1, pv);
5393 
5394  vvd(pv[0][0], 0.2945293959257430832, 1e-11,
5395  "eraPlan94", "x 4", status);
5396  vvd(pv[0][1], -0.2452204176601049596, 1e-11,
5397  "eraPlan94", "y 4", status);
5398  vvd(pv[0][2], -0.1615427700571978153, 1e-11,
5399  "eraPlan94", "z 4", status);
5400 
5401  vvd(pv[1][0], 0.1413867871404614441e-1, 1e-11,
5402  "eraPlan94", "xd 4", status);
5403  vvd(pv[1][1], 0.1946548301104706582e-1, 1e-11,
5404  "eraPlan94", "yd 4", status);
5405  vvd(pv[1][2], 0.8929809783898904786e-2, 1e-11,
5406  "eraPlan94", "zd 4", status);
5407 
5408  viv(j, 0, "eraPlan94", "j 4", status);
5409 
5410 }
static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status)
Definition: t_erfa_c.c:58
int eraPlan94(double date1, double date2, int np, double pv[2][3])
Definition: plan94.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: