LALInspiral 5.0.3.1-eeff03c
GeneratePPNInspiral.c File Reference

Prototypes

static void FreqDiff (LALStatus *stat, REAL4 *y, REAL4 x, void *p)
 
void LALGeneratePPNInspiral (LALStatus *stat, CoherentGW *output, PPNParamStruc *params)
 Computes a parametrized post-Newtonian inspiral waveform. More...
 

Go to the source code of this file.

Data Structures

struct  FreqDiffParamStruc
 
struct  PPNInspiralBuffer
 

Macros

#define MAXORDER   6 /* Maximum number of N and PN terms */
 
#define BUFFSIZE   1024 /* Number of timesteps buffered */
 
#define ACCURACY   (1.0e-6) /* Accuracy of root finder */
 
#define TWOTHIRDS   (0.6666666667) /* 2/3 */
 
#define ONEMINUSEPS   (0.99999) /* Something close to 1 */
 
#define FREQ(f, x)
 
#define FREELIST(node)
 

Macro Definition Documentation

◆ MAXORDER

#define MAXORDER   6 /* Maximum number of N and PN terms */

Definition at line 36 of file GeneratePPNInspiral.c.

◆ BUFFSIZE

#define BUFFSIZE   1024 /* Number of timesteps buffered */

Definition at line 37 of file GeneratePPNInspiral.c.

◆ ACCURACY

#define ACCURACY   (1.0e-6) /* Accuracy of root finder */

Definition at line 38 of file GeneratePPNInspiral.c.

◆ TWOTHIRDS

#define TWOTHIRDS   (0.6666666667) /* 2/3 */

Definition at line 39 of file GeneratePPNInspiral.c.

◆ ONEMINUSEPS

#define ONEMINUSEPS   (0.99999) /* Something close to 1 */

Definition at line 40 of file GeneratePPNInspiral.c.

◆ FREQ

#define FREQ (   f,
  x 
)
Value:
do { \
x2 = (x)*(x); \
x3 = x2*(x); \
x4 = x3*(x); \
x5 = x4*(x); \
(f) = 0; \
if ( b0 ) \
(f) += c0; \
if ( b1 ) \
(f) += c1*(x); \
if ( b2 ) \
(f) += c2*x2; \
if ( b3 ) \
(f) += c3*x3; \
if ( b4 ) \
(f) += c4*x4; \
if ( b5 ) \
(f) += c5*x5; \
(f) *= x3; \
} while (0)
x

Definition at line 54 of file GeneratePPNInspiral.c.

◆ FREELIST

#define FREELIST (   node)
Value:
do { \
PPNInspiralBuffer *herePtr = (node); \
while ( herePtr ) { \
PPNInspiralBuffer *lastPtr = herePtr; \
herePtr = herePtr->next; \
LALFree( lastPtr ); \
} \
} while (0)

Definition at line 127 of file GeneratePPNInspiral.c.

Function Documentation

◆ FreqDiff()

static void FreqDiff ( LALStatus stat,
REAL4 y,
REAL4  x,
void *  p 
)
static

Definition at line 86 of file GeneratePPNInspiral.c.