LALInspiral 5.0.3.1-eeff03c
LALInspiralDerivatives.c File Reference

Module to calculate the RHS of the differential equations in Eq. \eqref{eq_ode2}. More...

Prototypes

void LALInspiralDerivatives (REAL8Vector *values, REAL8Vector *dvalues, void *params)
 

Detailed Description

Module to calculate the RHS of the differential equations in Eq. \eqref{eq_ode2}.

Author
Sathyaprakash, B. S.

Prototypes

LALInspiralDerivatives():

  • values: Input containing the values of the variables \(v\) and \(\phi\) at the current time.
  • dvalues: Output containing the derivatives \(dv/dt\) and \(d\phi/dt\) at the current time.
  • params: Input of type InspiralDerivativesIn that must be cast to a void.\

Description

This module calculates the right-hand sides of the follwoing two coupled first-order differential equations which are solved to obtain the gravitational wave phasing equation, as described in the documentation for the function LALInspiralWave1: The equations are

\begin{equation} \label{ode2} \frac{dv}{dt} = - \frac{\mathcal{F}(v)}{m E^{\prime}(v)},\ \ \ \ \frac{d \phi(t)}{dt} = \frac{2v^{3}}{m}. \end{equation}

Algorithm

Uses

None.

Notes

  • This function has been intentionally made non-LAL compliant in the sense that it has no status structure. This is because this code outputs the RHS of the differential equations and is called repeatedly by a function that integrates the two differential equations and should therefore not suffer from undue overheads.
  • The input params is of type InspiralDerivativesIn and must be cast to a void before calling this function. For example, InspiralDerivativesIn in3; void *funcParams; in3.totalmass = totalmass; ... funcParams = (void *) &in3;

Definition in file LALInspiralDerivatives.c.

Go to the source code of this file.

Function Documentation

◆ LALInspiralDerivatives()

void LALInspiralDerivatives ( REAL8Vector values,
REAL8Vector dvalues,
void *  params 
)

Definition at line 87 of file LALInspiralDerivatives.c.