forked from Shallyn/pyWaveformGenerator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnewFactorizedWaveform.h
92 lines (82 loc) · 3.61 KB
/
newFactorizedWaveform.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/**
* Writer: Xiaolin.liu
*
* This module contains basic functions for calculation.
* Functions list:
* Kernel:
* 20xx.xx.xx, LOC
**/
#ifndef __INCLUDE_NEWFACTORIZEDWAVEFORM__
#define __INCLUDE_NEWFACTORIZEDWAVEFORM__
#include "pUtils.h"
// INT
// XLALSimIMRSpinEOBGetPrecSpinFactorizedWaveformV2(
// COMPLEX16 * hlm, /**< OUTPUT, hlm waveforms */
// REAL8Vector * values, /**< dyanmical variables: \f$(r,\phi,p_r,p_\phi)\f$ */
// REAL8Vector * cartvalues, /**< dyanmical variables */
// const REAL8 v, /**< velocity */
// const REAL8 dr, /**< radial velocity */
// const REAL8 ncrv, /**< angular velocity */
// const REAL8 Hreal, /**< real Hamiltonian */
// const INT l, /**< l mode index */
// const INT m, /**< m mode index */
// SpinEOBParams * params /**< Spin EOB parameters */
// );
INT
XLALSimIMRSpinEOBGetPrecSpinFactorizedWaveformV2(
COMPLEX16 * hlm, /**< OUTPUT, hlm waveforms */
REAL8Vector * values, /**< dyanmical variables: \f$(r,\phi,p_r,p_\phi)\f$ */
REAL8Vector * cartvalues, /**< dyanmical variables */
const REAL8 v, /**< velocity */
const REAL8 dr, /**< radial velocity */
const REAL8 ncrv, /**< angular velocity */
const REAL8 prDot,
const REAL8 Hreal, /**< real Hamiltonian */
const INT l, /**< l mode index */
const INT m, /**< m mode index */
SpinEOBParams * params /**< Spin EOB parameters */
);
INT
XLALSimIMRSpinEOBGetSASpinFactorizedWaveformV2(
COMPLEX16 * hlm, /**< OUTPUT, hlm waveforms */
REAL8Vector * values, /**< dyanmical variables: \f$(r,\phi,p_r,p_\phi)\f$ */
const REAL8 v, /**< velocity */
const REAL8 dr, /**< radial velocity */
const REAL8 ncrv, /**< angular velocity */
const REAL8 prDot,
const REAL8 Hreal, /**< real Hamiltonian */
const INT l, /**< l mode index */
const INT m, /**< m mode index */
SpinEOBParams * params /**< Spin EOB parameters */
);
INT CalculateFacWaveformAmpResV2(FacWaveformCoeffs *const hCoeffs,
const REAL8 eta,
const INT l,
const INT m,
const REAL8 v,
const REAL8 vPhi,
const REAL8 vh3,
const REAL8 eulerlogxabs,
const REAL8 x0,
const REAL8 x1,
const REAL8 x2,
COMPLEX16 *facAmpRes);
INT XLALSimIMRSpinEOBGetAmplitudeResidualPrecV2(COMPLEX16 *rholmpwrl,
REAL8Vector * values, /**< dyanmical variables: \f$(r,\phi,p_r,p_\phi)\f$ */
REAL8Vector * cartvalues, /**< dyanmical variables */
const REAL8 v,
const REAL8 dr,
const REAL8 ncrv,
const REAL8 Hreal,
const INT modeL, const INT modeM,
SpinEOBParams *params);
INT XLALSimIMRSpinEOBSAGetAmplitudeResidualPrecV2(COMPLEX16 *rholmpwrl,
REAL8Vector * values, /**< dyanmical variables: \f$(r,\phi,p_r,p_\phi)\f$ */
const REAL8 v,
const REAL8 dr,
const REAL8 ncrv,
const REAL8 Hreal,
const INT modeL, const INT modeM,
SpinEOBParams *params);
#endif