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

Definition at line 1178 of file palTest.c.

References palEpv(), palEvp(), and vvec().

Referenced by main().

1178  {
1179  double dvb[3],dpb[3],dvh[3],dph[3];
1180  double vbex[3] = { 1.6957348127008098514e-07,
1181  -9.1093446116039685966e-08,
1182  -3.9528532243991863036e-08 };
1183  double pbex[3] = {-0.49771075259730546136,
1184  -0.80273812396332311359,
1185  -0.34851593942866060383 };
1186  double vhex[3] = { 1.6964379181455713805e-07,
1187  -9.1147224045727438391e-08,
1188  -3.9553158272334222497e-08 };
1189  double phex[3] = { -0.50169124421419830639,
1190  -0.80650980174901798492,
1191  -0.34997162028527262212 };
1192 
1193  double vbex2[3] = {
1194  -0.0109187426811683,
1195  -0.0124652546173285,
1196  -0.0054047731809662
1197  };
1198  double pbex2[3] = {
1199  -0.7714104440491060,
1200  +0.5598412061824225,
1201  +0.2425996277722475
1202  };
1203  double vhex2[3] = {
1204  -0.0109189182414732,
1205  -0.0124718726844084,
1206  -0.0054075694180650
1207  };
1208  double phex2[3] = {
1209  -0.7757238809297653,
1210  +0.5598052241363390,
1211  +0.2426998466481708
1212  };
1213 
1214  palEvp( 2010.0, 2012.0, dvb, dpb, dvh, dph );
1215 
1216  vvec( 3, dvb, vbex, "palEvp", status );
1217  vvec( 3, dpb, pbex, "palEvp", status );
1218  vvec( 3, dvh, vhex, "palEvp", status );
1219  vvec( 3, dph, phex, "palEvp", status );
1220 
1221  palEpv ( 53411.52501161, dph, dvh, dpb, dvb );
1222 
1223  vvec( 3, dvb, vbex2, "palEpv", status );
1224  vvec( 3, dpb, pbex2, "palEpv", status );
1225  vvec( 3, dvh, vhex2, "palEpv", status );
1226  vvec( 3, dph, phex2, "palEpv", status );
1227 
1228 }
void palEvp(double date, double deqx, double dvb[3], double dpb[3], double dvh[3], double dph[3])
Definition: palEvp.c:81
void palEpv(double date, double ph[3], double vh[3], double pb[3], double vb[3])
Definition: palEpv.c:79
static void vvec(int len, double *vec, double *expected, const char *func, int *status)
Definition: palTest.c:173

+ Here is the call graph for this function:

+ Here is the caller graph for this function: