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

Definition at line 4566 of file t_erfa_c.c.

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

Referenced by main().

4581 {
4582  int n;
4583  eraLDBODY b[3];
4584  double ob[3], sc[3], sn[3];
4585 
4586 
4587  n = 3;
4588  b[0].bm = 0.00028574;
4589  b[0].dl = 3e-10;
4590  b[0].pv[0][0] = -7.81014427;
4591  b[0].pv[0][1] = -5.60956681;
4592  b[0].pv[0][2] = -1.98079819;
4593  b[0].pv[1][0] = 0.0030723249;
4594  b[0].pv[1][1] = -0.00406995477;
4595  b[0].pv[1][2] = -0.00181335842;
4596  b[1].bm = 0.00095435;
4597  b[1].dl = 3e-9;
4598  b[1].pv[0][0] = 0.738098796;
4599  b[1].pv[0][1] = 4.63658692;
4600  b[1].pv[0][2] = 1.9693136;
4601  b[1].pv[1][0] = -0.00755816922;
4602  b[1].pv[1][1] = 0.00126913722;
4603  b[1].pv[1][2] = 0.000727999001;
4604  b[2].bm = 1.0;
4605  b[2].dl = 6e-6;
4606  b[2].pv[0][0] = -0.000712174377;
4607  b[2].pv[0][1] = -0.00230478303;
4608  b[2].pv[0][2] = -0.00105865966;
4609  b[2].pv[1][0] = 6.29235213e-6;
4610  b[2].pv[1][1] = -3.30888387e-7;
4611  b[2].pv[1][2] = -2.96486623e-7;
4612  ob[0] = -0.974170437;
4613  ob[1] = -0.2115201;
4614  ob[2] = -0.0917583114;
4615  sc[0] = -0.763276255;
4616  sc[1] = -0.608633767;
4617  sc[2] = -0.216735543;
4618 
4619  eraLdn(n, b, ob, sc, sn);
4620 
4621  vvd(sn[0], -0.7632762579693333866, 1e-12,
4622  "eraLdn", "1", status);
4623  vvd(sn[1], -0.6086337636093002660, 1e-12,
4624  "eraLdn", "2", status);
4625  vvd(sn[2], -0.2167355420646328159, 1e-12,
4626  "eraLdn", "3", status);
4627 
4628 }
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
double bm
Definition: erfam.h:39
double dl
Definition: erfam.h:40
void eraLdn(int n, eraLDBODY b[], double ob[3], double sc[3], double sn[3])
Definition: ldn.c:3

+ Here is the call graph for this function:

+ Here is the caller graph for this function: