1 #include <lal/LALSimIMR.h>
2 #include <lal/LALSimInspiral.h>
4 #include <lal/TimeSeries.h>
6 #include <lal/LALAdaptiveRungeKuttaIntegrator.h>
7 #include <lal/SphericalHarmonics.h>
8 #include <lal/LALSimSphHarmMode.h>
10 #include <lal/LALDict.h>
12 #include <gsl/gsl_sf_gamma.h>
13 #include <gsl/gsl_matrix.h>
14 #include <gsl/gsl_poly.h>
15 #include <gsl/gsl_spline.h>
16 #include <gsl/gsl_roots.h>
17 #include <gsl/gsl_deriv.h>
63 nu =
q / ((
q+1.)*(
q+1.));
79 if (nu > 0.25 && fabs(nu - 0.25) < 1
e-4) {
83 if ( (nu < 0.) || (nu > 0.25) )
86 "XLAL Error - %s: Symmetric mass ratio is 0 <= nu <= 1/4.\n",
92 REAL8 X1 = 0.5 * (1. + sqrt(1. - 4. * nu));
147 Sstar = X1 * X2 * (chi1+chi2);
157 REAL8 polarDynamics[],
168 LALParams,
"analyticFlag"
173 if (analyticFlag == 0)
204 REAL8 finalRadiusPrefactor;
209 finalRadiusPrefactor = 1.0;
211 rFinal = finalRadiusPrefactor * rISCO;
231 dr = (rStart-rFinal) / (rSize-1);
246 Newtonianj0 = sqrt(
r);
UINT2 XLALDictLookupUINT2Value(LALDict *dict, const char *key)
static REAL8 XLALSimIMRSpinAlignedEOBCalcOmega(const REAL8 values[], SpinEOBParams *funcParams, REAL8 STEP_SIZE)
Function to calculate the value of omega for the spin-aligned EOB waveform.
static REAL8 XLALSimIMRSpinAlignedEOBCalcOmegaOptimized(const REAL8 values[], SpinEOBParams *funcParams)
Function to calculate the value of omega for the spin-aligned EOB waveform.
REAL8 XLALSimInspiralEOBPACalculateMassRatio(const REAL8 m1, const REAL8 m2)
Function which calculates the mass ratio q from the masses m1 and m2.
REAL8 XLALSimInspiralEOBPACalculatea(REAL8 X, REAL8 chi)
Function which calculates the spin parameter a.
REAL8 XLALSimIMRSpinAlignedEOBPACalculateOmega(REAL8 polarDynamics[], REAL8 dr, SpinEOBParams *seobParams, LALDict *LALParams)
Function which calculates the frequency Omega.
REAL8 XLALSimInspiralEOBPACalculatedr(REAL8 rStart, REAL8 rFinal, UINT4 rSize)
Function which calculates the spacing of the radial grid.
REAL8 XLALSimInspiralEOBPACalculateSymmetricMassRatio(const REAL8 q)
Function which calculates the symmetric mass ratio nu from the mass ratio q.
REAL8 XLALSimInspiralEOBPACalculateSstar(REAL8 X1, REAL8 X2, REAL8 chi1, REAL8 chi2)
Function which calculates the spin parameter Sstar (S*)
REAL8 XLALSimInspiralEOBPostAdiabaticFinalRadiusAlternative(REAL8 a)
Function which calculates the final radius at which the post-adiabatic routine stops.
REAL8 XLALSimInspiralEOBPACalculateNewtonianj0(REAL8 r)
Function which calculates the circular angular momentum j0.
REAL8 XLALSimInspiralEOBPACalculateX2(const REAL8 nu)
Function which calculates the parameter X2 from the symmetric mass ratio nu.
REAL8 XLALSimInspiralEOBPACalculateX1(REAL8 nu)
Function which calculates the parameter X1 from the symmetric mass ratio nu.
REAL8 XLALSimRadiusKerrISCO(REAL8 a)
int XLALPrintError(const char *fmt,...) _LAL_GCC_PRINTF_FORMAT_(1
Parameters for the spinning EOB model.