|
static double | GSLSpinHamiltonianWrapper (double x, void *params) |
| Wrapper for GSL to call the Hamiltonian function. More...
|
|
static int | XLALSpinHcapNumericalDerivative (double t, const REAL8 values[], REAL8 dvalues[], void *funcParams) UNUSED |
|
static REAL8 | XLALSpinHcapNumDerivWRTParam (const INT4 paramIdx, const REAL8 values[], SpinEOBParams *funcParams) |
| Calculate the derivative of the Hamiltonian w.r.t. More...
|
|
static int | XLALSpinHcapNumericalDerivative (double UNUSED t, const REAL8 values[], REAL8 dvalues[], void *funcParams) |
| Function to calculate numerical derivatives of the spin EOB Hamiltonian, which correspond to time derivatives of the dynamical variables in conservative dynamcis. More...
|
|
Go to the source code of this file.
|
#define | _LALSIMIMRSPINEOBHCAPNUMERICALDERIVATIVE_C |
| In newer versions of the EOBNR approximant, we do not have an analytic expression for the derivative of the waveform. As such, it is necessary to calculate the derivatives numerically. This function provides the means to do just that. More...
|
|
◆ _LALSIMIMRSPINEOBHCAPNUMERICALDERIVATIVE_C
#define _LALSIMIMRSPINEOBHCAPNUMERICALDERIVATIVE_C |
In newer versions of the EOBNR approximant, we do not have an analytic expression for the derivative of the waveform. As such, it is necessary to calculate the derivatives numerically. This function provides the means to do just that.
- Author
- Craig Robinson, Yi Pan
Definition at line 32 of file LALSimIMRSpinEOBHcapNumericalDerivative.c.
◆ GSLSpinHamiltonianWrapper()
static double GSLSpinHamiltonianWrapper |
( |
double |
x, |
|
|
void * |
params |
|
) |
| |
|
static |
◆ XLALSpinHcapNumericalDerivative() [1/2]
static int XLALSpinHcapNumericalDerivative |
( |
double |
t, |
|
|
const REAL8 |
values[], |
|
|
REAL8 |
dvalues[], |
|
|
void * |
funcParams |
|
) |
| |
|
static |
◆ XLALSpinHcapNumDerivWRTParam()
Calculate the derivative of the Hamiltonian w.r.t.
a specific parameter Used by generic spin EOB model, including initial conditions solver.
- Parameters
-
paramIdx | < Index of the parameters |
values | < Dynamical variables |
funcParams | < EOB Parameters |
Definition at line 395 of file LALSimIMRSpinEOBHcapNumericalDerivative.c.
◆ XLALSpinHcapNumericalDerivative() [2/2]
static int XLALSpinHcapNumericalDerivative |
( |
double UNUSED |
t, |
|
|
const REAL8 |
values[], |
|
|
REAL8 |
dvalues[], |
|
|
void * |
funcParams |
|
) |
| |
|
static |
Function to calculate numerical derivatives of the spin EOB Hamiltonian, which correspond to time derivatives of the dynamical variables in conservative dynamcis.
All derivatives, including those on two terms of the orbital phase, are returned together. The derivatives are combined with energy flux to give right hand side of the ODEs of a generic spin EOB model, as decribed in Eqs. 21, 22, 26 and 27 of Pan et al. PRD 81, 084041 (2010) This function is not used by the spin-aligned SEOBNRv1 model.
- Parameters
-
t | < UNUSED |
values | < Dynamical variables |
dvalues | < Time derivatives of variables (returned) |
funcParams | < EOB parameters |
Definition at line 94 of file LALSimIMRSpinEOBHcapNumericalDerivative.c.