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

Definition at line 3108 of file t_erfa_c.c.

References eraEform(), ERFA_GRS80, ERFA_WGS72, ERFA_WGS84, viv(), and vvd().

Referenced by main().

3123 {
3124  int j;
3125  double a, f;
3126 
3127  j = eraEform(0, &a, &f);
3128 
3129  viv(j, -1, "eraEform", "j0", status);
3130 
3131  j = eraEform(ERFA_WGS84, &a, &f);
3132 
3133  viv(j, 0, "eraEform", "j1", status);
3134  vvd(a, 6378137.0, 1e-10, "eraEform", "a1", status);
3135  vvd(f, 0.0033528106647474807, 1e-18, "eraEform", "f1", status);
3136 
3137  j = eraEform(ERFA_GRS80, &a, &f);
3138 
3139  viv(j, 0, "eraEform", "j2", status);
3140  vvd(a, 6378137.0, 1e-10, "eraEform", "a2", status);
3141  vvd(f, 0.0033528106811823189, 1e-18, "eraEform", "f2", status);
3142 
3143  j = eraEform(ERFA_WGS72, &a, &f);
3144 
3145  viv(j, 0, "eraEform", "j2", status);
3146  vvd(a, 6378135.0, 1e-10, "eraEform", "a3", status);
3147  vvd(f, 0.0033527794541675049, 1e-18, "eraEform", "f3", status);
3148 
3149  j = eraEform(4, &a, &f);
3150  viv(j, -1, "eraEform", "j3", status);
3151 }
static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status)
Definition: t_erfa_c.c:58
#define ERFA_WGS84
Definition: erfam.h:140
#define ERFA_GRS80
Definition: erfam.h:141
#define ERFA_WGS72
Definition: erfam.h:142
static void viv(int ival, int ivalok, const char *func, const char *test, int *status)
Definition: t_erfa_c.c:24
int eraEform(int n, double *a, double *f)
Definition: eform.c:3

+ Here is the call graph for this function:

+ Here is the caller graph for this function: