LALSimulation  5.4.0.1-fe68b98
LALSimIMRSpinEOBHcapNumericalDerivativePrec.c File Reference

Prototypes

static REAL8 GSLSpinPrecHamiltonianWrapper (double x, void *params)
 Wrapper for GSL to call the Hamiltonian function. More...
 
static int XLALSpinPrecHcapNumericalDerivative (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...
 
static REAL8 XLALSpinPrecHcapNumDerivWRTParam (const INT4 paramIdx, const REAL8 values[], SpinEOBParams *funcParams)
 Calculate the derivative of the Hamiltonian w.r.t. More...
 

Go to the source code of this file.

Macros

#define _LALSIMIMRSPINPRECEOBHCAPNUMERICALDERIVATIVE_C
 Functions to compute the RHSs of the SEOBNRv3 ODEs. More...
 

Macro Definition Documentation

◆ _LALSIMIMRSPINPRECEOBHCAPNUMERICALDERIVATIVE_C

#define _LALSIMIMRSPINPRECEOBHCAPNUMERICALDERIVATIVE_C

Functions to compute the RHSs of the SEOBNRv3 ODEs.

Author
Craig Robinson, Yi Pan, Stas Babak, Prayush Kumar, Andrea Taracchini

Definition at line 26 of file LALSimIMRSpinEOBHcapNumericalDerivativePrec.c.

Function Documentation

◆ GSLSpinPrecHamiltonianWrapper()

static REAL8 GSLSpinPrecHamiltonianWrapper ( double  x,
void *  params 
)
static

Wrapper for GSL to call the Hamiltonian function.

Definition at line 841 of file LALSimIMRSpinEOBHcapNumericalDerivativePrec.c.

◆ XLALSpinPrecHcapNumericalDerivative()

static int XLALSpinPrecHcapNumericalDerivative ( 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 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. A4, A5, 26 and 27 of Pan et al. PRD 81, 084041 (2010) Later on we use BB1, that is Barausse and Buonanno PRD 81, 084024 (2010) This function is not used by the spin-aligned model.

lMax: l index up to which h_{lm} modes are included in the computation of the GW enegy flux: see Eq. in 13 in PRD 86, 024011 (2012)

Parameters
t< UNUSED
values< Dynamical variables
dvalues< Time derivatives of variables (returned)
funcParams< EOB parameters

Definition at line 92 of file LALSimIMRSpinEOBHcapNumericalDerivativePrec.c.

◆ XLALSpinPrecHcapNumDerivWRTParam()

static REAL8 XLALSpinPrecHcapNumDerivWRTParam ( const INT4  paramIdx,
const REAL8  values[],
SpinEOBParams funcParams 
)
static

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 762 of file LALSimIMRSpinEOBHcapNumericalDerivativePrec.c.