43 const int ExpansionOrder
50 errcode =
InitializeSystem(system, m1, m2, mul, phl, mu1, ph1, ch1, mu2, ph2, ch2, f_0, ExpansionOrder);
59 for(
UINT4 i = 0;
i < (*f).length;
i++){
60 xi = pow(((*f).data[
i])*twopiGM_over_cthree, system->
onethird);
62 (*phiz_of_f).data[
i] = angles.x;
63 (*zeta_of_f).data[
i] = angles.y;
64 (*costhetaL_of_f).data[
i] = angles.z;
91 const int ExpansionOrder
100 errcode =
InitializeSystem(system, m1, m2, mul, phl, mu1, ph1, ch1, mu2, ph2, ch2, f_0, ExpansionOrder);
109 for (
UINT4 i = 0;
i < (*f).length;
i++)
111 xi = pow(((*f).data[
i]) * twopiGM_over_cthree, system->
onethird);
113 (*phiz_of_f).data[
i] = angles.x;
114 (*zeta_of_f).data[
i] = angles.y;
115 (*costhetaL_of_f).data[
i] = angles.z;
142 const int ExpansionOrder
150 errcode =
InitializeSystem(system, m1, m2, mul, phl, mu1, ph1, ch1, mu2, ph2, ch2, f_0, ExpansionOrder);
159 for(
UINT4 i = 0;
i < (*f).length;
i++){
160 xi = pow(((*f).data[
i])*twopiGM_over_cthree, system->
onethird);
162 (*phiz_of_f).data[
i] = angles.x;
163 (*zeta_of_f).data[
i] = angles.y;
164 (*costhetaL_of_f).data[
i] = angles.z;
189 const int ExpansionOrder
197 errcode =
InitializeSystem(system, m1, m2, mul, phl, mu1, ph1, ch1, mu2, ph2, ch2, f_0, ExpansionOrder);
200 double xi, xi_2, L_norm;
203 for (
UINT4 i = 0;
i < (*f_orb_hz).length;
i++)
205 xi = pow(((*f_orb_hz).data[
i]) * twopiGM_over_cthree, system->
onethird);
207 L_norm = (system->
nu) / xi;
int XLALOrbitalAngMom3PNSpinning(REAL8Sequence *L_norm_3PN, REAL8Sequence *f_orb_hz, const double m1, const double m2, const double mul, const double phl, double mu1, double ph1, double ch1, double mu2, double ph2, double ch2, const double f_0, const int ExpansionOrder)
Standalone function to compute the magnitude of L divided by GMsquare_over_c to 3PN order with spin t...
int XLALComputeAngles(REAL8Sequence *phiz_of_f, REAL8Sequence *zeta_of_f, REAL8Sequence *costhetaL_of_f, const REAL8Sequence *f, const double m1, const double m2, const double mul, const double phl, const double mu1, const double ph1, const double ch1, const double mu2, const double ph2, const double ch2, const double f_0, const int ExpansionOrder)
int XLALComputeAngles3PN(REAL8Sequence *phiz_of_f, REAL8Sequence *zeta_of_f, REAL8Sequence *costhetaL_of_f, const REAL8Sequence *f, const double m1, const double m2, const double mul, const double phl, const double mu1, const double ph1, const double ch1, const double mu2, const double ph2, const double ch2, const double f_0, const int ExpansionOrder)
int XLALComputeAngles2PNNonSpinning(REAL8Sequence *phiz_of_f, REAL8Sequence *zeta_of_f, REAL8Sequence *costhetaL_of_f, const REAL8Sequence *f, const double m1, const double m2, const double mul, const double phl, const double mu1, const double ph1, const double ch1, const double mu2, const double ph2, const double ch2, const double f_0, const int ExpansionOrder)
static UNUSED vector compute_phiz_zeta_costhetaL(const double xi, const sysq *system)
Internal function that computes phiz, zeta, and costhetaL at Newtonian order.
static double L_norm_3PN_of_xi(const double xi, const double xi_2, const double L_norm, const sysq *system)
Internal function that returns the magnitude of L divided by GMsquare_over_c to 3PN order from 060514...
static UNUSED int InitializeSystem(sysq *system, const double m1, const double m2, const double mul, const double phl, const double mu1, const double ph1, const double ch1, const double mu2, const double ph2, const double ch2, const double f_0, const int ExpansionOrder)
InitializeSystem computes all the prefactors needed to generate precession angles from Chatziioannou ...
static UNUSED vector compute_phiz_zeta_costhetaL2PNNonSpinning(const double xi, const sysq *system)
Internal function that computes phiz, zeta, and costhetaL at 2PN NonSpinning.
static UNUSED vector compute_phiz_zeta_costhetaL3PN(const double xi, const sysq *system)
Internal function that computes phiz, zeta, and costhetaL at 3PN.
void * XLALMalloc(size_t n)
#define XLAL_CHECK(assertion,...)