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

Definition at line 1189 of file t_erfa_c.c.

References eraLDBODY::bm, eraLDBODY::dl, eraApci13(), eraAtciqn(), eraLDBODY::pv, and vvd().

Referenced by main().

1204 {
1205  eraLDBODY b[3];
1206  double date1, date2, eo, rc, dc, pr, pd, px, rv, ri, di;
1207  eraASTROM astrom;
1208 
1209  date1 = 2456165.5;
1210  date2 = 0.401182685;
1211  eraApci13(date1, date2, &astrom, &eo);
1212  rc = 2.71;
1213  dc = 0.174;
1214  pr = 1e-5;
1215  pd = 5e-6;
1216  px = 0.1;
1217  rv = 55.0;
1218  b[0].bm = 0.00028574;
1219  b[0].dl = 3e-10;
1220  b[0].pv[0][0] = -7.81014427;
1221  b[0].pv[0][1] = -5.60956681;
1222  b[0].pv[0][2] = -1.98079819;
1223  b[0].pv[1][0] = 0.0030723249;
1224  b[0].pv[1][1] = -0.00406995477;
1225  b[0].pv[1][2] = -0.00181335842;
1226  b[1].bm = 0.00095435;
1227  b[1].dl = 3e-9;
1228  b[1].pv[0][0] = 0.738098796;
1229  b[1].pv[0][1] = 4.63658692;
1230  b[1].pv[0][2] = 1.9693136;
1231  b[1].pv[1][0] = -0.00755816922;
1232  b[1].pv[1][1] = 0.00126913722;
1233  b[1].pv[1][2] = 0.000727999001;
1234  b[2].bm = 1.0;
1235  b[2].dl = 6e-6;
1236  b[2].pv[0][0] = -0.000712174377;
1237  b[2].pv[0][1] = -0.00230478303;
1238  b[2].pv[0][2] = -0.00105865966;
1239  b[2].pv[1][0] = 6.29235213e-6;
1240  b[2].pv[1][1] = -3.30888387e-7;
1241  b[2].pv[1][2] = -2.96486623e-7;
1242 
1243  eraAtciqn ( rc, dc, pr, pd, px, rv, &astrom, 3, b, &ri, &di);
1244 
1245  vvd(ri, 2.710122008105325582, 1e-12, "eraAtciqn", "ri", status);
1246  vvd(di, 0.1729371916491459122, 1e-12, "eraAtciqn", "di", status);
1247 
1248 }
static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status)
Definition: t_erfa_c.c:58
double pv[2][3]
Definition: erfam.h:41
void eraAtciqn(double rc, double dc, double pr, double pd, double px, double rv, eraASTROM *astrom, int n, eraLDBODY b[], double *ri, double *di)
Definition: atciqn.c:3
void eraApci13(double date1, double date2, eraASTROM *astrom, double *eo)
Definition: apci13.c:3
double bm
Definition: erfam.h:39
double dl
Definition: erfam.h:40

+ Here is the call graph for this function:

+ Here is the caller graph for this function: