7 #ifndef LALSimInspiralEOBPostAdiabatic_h
8 #define LALSimInspiralEOBPostAdiabatic_h
18 UINT4 SpinAlignedEOBversion,
110 REAL8 polarDynamics[],
163 double (*Func)(
REAL8,
void *),
int XLALSimInspiralEOBPAMeanValueOrder8(REAL8Vector *inputVec, REAL8Vector *meanVec)
Function which performs an 8-order mean smoothing of a vector.
int XLALSimInspiralEOBPostAdiabatic(REAL8Array **dynamics, const REAL8 m1, const REAL8 m2, const REAL8 spin1z, const REAL8 spin2z, const REAL8Vector initVals, UINT4 SpinAlignedEOBversion, SpinEOBParams *seobParams, EOBNonQCCoeffs *nqcCoeffs, LALDict *PAParams)
This function generates post-adiabatic inspiral for spin-aligned binary in the SEOB formalism.
REAL8 XLALSimInspiralEOBPAPartialHByPartialr(REAL8 h, REAL8 r, REAL8 prstar, REAL8 pphi, SpinEOBParams *seobParams, LALDict *LALParams)
Function which calculates the partial derivative dH/dr.
REAL8 XLALSimInspiralEOBPACalculateMassRatio(const REAL8 m1, const REAL8 m2)
Function which calculates the mass ratio q from the masses m1 and m2.
REAL8 XLALSimInspiralEOBPAFluxWrapper(REAL8 r, REAL8 prstar, REAL8 pphi, REAL8 omega, SpinEOBParams *seobParams, EOBNonQCCoeffs *nqcCoeffs, LALDict *LALParams)
A wrapper for the factorized flux, depending on the user choices.
double XLALSimInspiralEOBPostAdiabaticdpphiFunc(REAL8 pphi_sol, void *params)
Function which implements eq.
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.
int XLALFDDerivative1Order6(REAL8Vector *XVec, REAL8Vector *YVec, REAL8Vector *derivativeVec)
Function which calculates the 6-order first finite difference derivative of a numerical function.
double XLALSimInspiralEOBPostAdiabaticdprstarFunc(REAL8 prstar_sol, void *params)
Function which implements eq.
int XLALSimInspiralEOBPACalculateRadialGrid(REAL8Vector *rVec, LALDict *LALParams)
Function which comstructs the radial grid on which the post-adiabatic approximation will be computed.
REAL8 XLALSimInspiralEOBPACalculateSymmetricMassRatio(const REAL8 q)
Function which calculates the symmetric mass ratio nu from the mass ratio q.
int XLALFDDerivative1Order2(REAL8Vector *XVec, REAL8Vector *YVec, REAL8Vector *derivativeVec)
Function which calculates the 2-order first finite difference derivative of a numerical function.
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.
int XLALFDDerivative1Order4(REAL8Vector *XVec, REAL8Vector *YVec, REAL8Vector *derivativeVec)
Function which calculates the 4-order first finite difference derivative of a numerical function.
REAL8 XLALSimInspiralEOBPAHamiltonianWrapper(REAL8 r, REAL8 prstar, REAL8 pphi, SpinEOBHCoeffs *seobCoeffs, LALDict *LALParams)
A wrapper for the SEOB Hamiltonian, depending on the user choices.
REAL8 XLALSimInspiralEOBPAPartialHByPartialprstar(REAL8 h, REAL8 r, REAL8 prstar, REAL8 pphi, SpinEOBParams *seobParams, LALDict *LALParams)
Function which calculates the partial derivative dH/dprstar.
int XLALSimInspiralEOBPACalculatePostAdiabaticDynamics(REAL8Vector *rVec, REAL8Vector *phiVec, REAL8Vector *dphiBydrVec, REAL8Vector *prstarVec, REAL8Vector *dprstarBydrVec, REAL8Vector *pphiVec, REAL8Vector *dpphiBydrVec, REAL8Vector *dtBydrVec, REAL8Vector *csiVec, REAL8Vector *omegaVec, SpinEOBParams *seobParams, EOBNonQCCoeffs *nqcCoeffs, LALDict *LALParams)
This function calculates the (n-th order) post-adiabatic approximation of the inspiral dynamics.
int XLALCumulativeIntegral3(REAL8Vector *XVec, REAL8Vector *YVec, REAL8Vector *integralVec)
Function which calculates the 3-order cumulative derivative of a numerical function.
int XLALOffsetREAL8Vector(REAL8Vector *Vec, REAL8 offset, REAL8Vector *offsetVec)
Function which add a constant to each element of an array.
int XLALSimInspiralEOBPACalculateAdiabaticDynamics(REAL8Vector *rVec, REAL8Vector *phiVec, REAL8Vector *prstarVec, REAL8Vector *pphiVec, REAL8Vector *pphi0Vec, REAL8Vector *dpphiBydrVec, REAL8Vector *csiVec, REAL8Vector *omegaVec, SpinEOBParams *seobParams, LALDict *LALParams)
This function calculates the adiabatic (0th order PA) approximation of the inspiral dynamics.
REAL8 XLALSimInspiralEOBPACalculateX1(const REAL8 nu)
Function which calculates the parameter X1 from the symmetric mass ratio nu.
int XLALReverseREAL8Vector(REAL8Vector *Vec, REAL8Vector *reverseVec)
Function which reverses a 1D array.
int XLALSimInspiralEOBPostAdiabaticRootFinder(struct PostAdiabaticRoot *result, double(*Func)(REAL8, void *), struct PostAdiabaticRootSolveParams *params, REAL8 x_lower, REAL8 x_upper, REAL8 absTol, REAL8 relTol, INT2 parity)
Root finder function which is used for computing the adiabatic and post-adiabatic approximations.
int XLALFDDerivative1Order8(REAL8Vector *XVec, REAL8Vector *YVec, REAL8Vector *derivativeVec)
Function which calculates the 8-order first finite difference derivative of a numerical function.
double XLALSimInspiralEOBPostAdiabaticj0Func(REAL8 j0_sol, void *params)
Function which implements eq.
int XLALRescaleREAL8Vector(REAL8Vector *Vec, REAL8 factor, REAL8Vector *offsetVec)
This function rescales each element of an array by a given factor.
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.
The coefficients which are used in calculating the non-quasicircular correction to the EOBNRv2 model.
SpinEOBParams * seobParams
EOBNonQCCoeffs * nqcCoeffs
Parameters for the spinning EOB model, used in calculating the Hamiltonian.
Parameters for the spinning EOB model.