1 #ifndef _LALSIM_IMR_PHENOMX_INTERNALS_H
2 #define _LALSIM_IMR_PHENOMX_INTERNALS_H
34 #define UNUSED __attribute__ ((unused))
40 #define N_MAX_COLLOCATION_POINTS_PHASE_RD 5
41 #define N_MAX_COLLOCATION_POINTS_PHASE_INT 5
42 #define N_MAX_COLLOCATION_POINTS_PHASE_INS 6
44 #define N_MAX_COLLOCATION_POINTS_AMP_RD 5
45 #define N_MAX_COLLOCATION_POINTS_AMP_INT 5
46 #define N_MAX_COLLOCATION_POINTS_AMP_INS 5
54 #include <lal/LALStdlib.h>
55 #include <lal/LALConstants.h>
57 #include <lal/FrequencySeries.h>
58 #include <lal/Units.h>
61 #include <lal/LALSimInspiral.h>
68 typedef struct tagIMRPhenomXWaveformStruct
248 typedef struct tagIMRPhenomX_UsefulPowers
289 typedef struct tagIMRPhenomXPhaseCoefficients
322 REAL8 phi_minus2, phi_minus1,
phi0, phi1, phi2, phi3, phi4, phi5, phi6, phi7, phi8, phi9, phi10, phi11, phi12, phi13, phi5L, phi6L, phi8L, phi9L;
324 REAL8 dphi_minus2, dphi_minus1,
dphi0, dphi1, dphi2, dphi3, dphi4, dphi5, dphi6, dphi7, dphi8, dphi9, dphi10, dphi11, dphi12, dphi13, dphi5L, dphi6L, dphi8L, dphi9L;
361 typedef struct tagIMRPhenomXAmpCoefficients
390 REAL8 pnInitial, pnOneThird, pnTwoThirds, pnThreeThirds, pnFourThirds, pnFiveThirds, pnSixThirds, pnSevenThirds,
pnEightThirds, pnNineThirds;
428 const REAL8 chi1L_In,
429 const REAL8 chi2L_In,
435 const REAL8 distance,
436 const REAL8 inclination,
#define N_MAX_COLLOCATION_POINTS_AMP_INS
#define N_MAX_COLLOCATION_POINTS_PHASE_RD
IMRPhenomX_UsefulPowers powers_of_lalpi
double IMRPhenomX_TimeShift_22(IMRPhenomXPhaseCoefficients *pPhase, IMRPhenomXWaveformStruct *pWF)
REAL8 IMRPhenomX_TidalPhaseDerivative(IMRPhenomX_UsefulPowers *powers_of_Mf, IMRPhenomXWaveformStruct *pWF, IMRPhenomXPhaseCoefficients *pPhase, NRTidal_version_type NRTidal_version)
double IMRPhenomX_Amplitude_22(double f, IMRPhenomX_UsefulPowers *powers_of_f, IMRPhenomXAmpCoefficients *pAmp, IMRPhenomXWaveformStruct *pWF)
void IMRPhenomX_Phase_22_ConnectionCoefficients(IMRPhenomXWaveformStruct *pWF, IMRPhenomXPhaseCoefficients *pPhase)
int IMRPhenomXGetAmplitudeCoefficients(IMRPhenomXWaveformStruct *pWF, IMRPhenomXAmpCoefficients *pAmp)
int IMRPhenomX_Initialize_Powers(IMRPhenomX_UsefulPowers *p, REAL8 number)
#define N_MAX_COLLOCATION_POINTS_PHASE_INT
NRTidal_version_type IMRPhenomX_SetTidalVersion(LALDict *LALParams)
#define N_MAX_COLLOCATION_POINTS_PHASE_INS
void IMRPhenomXGetTidalPhaseCoefficients(IMRPhenomXWaveformStruct *pWF, IMRPhenomXPhaseCoefficients *pPhase, NRTidal_version_type NRTidal_version)
REAL8 IMRPhenomX_TidalPhase(IMRPhenomX_UsefulPowers *powers_of_Mf, IMRPhenomXWaveformStruct *pWF, IMRPhenomXPhaseCoefficients *pPhase, NRTidal_version_type NRTidal_version)
int IMRPhenomX_Initialize_Powers_Light(IMRPhenomX_UsefulPowers *p, REAL8 number)
int IMRPhenomXGetPhaseCoefficients(IMRPhenomXWaveformStruct *pWF, IMRPhenomXPhaseCoefficients *pPhase)
double IMRPhenomX_Phase_22(double f, IMRPhenomX_UsefulPowers *powers_of_f, IMRPhenomXPhaseCoefficients *Phase, IMRPhenomXWaveformStruct *pWF)
#define N_MAX_COLLOCATION_POINTS_AMP_INT
int IMRPhenomXSetWaveformVariables(IMRPhenomXWaveformStruct *pWF, const REAL8 m1_SI, const REAL8 m2_SI, const REAL8 chi1L_In, const REAL8 chi2L_In, const REAL8 deltaF, const REAL8 fRef, const REAL8 phiRef, const REAL8 f_min, const REAL8 f_max, const REAL8 distance, const REAL8 inclination, LALDict *lalParams, const UINT4 debug)
#define N_MAX_COLLOCATION_POINTS_AMP_RD
double IMRPhenomX_dPhase_22(double ff, IMRPhenomX_UsefulPowers *powers_of_f, IMRPhenomXPhaseCoefficients *pPhase, IMRPhenomXWaveformStruct *pWF)
INT4 check_input_mode_array(LALDict *lalParams)
INT4 IMRPhenomX_FullPhase_22(double *phase, double *dphase, double Mf, IMRPhenomXPhaseCoefficients *pPhase, IMRPhenomXWaveformStruct *pWF)
INT4 NCollocationPointsInt
INT4 IMRPhenomXRingdownAmpVersion
INT4 IMRPhenomXIntermediateAmpVersion
INT4 IMRPhenomXInspiralAmpVersion
INT4 NCollocationPointsRD
INT4 NCollocationPointsInt
INT4 NCollocationPointsRD
INT4 NCollocationPointsPhaseIns