Prototypes | |
static int | XLALSimIMRCalculateSpinPrecEOBHCoeffs (SpinEOBHCoeffs *coeffs, const REAL8 eta, const REAL8 a, const UINT4 SpinAlignedEOBversion) |
This function is used to calculate some coefficients which will be used in the spinning EOB Hamiltonian. More... | |
static int | XLALSimIMRCalculateSpinPrecEOBHCoeffs_v2 (SpinEOBHCoeffs *coeffs, const REAL8 eta, REAL8 a, REAL8 chi, const UINT4 SpinAlignedEOBversion) |
This function is used to calculate some coefficients which will be used in the spinning EOB Hamiltonian. More... | |
Go to the source code of this file.
Macros | |
#define | _LALSimIMRCalculateSpinPrecEOBHCoeffs_C |
#define | ifthenelse(cond, ifvalue, elsevalue) ((elsevalue) + (0.5 + copysign(0.5, cond)) * ((ifvalue)-(elsevalue))) |
#define | ifthenelsezero(cond, ifvalue) ((0.5 + copysign(0.5, cond)) * (ifvalue)) |
#define _LALSimIMRCalculateSpinPrecEOBHCoeffs_C |
Definition at line 2 of file LALSimIMRCalculateSpinPrecEOBHCoeffs.c.
#define ifthenelse | ( | cond, | |
ifvalue, | |||
elsevalue | |||
) | ((elsevalue) + (0.5 + copysign(0.5, cond)) * ((ifvalue)-(elsevalue))) |
#define ifthenelsezero | ( | cond, | |
ifvalue | |||
) | ((0.5 + copysign(0.5, cond)) * (ifvalue)) |
|
static |
This function is used to calculate some coefficients which will be used in the spinning EOB Hamiltonian.
This function was originally part of LALSimIMRSpinEOBHamiltonianPrec.c, and moved here during the development of v3_opt. Function relocation implemented by R. Devine, Z. Etienne, D. Buch, and T. Knowles. In comments, R.H. refers to Roland Hass.
It takes the following inputs:
coeffs - a (non-null) pointer to a SpinEOBParams structure. This will be populated with the output. eta - the symmetric mass ratio. sigmaKerr - the spin of the effective Kerr background (a combination of the individual spins).
If all goes well, the function will return XLAL_SUCCESS. Otherwise, XLAL_FAILURE is returned.
coeffs | < OUTPUT, EOB parameters including pre-computed coefficients |
eta | < symmetric mass ratio |
a | < Normalized deformed Kerr spin |
SpinAlignedEOBversion | < 1 for SEOBNRv1; 2 for SEOBNRv2 |
Definition at line 52 of file LALSimIMRCalculateSpinPrecEOBHCoeffs.c.
|
static |
This function is used to calculate some coefficients which will be used in the spinning EOB Hamiltonian.
It was specifically designed for precessing binaries, such that it allows the spin parameter chi that enters the NR-calibrated terms (like KK) to be different from a that enters derived coefficients like k0,k1,... If all goes well, the function will return XLAL_SUCCESS. Otherwise, XLAL_FAILURE is returned. The paper references are:
coeffs | < OUTPUT, EOB parameters including pre-computed coefficients |
eta | < symmetric mass ratio |
a | < Normalized deformed Kerr spin |
chi | < The augmented spin, with correct aligned-spin limit |
SpinAlignedEOBversion | < 4 for SEOBNRv4P; Possible to extend this later later |
Definition at line 189 of file LALSimIMRCalculateSpinPrecEOBHCoeffs.c.