LALSimulation  5.4.0.1-fe68b98
PNCoefficients.c File Reference

Prototypes

static int compare_value (REAL8 val1, REAL8 val2)
 
static int compare (REAL8 val1, REAL8 val2, int v_order, int log_order)
 
static int compare_pnseries (PNPhasingSeries *s1, PNPhasingSeries *s2)
 
static REAL8 pfac (int n)
 
static REAL8 logpfac (int n)
 
static int compare_phasing_to_dtdv (PNPhasingSeries *phasing, PNPhasingSeries *dtdv)
 
static REAL8 sum (REAL8 *arr1, REAL8 *arr2, int k)
 
static REAL8 sumE (REAL8 *ene, REAL8 *wdot, int k)
 
static void dtdv_from_energy_flux (PNPhasingSeries *dtdv, const REAL8 m1M, const REAL8 chi1, const REAL8 chi2, const REAL8 qm_def1, const REAL8 qm_def2)
 
static void dtdv_from_pncoefficients (PNPhasingSeries *dtdv, const REAL8 m1M, const REAL8 chi1, const REAL8 chi2, const REAL8 qm_def1, const REAL8 qm_def2)
 
static int test_average (const REAL8 m1M)
 
static int test_consistency (const REAL8 m1M, const REAL8 chi1, const REAL8 chi2, const REAL8 qm_def1, const REAL8 qm_def2)
 
static void T4wdot_from_energy_flux (PNPhasingSeries *wdot, const REAL8 m1M, const REAL8 chi1, const REAL8 chi2, const REAL8 qm_def1, const REAL8 qm_def2)
 
static void T4wdot_from_pncoefficients (PNPhasingSeries *wdot, const REAL8 m1M, const REAL8 chi1, const REAL8 chi2, const REAL8 qm_def1, const REAL8 qm_def2)
 
static int test_consistency_T4 (const REAL8 m1M, const REAL8 chi1, const REAL8 chi2, const REAL8 qm_def1, const REAL8 qm_def2)
 
static int test_tidal_F2 (const REAL8 m2M)
 
static int test_tidal_T4 (const REAL8 m2M)
 
static int test_tidal_T2 (const REAL8 m2M)
 
static void dL_from_pncoefficients (PNPhasingSeries *dL1, PNPhasingSeries *dL2, const REAL8 m1M)
 
static void dL_from_dSpncoefficients (PNPhasingSeries *dL1, PNPhasingSeries *dL2, const REAL8 m1M)
 
static int test_consistency_dL (const REAL8 m1M)
 
int main (int argc, char **argv)
 

Go to the source code of this file.

Macros

#define EPSILON   1.e-11
 

Macro Definition Documentation

◆ EPSILON

#define EPSILON   1.e-11

Definition at line 28 of file PNCoefficients.c.

Function Documentation

◆ compare_value()

static int compare_value ( REAL8  val1,
REAL8  val2 
)
static

Definition at line 30 of file PNCoefficients.c.

◆ compare()

static int compare ( REAL8  val1,
REAL8  val2,
int  v_order,
int  log_order 
)
static

Definition at line 44 of file PNCoefficients.c.

◆ compare_pnseries()

static int compare_pnseries ( PNPhasingSeries s1,
PNPhasingSeries s2 
)
static

Definition at line 62 of file PNCoefficients.c.

◆ pfac()

static REAL8 pfac ( int  n)
static

Definition at line 88 of file PNCoefficients.c.

◆ logpfac()

static REAL8 logpfac ( int  n)
static

Definition at line 91 of file PNCoefficients.c.

◆ compare_phasing_to_dtdv()

static int compare_phasing_to_dtdv ( PNPhasingSeries phasing,
PNPhasingSeries dtdv 
)
static

Definition at line 97 of file PNCoefficients.c.

◆ sum()

static REAL8 sum ( REAL8 arr1,
REAL8 arr2,
int  k 
)
static

Definition at line 118 of file PNCoefficients.c.

◆ sumE()

static REAL8 sumE ( REAL8 ene,
REAL8 wdot,
int  k 
)
static

Definition at line 132 of file PNCoefficients.c.

◆ dtdv_from_energy_flux()

static void dtdv_from_energy_flux ( PNPhasingSeries dtdv,
const REAL8  m1M,
const REAL8  chi1,
const REAL8  chi2,
const REAL8  qm_def1,
const REAL8  qm_def2 
)
static

Definition at line 164 of file PNCoefficients.c.

◆ dtdv_from_pncoefficients()

static void dtdv_from_pncoefficients ( PNPhasingSeries dtdv,
const REAL8  m1M,
const REAL8  chi1,
const REAL8  chi2,
const REAL8  qm_def1,
const REAL8  qm_def2 
)
static

Definition at line 253 of file PNCoefficients.c.

◆ test_average()

static int test_average ( const REAL8  m1M)
static

Definition at line 297 of file PNCoefficients.c.

◆ test_consistency()

static int test_consistency ( const REAL8  m1M,
const REAL8  chi1,
const REAL8  chi2,
const REAL8  qm_def1,
const REAL8  qm_def2 
)
static

Definition at line 337 of file PNCoefficients.c.

◆ T4wdot_from_energy_flux()

static void T4wdot_from_energy_flux ( PNPhasingSeries wdot,
const REAL8  m1M,
const REAL8  chi1,
const REAL8  chi2,
const REAL8  qm_def1,
const REAL8  qm_def2 
)
static

Definition at line 409 of file PNCoefficients.c.

◆ T4wdot_from_pncoefficients()

static void T4wdot_from_pncoefficients ( PNPhasingSeries wdot,
const REAL8  m1M,
const REAL8  chi1,
const REAL8  chi2,
const REAL8  qm_def1,
const REAL8  qm_def2 
)
static

Definition at line 508 of file PNCoefficients.c.

◆ test_consistency_T4()

static int test_consistency_T4 ( const REAL8  m1M,
const REAL8  chi1,
const REAL8  chi2,
const REAL8  qm_def1,
const REAL8  qm_def2 
)
static

Definition at line 559 of file PNCoefficients.c.

◆ test_tidal_F2()

static int test_tidal_F2 ( const REAL8  m2M)
static

Definition at line 591 of file PNCoefficients.c.

◆ test_tidal_T4()

static int test_tidal_T4 ( const REAL8  m2M)
static

Definition at line 622 of file PNCoefficients.c.

◆ test_tidal_T2()

static int test_tidal_T2 ( const REAL8  m2M)
static

Definition at line 650 of file PNCoefficients.c.

◆ dL_from_pncoefficients()

static void dL_from_pncoefficients ( PNPhasingSeries dL1,
PNPhasingSeries dL2,
const REAL8  m1M 
)
static

Definition at line 681 of file PNCoefficients.c.

◆ dL_from_dSpncoefficients()

static void dL_from_dSpncoefficients ( PNPhasingSeries dL1,
PNPhasingSeries dL2,
const REAL8  m1M 
)
static

Definition at line 713 of file PNCoefficients.c.

◆ test_consistency_dL()

static int test_consistency_dL ( const REAL8  m1M)
static

Definition at line 743 of file PNCoefficients.c.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 771 of file PNCoefficients.c.