20#include <lal/LALInspiralBank.h>
52 myphi = fabs(atan(bankPars->
dx1/bankPars->
dx0));
55 x0tmp = bankPars->
x0 + bankPars->
dx0 * cos(
theta);
56 k = floor(x0tmp/bankPars->
dx0);
57 bankPars->
x0 = x0tmp - k * bankPars->
dx0;
59 x0tmp = bankPars->
x0 - bankPars->
dx1 * sin(
theta);
60 k = floor(x0tmp/bankPars->
dx0);
61 bankPars->
x0 = (k+1) * bankPars->
dx0 - x0tmp;
62 }
else if (-
theta < myphi) {
63 x0tmp = bankPars->
x0 - bankPars->
dx1 * sin(
theta);
64 k = floor(x0tmp/bankPars->
dx0);
65 bankPars->
x0 = x0tmp - k * bankPars->
dx0;
67 x0tmp = bankPars->
x0 - bankPars->
dx1 * cos(
theta);
68 k = floor(x0tmp/bankPars->
dx0);
69 bankPars->
x0 = (k+1) * bankPars->
dx0 - x0tmp;
#define ATTATCHSTATUSPTR(statusptr)
#define ASSERT(assertion, statusptr, code, mesg)
#define DETATCHSTATUSPTR(statusptr)
#define INITSTATUS(statusptr)
#define RETURN(statusptr)
void LALInspiralNextTemplate(LALStatus *status, InspiralBankParams *bankPars, InspiralMetric metric)
Routine to compute the parameters of the template next to the current template, but in the positive ...
#define LALINSPIRALBANKH_ENULL
Null pointer.
#define LALINSPIRALBANKH_ESIZE
Invalid input range.
This is a structure needed in the inner workings of the LALInspiralCreateCoarseBank code.
REAL8 dx0
increment in the x0-direction
REAL8 dx1
increment in the x1-direction
REAL8 x0
the first coordinate, chosen to be always
Structure to store metric at various points the signal manifold.
REAL8 theta
Angle from tau0 to semi-major axis of the ellipse.