LALSimulation  5.4.0.1-89842e6
LALSimIMRTEOBResumSUtils.c File Reference

Prototypes

REAL8 q_to_nu (const REAL8 q)
 
REAL8 nu_to_X1 (const REAL8 nu)
 
REAL8 Eulerlog (const REAL8 x, const INT4 m)
 
void interp_spline (double *t, double *y, int n, double *ti, int ni, REAL8 *yi)
 
INT4 find_point_bisection (REAL8 x, INT4 n, REAL8 *xp, INT4 o)
 
REAL8 baryc_f (REAL8 xx, INT4 n, REAL8 *f, REAL8 *x)
 
void baryc_weights (INT4 n, REAL8 *x, REAL8 *omega)
 
REAL8 baryc_f_weights (REAL8 xx, INT4 n, REAL8 *f, REAL8 *x, REAL8 *omega)
 
REAL8 interp1d (const INT4 order, REAL8 xx, INT4 nx, REAL8 *f, REAL8 *x)
 
REAL8 find_max (const INT4 n, REAL8 dx, REAL8 x0, REAL8 *f, REAL8 *fmax)
 
INT4 XLALSetup_TEOB_mode_array (LALValue *ModeArray, INT4 modeType)
 Should not be needed in LAL (all parameters passed to interface function) More...
 
INT4 XLALCheck_TEOB_mode_array (LALValue *ModeArray, UINT4 use_tidal)
 
void XLALSimIMRComputePolarisations (REAL8Sequence *hplus_out, REAL8Sequence *hcross_out, SphHarmTimeSeries *hlm, LALValue *modeArray, REAL8 amplitude_prefactor, REAL8 theta, REAL8 phi)
 
void XLALSimIMRComputePolarisationsPolar (REAL8Sequence *hplus_out, REAL8Sequence *hcross_out, SphHarmPolarTimeSeries *hlm, LALValue *modeArray, REAL8 amplitude_prefactor, REAL8 theta, REAL8 phi)
 
INT4 D0 (REAL8 *f, REAL8 dx, INT4 n, REAL8 *df)
 XLALWignerdMatrix, XLALWignerDMatrix in <lal/SphericalHarmonics.h> More...
 
INT4 D2 (REAL8 *f, REAL8 dx, INT4 n, REAL8 *d2f)
 
REAL8 cumint3 (REAL8 *f, REAL8 *x, const INT4 n, REAL8 *sum)
 
void unwrap (REAL8 *p, const INT4 size)
 
void unwrap_proxy (REAL8 *p, REAL8 *r, const INT4 size, const INT4 shift0)
 
INT4 get_uniform_size (const REAL8 tN, const REAL8 t0, const REAL8 dt)
 
REAL8 get_mrg_timestep (REAL8 q, REAL8 chi1, REAL8 chi2)
 
void Waveform_lm_t_alloc (LALTEOBResumSWaveformModeSingleTime **wav)
 Replaced by LAL COMPLEX16TimeSeries functions. More...
 
void Waveform_lm_t_free (LALTEOBResumSWaveformModeSingleTime *wav)
 
void NQCdata_alloc (NQCdata **nqc)
 
void NQCdata_free (NQCdata *nqc)
 
void XLALTEOBDynamicsInit (LALTEOBResumSDynamics **dyn, INT4 size, const char *name)
 
void XLALTEOBDynamicsPush (LALTEOBResumSDynamics **dyn, INT4 size)
 
void XLALTEOBDynamicsInterp (LALTEOBResumSDynamics *dyn, const INT4 size, const REAL8 t0, const REAL8 dt, const char *name)
 
void XLALTEOBDynamicsExtract (LALTEOBResumSDynamics *dyna, const REAL8 to, const REAL8 tn, LALTEOBResumSDynamics **dynb, const char *name)
 
void XLALTEOBDynamicsJoin (LALTEOBResumSDynamics *dyna, LALTEOBResumSDynamics *dynb, REAL8 to)
 
void XLALFreeTEOBDynamics (LALTEOBResumSDynamics *dyn)
 
void XLALTEOBDynamicsSetParams (LALTEOBResumSDynamics *dyn, UNUSED LALValue **pModeArray, const REAL8 m1, const REAL8 m2, const REAL8 UNUSED S1x, const REAL8 UNUSED S1y, const REAL8 S1z, const REAL8 UNUSED S2x, const REAL8 UNUSED S2y, const REAL8 S2z, const REAL8 dt, const REAL8 lambda1, const REAL8 lambda2, const REAL8 lambda1oct, const REAL8 lambda2oct, const REAL8 lambda1hex, const REAL8 lambda2hex, LALDict *LALparams)
 
REAL8 time_units_factor (REAL8 M)
 
REAL8 time_units_conversion (REAL8 M, REAL8 t)
 
REAL8 radius0 (REAL8 M, REAL8 fHz)
 
void HealyBBHFitRemnant (REAL8 chi1, REAL8 chi2, REAL8 q, REAL8 *mass, REAL8 *spin)
 
REAL8 JimenezFortezaRemnantSpin (REAL8 nu, REAL8 X1, REAL8 X2, REAL8 chi1, REAL8 chi2)
 
REAL8 logQ (REAL8 x)
 
REAL8 Yagi13_fit_barlamdel (REAL8 barlam2, int ell)
 
REAL8 Yagi13_fit_barsigmalambda (REAL8 barlam2)
 
REAL8 Yagi14_fit_Coct (REAL8 C_Q)
 
REAL8 Yagi14_fit_Chex (REAL8 C_Q)
 
REAL8 JFAPG_fit_Sigma_Irrotational (REAL8 barlam2)
 
REAL8 JFAPG_fit_Sigma_Static (REAL8 barlam2)
 
void XLALSphHarmPolarJoin (SphHarmPolarTimeSeries *hlma, SphHarmPolarTimeSeries *hlmb, REAL8 to)
 

Go to the source code of this file.

Macros

#define tiny   1e-12
 

Variables

static const REAL8 Logm [] = {0.,Log1,Log2,Log3,Log4,Log5,Log6,Log7}
 

Macro Definition Documentation

◆ tiny

#define tiny   1e-12

Definition at line 113 of file LALSimIMRTEOBResumSUtils.c.

Function Documentation

◆ q_to_nu()

REAL8 q_to_nu ( const REAL8  q)

Definition at line 48 of file LALSimIMRTEOBResumSUtils.c.

◆ nu_to_X1()

REAL8 nu_to_X1 ( const REAL8  nu)

Definition at line 58 of file LALSimIMRTEOBResumSUtils.c.

◆ Eulerlog()

REAL8 Eulerlog ( const REAL8  x,
const INT4  m 
)

Definition at line 65 of file LALSimIMRTEOBResumSUtils.c.

◆ interp_spline()

void interp_spline ( double *  t,
double *  y,
int  n,
double *  ti,
int  ni,
REAL8 yi 
)

Definition at line 74 of file LALSimIMRTEOBResumSUtils.c.

◆ find_point_bisection()

INT4 find_point_bisection ( REAL8  x,
INT4  n,
REAL8 xp,
INT4  o 
)

Definition at line 93 of file LALSimIMRTEOBResumSUtils.c.

◆ baryc_f()

REAL8 baryc_f ( REAL8  xx,
INT4  n,
REAL8 f,
REAL8 x 
)

Definition at line 114 of file LALSimIMRTEOBResumSUtils.c.

◆ baryc_weights()

void baryc_weights ( INT4  n,
REAL8 x,
REAL8 omega 
)

Definition at line 145 of file LALSimIMRTEOBResumSUtils.c.

◆ baryc_f_weights()

REAL8 baryc_f_weights ( REAL8  xx,
INT4  n,
REAL8 f,
REAL8 x,
REAL8 omega 
)

Definition at line 165 of file LALSimIMRTEOBResumSUtils.c.

◆ interp1d()

REAL8 interp1d ( const INT4  order,
REAL8  xx,
INT4  nx,
REAL8 f,
REAL8 x 
)

Definition at line 182 of file LALSimIMRTEOBResumSUtils.c.

◆ find_max()

REAL8 find_max ( const INT4  n,
REAL8  dx,
REAL8  x0,
REAL8 f,
REAL8 fmax 
)

Definition at line 193 of file LALSimIMRTEOBResumSUtils.c.

◆ XLALSetup_TEOB_mode_array()

INT4 XLALSetup_TEOB_mode_array ( LALValue *  ModeArray,
INT4  modeType 
)

Should not be needed in LAL (all parameters passed to interface function)

  • Factorial *‍/* Wigner d-function *‍/* Spin-weighted spherical harmonic

Definition at line 296 of file LALSimIMRTEOBResumSUtils.c.

◆ XLALCheck_TEOB_mode_array()

INT4 XLALCheck_TEOB_mode_array ( LALValue *  ModeArray,
UINT4  use_tidal 
)

Definition at line 325 of file LALSimIMRTEOBResumSUtils.c.

◆ XLALSimIMRComputePolarisations()

void XLALSimIMRComputePolarisations ( REAL8Sequence hplus_out,
REAL8Sequence hcross_out,
SphHarmTimeSeries hlm,
LALValue *  modeArray,
REAL8  amplitude_prefactor,
REAL8  theta,
REAL8  phi 
)

Definition at line 365 of file LALSimIMRTEOBResumSUtils.c.

◆ XLALSimIMRComputePolarisationsPolar()

void XLALSimIMRComputePolarisationsPolar ( REAL8Sequence hplus_out,
REAL8Sequence hcross_out,
SphHarmPolarTimeSeries hlm,
LALValue *  modeArray,
REAL8  amplitude_prefactor,
REAL8  theta,
REAL8  phi 
)

Definition at line 418 of file LALSimIMRTEOBResumSUtils.c.

◆ D0()

INT4 D0 ( REAL8 f,
REAL8  dx,
INT4  n,
REAL8 df 
)

XLALWignerdMatrix, XLALWignerDMatrix in <lal/SphericalHarmonics.h>

Definition at line 473 of file LALSimIMRTEOBResumSUtils.c.

◆ D2()

INT4 D2 ( REAL8 f,
REAL8  dx,
INT4  n,
REAL8 d2f 
)

Definition at line 493 of file LALSimIMRTEOBResumSUtils.c.

◆ cumint3()

REAL8 cumint3 ( REAL8 f,
REAL8 x,
const INT4  n,
REAL8 sum 
)

Definition at line 513 of file LALSimIMRTEOBResumSUtils.c.

◆ unwrap()

void unwrap ( REAL8 p,
const INT4  size 
)

Definition at line 559 of file LALSimIMRTEOBResumSUtils.c.

◆ unwrap_proxy()

void unwrap_proxy ( REAL8 p,
REAL8 r,
const INT4  size,
const INT4  shift0 
)

Definition at line 587 of file LALSimIMRTEOBResumSUtils.c.

◆ get_uniform_size()

INT4 get_uniform_size ( const REAL8  tN,
const REAL8  t0,
const REAL8  dt 
)

Definition at line 624 of file LALSimIMRTEOBResumSUtils.c.

◆ get_mrg_timestep()

REAL8 get_mrg_timestep ( REAL8  q,
REAL8  chi1,
REAL8  chi2 
)

Definition at line 630 of file LALSimIMRTEOBResumSUtils.c.

◆ Waveform_lm_t_alloc()

void Waveform_lm_t_alloc ( LALTEOBResumSWaveformModeSingleTime **  wav)

Replaced by LAL COMPLEX16TimeSeries functions.

Definition at line 639 of file LALSimIMRTEOBResumSUtils.c.

◆ Waveform_lm_t_free()

void Waveform_lm_t_free ( LALTEOBResumSWaveformModeSingleTime wav)

Definition at line 648 of file LALSimIMRTEOBResumSUtils.c.

◆ NQCdata_alloc()

void NQCdata_alloc ( NQCdata **  nqc)

Definition at line 655 of file LALSimIMRTEOBResumSUtils.c.

◆ NQCdata_free()

void NQCdata_free ( NQCdata nqc)

Definition at line 665 of file LALSimIMRTEOBResumSUtils.c.

◆ XLALTEOBDynamicsInit()

void XLALTEOBDynamicsInit ( LALTEOBResumSDynamics **  dyn,
INT4  size,
const char name 
)

Definition at line 674 of file LALSimIMRTEOBResumSUtils.c.

◆ XLALTEOBDynamicsPush()

void XLALTEOBDynamicsPush ( LALTEOBResumSDynamics **  dyn,
INT4  size 
)

Definition at line 691 of file LALSimIMRTEOBResumSUtils.c.

◆ XLALTEOBDynamicsInterp()

void XLALTEOBDynamicsInterp ( LALTEOBResumSDynamics dyn,
const INT4  size,
const REAL8  t0,
const REAL8  dt,
const char name 
)

Definition at line 704 of file LALSimIMRTEOBResumSUtils.c.

◆ XLALTEOBDynamicsExtract()

void XLALTEOBDynamicsExtract ( LALTEOBResumSDynamics dyna,
const REAL8  to,
const REAL8  tn,
LALTEOBResumSDynamics **  dynb,
const char name 
)

Definition at line 743 of file LALSimIMRTEOBResumSUtils.c.

◆ XLALTEOBDynamicsJoin()

void XLALTEOBDynamicsJoin ( LALTEOBResumSDynamics dyna,
LALTEOBResumSDynamics dynb,
REAL8  to 
)

Definition at line 795 of file LALSimIMRTEOBResumSUtils.c.

◆ XLALFreeTEOBDynamics()

void XLALFreeTEOBDynamics ( LALTEOBResumSDynamics dyn)

Definition at line 836 of file LALSimIMRTEOBResumSUtils.c.

◆ XLALTEOBDynamicsSetParams()

void XLALTEOBDynamicsSetParams ( LALTEOBResumSDynamics dyn,
UNUSED LALValue **  pModeArray,
const REAL8  m1,
const REAL8  m2,
const REAL8 UNUSED  S1x,
const REAL8 UNUSED  S1y,
const REAL8  S1z,
const REAL8 UNUSED  S2x,
const REAL8 UNUSED  S2y,
const REAL8  S2z,
const REAL8  dt,
const REAL8  lambda1,
const REAL8  lambda2,
const REAL8  lambda1oct,
const REAL8  lambda2oct,
const REAL8  lambda1hex,
const REAL8  lambda2hex,
LALDict *  LALparams 
)

Definition at line 849 of file LALSimIMRTEOBResumSUtils.c.

◆ time_units_factor()

REAL8 time_units_factor ( REAL8  M)

Definition at line 1204 of file LALSimIMRTEOBResumSUtils.c.

◆ time_units_conversion()

REAL8 time_units_conversion ( REAL8  M,
REAL8  t 
)

Definition at line 1209 of file LALSimIMRTEOBResumSUtils.c.

◆ radius0()

REAL8 radius0 ( REAL8  M,
REAL8  fHz 
)

Definition at line 1215 of file LALSimIMRTEOBResumSUtils.c.

◆ HealyBBHFitRemnant()

void HealyBBHFitRemnant ( REAL8  chi1,
REAL8  chi2,
REAL8  q,
REAL8 mass,
REAL8 spin 
)

Definition at line 1234 of file LALSimIMRTEOBResumSUtils.c.

◆ JimenezFortezaRemnantSpin()

REAL8 JimenezFortezaRemnantSpin ( REAL8  nu,
REAL8  X1,
REAL8  X2,
REAL8  chi1,
REAL8  chi2 
)

Definition at line 1336 of file LALSimIMRTEOBResumSUtils.c.

◆ logQ()

REAL8 logQ ( REAL8  x)

Definition at line 1404 of file LALSimIMRTEOBResumSUtils.c.

◆ Yagi13_fit_barlamdel()

REAL8 Yagi13_fit_barlamdel ( REAL8  barlam2,
int  ell 
)

Definition at line 1420 of file LALSimIMRTEOBResumSUtils.c.

◆ Yagi13_fit_barsigmalambda()

REAL8 Yagi13_fit_barsigmalambda ( REAL8  barlam2)

Definition at line 1451 of file LALSimIMRTEOBResumSUtils.c.

◆ Yagi14_fit_Coct()

REAL8 Yagi14_fit_Coct ( REAL8  C_Q)

Definition at line 1475 of file LALSimIMRTEOBResumSUtils.c.

◆ Yagi14_fit_Chex()

REAL8 Yagi14_fit_Chex ( REAL8  C_Q)

Definition at line 1488 of file LALSimIMRTEOBResumSUtils.c.

◆ JFAPG_fit_Sigma_Irrotational()

REAL8 JFAPG_fit_Sigma_Irrotational ( REAL8  barlam2)

Definition at line 1500 of file LALSimIMRTEOBResumSUtils.c.

◆ JFAPG_fit_Sigma_Static()

REAL8 JFAPG_fit_Sigma_Static ( REAL8  barlam2)

Definition at line 1518 of file LALSimIMRTEOBResumSUtils.c.

◆ XLALSphHarmPolarJoin()

void XLALSphHarmPolarJoin ( SphHarmPolarTimeSeries hlma,
SphHarmPolarTimeSeries hlmb,
REAL8  to 
)

Definition at line 1536 of file LALSimIMRTEOBResumSUtils.c.

Variable Documentation

◆ Logm

const REAL8 Logm[] = {0.,Log1,Log2,Log3,Log4,Log5,Log6,Log7}
static

Definition at line 64 of file LALSimIMRTEOBResumSUtils.c.