Prototypes | |
bool | approximatelyEqual (REAL8 a, REAL8 b, REAL8 epsilon) |
void | print_difference (const char *name, REAL8 u, REAL8 u_expected) |
static void | Test_fGWinKerr (void) |
static void | Test_rKerrISCO (void) |
static void | Test_xi_tide (void) |
static void | Test_compactness_from_lambda (void) |
static void | Test_torus_mass_fit (void) |
int | main (int argc, char *argv[]) |
Go to the source code of this file.
Macros | |
#define | MYUNUSED(expr) do { (void)(expr); } while (0) |
#define | COUNT_FGWINKERR 9 |
#define | TOLERANCE_FGWINKERR 1e-8 |
#define | COUNT_RKERRISCO 7 |
#define | TOLERANCE_RKERRISCO 1e-8 |
#define | COUNT_XI_TIDE 36 |
#define | TOLERANCE_XI_TIDE 1e-8 |
#define | COUNT_COMPACTNESS_FROM_LAMBDA 21 |
#define | TOLERANCE_COMPACTNESS_FROM_LAMBDA 1e-8 |
#define | COUNT_TORUS_MASS_FIT 36 |
#define | TOLERANCE_TORUS_MASS_FIT 1e-8 |
Variables | |
double | input_fGWinKerr [COUNT_FGWINKERR][3] |
double | expected_fGWinKerr [COUNT_FGWINKERR] |
double | input_rKerrISCO [COUNT_RKERRISCO][1] |
double | expected_rKerrISCO [COUNT_RKERRISCO] |
double | input_xi_tide [COUNT_XI_TIDE][3] |
double | expected_xi_tide [COUNT_XI_TIDE] |
double | input_compactness_from_lambda [COUNT_COMPACTNESS_FROM_LAMBDA][1] |
double | expected_compactness_from_lambda [COUNT_COMPACTNESS_FROM_LAMBDA] |
double | input_torus_mass_fit [COUNT_TORUS_MASS_FIT][3] |
double | expected_torus_mass_fit [COUNT_TORUS_MASS_FIT] |
#define MYUNUSED | ( | expr | ) | do { (void)(expr); } while (0) |
Definition at line 42 of file NSBHPropertiesTest.c.
#define COUNT_FGWINKERR 9 |
Definition at line 59 of file NSBHPropertiesTest.c.
#define TOLERANCE_FGWINKERR 1e-8 |
Definition at line 60 of file NSBHPropertiesTest.c.
#define COUNT_RKERRISCO 7 |
Definition at line 84 of file NSBHPropertiesTest.c.
#define TOLERANCE_RKERRISCO 1e-8 |
Definition at line 85 of file NSBHPropertiesTest.c.
#define COUNT_XI_TIDE 36 |
Definition at line 102 of file NSBHPropertiesTest.c.
#define TOLERANCE_XI_TIDE 1e-8 |
Definition at line 103 of file NSBHPropertiesTest.c.
#define COUNT_COMPACTNESS_FROM_LAMBDA 21 |
Definition at line 136 of file NSBHPropertiesTest.c.
#define TOLERANCE_COMPACTNESS_FROM_LAMBDA 1e-8 |
Definition at line 137 of file NSBHPropertiesTest.c.
#define COUNT_TORUS_MASS_FIT 36 |
Definition at line 161 of file NSBHPropertiesTest.c.
#define TOLERANCE_TORUS_MASS_FIT 1e-8 |
Definition at line 162 of file NSBHPropertiesTest.c.
Definition at line 45 of file NSBHPropertiesTest.c.
Definition at line 55 of file NSBHPropertiesTest.c.
|
static |
Definition at line 72 of file NSBHPropertiesTest.c.
|
static |
Definition at line 92 of file NSBHPropertiesTest.c.
|
static |
Definition at line 124 of file NSBHPropertiesTest.c.
|
static |
Definition at line 151 of file NSBHPropertiesTest.c.
|
static |
Definition at line 180 of file NSBHPropertiesTest.c.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 192 of file NSBHPropertiesTest.c.
double input_fGWinKerr[COUNT_FGWINKERR][3] |
Definition at line 61 of file NSBHPropertiesTest.c.
double expected_fGWinKerr[COUNT_FGWINKERR] |
Definition at line 67 of file NSBHPropertiesTest.c.
double input_rKerrISCO[COUNT_RKERRISCO][1] |
Definition at line 86 of file NSBHPropertiesTest.c.
double expected_rKerrISCO[COUNT_RKERRISCO] |
Definition at line 88 of file NSBHPropertiesTest.c.
double input_xi_tide[COUNT_XI_TIDE][3] |
Definition at line 104 of file NSBHPropertiesTest.c.
double expected_xi_tide[COUNT_XI_TIDE] |
Definition at line 113 of file NSBHPropertiesTest.c.
double input_compactness_from_lambda[COUNT_COMPACTNESS_FROM_LAMBDA][1] |
Definition at line 138 of file NSBHPropertiesTest.c.
double expected_compactness_from_lambda[COUNT_COMPACTNESS_FROM_LAMBDA] |
Definition at line 142 of file NSBHPropertiesTest.c.
double input_torus_mass_fit[COUNT_TORUS_MASS_FIT][3] |
Definition at line 163 of file NSBHPropertiesTest.c.
double expected_torus_mass_fit[COUNT_TORUS_MASS_FIT] |
Definition at line 172 of file NSBHPropertiesTest.c.