Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALSimulation 6.2.0.1-b246709
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
PhenomPTest.c File Reference

Prototypes

void prC (const char *name, COMPLEX16 x)
 
REAL8 sqr (REAL8 x)
 
REAL8 MatchSI (COMPLEX16FrequencySeries **htilde1, COMPLEX16FrequencySeries **htilde2, REAL8 fMin, REAL8 fMax, REAL8 df)
 
void dump_file (const char *filename, COMPLEX16FrequencySeries *hptilde, COMPLEX16FrequencySeries *hctilde, REAL8 M)
 
bool approximatelyEqual (REAL8 a, REAL8 b, REAL8 epsilon)
 
bool approximatelyEqualC (COMPLEX16 a, COMPLEX16 b, REAL8 epsilon)
 
void print_difference (const char *name, REAL8 u, REAL8 u_expected)
 
static void Test_alpha_epsilon (void)
 
static void Test_XLALSimIMRPhenomPCalculateModelParameters (void)
 
static void Test_XLALSimIMRPhenomP (void)
 
static void Test_XLALSimIMRPhenomP_f_ref (void)
 
int main (int argc, char *argv[])
 

Go to the source code of this file.

Macros

#define MYUNUSED(expr)   do { (void)(expr); } while (0)
 

Macro Definition Documentation

◆ MYUNUSED

#define MYUNUSED (   expr)    do { (void)(expr); } while (0)

Definition at line 44 of file PhenomPTest.c.

Function Documentation

◆ prC()

void prC ( const char name,
COMPLEX16  x 
)

Definition at line 47 of file PhenomPTest.c.

◆ sqr()

REAL8 sqr ( REAL8  x)

Definition at line 52 of file PhenomPTest.c.

◆ MatchSI()

REAL8 MatchSI ( COMPLEX16FrequencySeries **  htilde1,
COMPLEX16FrequencySeries **  htilde2,
REAL8  fMin,
REAL8  fMax,
REAL8  df 
)

Definition at line 55 of file PhenomPTest.c.

◆ dump_file()

void dump_file ( const char filename,
COMPLEX16FrequencySeries hptilde,
COMPLEX16FrequencySeries hctilde,
REAL8  M 
)

Definition at line 124 of file PhenomPTest.c.

◆ approximatelyEqual()

bool approximatelyEqual ( REAL8  a,
REAL8  b,
REAL8  epsilon 
)

Definition at line 148 of file PhenomPTest.c.

◆ approximatelyEqualC()

bool approximatelyEqualC ( COMPLEX16  a,
COMPLEX16  b,
REAL8  epsilon 
)

Definition at line 152 of file PhenomPTest.c.

◆ print_difference()

void print_difference ( const char name,
REAL8  u,
REAL8  u_expected 
)

Definition at line 157 of file PhenomPTest.c.

◆ Test_alpha_epsilon()

static void Test_alpha_epsilon ( void  )
static

Definition at line 162 of file PhenomPTest.c.

◆ Test_XLALSimIMRPhenomPCalculateModelParameters()

static void Test_XLALSimIMRPhenomPCalculateModelParameters ( void  )
static

< Output: aligned spin on companion 1

< Output: aligned spin on companion 2

< Output: Effective spin in the orbital plane

< Output: Angle between J0 and line of sight (z-direction)

< Output: Initial value of alpha angle (azimuthal precession angle)

< Mass of companion 1 (kg)

< Mass of companion 2 (kg)

< Reference GW frequency (Hz)

< Initial value of LNhatx: orbital angular momentum unit vector

< Initial value of LNhaty

< Initial value of LNhatz

< Initial value of s1x: dimensionless spin of larger BH

< Initial value of s1y: dimensionless spin of larger BH

< Initial value of s1z: dimensionless spin of larger BH

< Initial value of s2x: dimensionless spin of larger BH

< Initial value of s2y: dimensionless spin of larger BH

< Initial value of s2z: dimensionless spin of larger BH

Definition at line 204 of file PhenomPTest.c.

◆ Test_XLALSimIMRPhenomP()

static void Test_XLALSimIMRPhenomP ( void  )
static

< Output: aligned spin on companion 1

< Output: aligned spin on companion 2

< Output: Effective spin in the orbital plane

< Output: Angle between J0 and line of sight (z-direction)

< Output: Initial value of alpha angle (azimuthal precession angle)

< Mass of companion 1 (kg)

< Mass of companion 2 (kg)

< Reference GW frequency (Hz)

< Initial value of LNhatx: orbital angular momentum unit vector

< Initial value of LNhaty

< Initial value of LNhatz

< Initial value of s1x: dimensionless spin of larger BH

< Initial value of s1y: dimensionless spin of larger BH

< Initial value of s1z: dimensionless spin of larger BH

< Initial value of s2x: dimensionless spin of larger BH

< Initial value of s2y: dimensionless spin of larger BH

< Initial value of s2z: dimensionless spin of larger BH

< Frequency-domain waveform h+

< Frequency-domain waveform hx

< aligned spin on companion 1

< aligned spin on companion 2

< Effective spin in the orbital plane

< Angle between J0 and line of sight (z-direction)

< mass of companion1 (kg)

< mass of companion1 (kg)

< Distance of source (m)

< Initial value of alpha angle

< Orbital coalescence phase (rad)

< Sampling frequency (Hz)

< Starting GW frequency (Hz)

< End frequency; 0 defaults to ringdown cutoff freq

< Reference frequency

<linked list containing the extra testing GR parameters

Definition at line 399 of file PhenomPTest.c.

◆ Test_XLALSimIMRPhenomP_f_ref()

static void Test_XLALSimIMRPhenomP_f_ref ( void  )
static

< Output: aligned spin on companion 1

< Output: aligned spin on companion 2

< Output: Effective spin in the orbital plane

< Output: Angle between J0 and line of sight (z-direction)

< Output: Initial value of alpha angle (azimuthal precession angle)

< Mass of companion 1 (kg)

< Mass of companion 2 (kg)

< Reference GW frequency (Hz)

< Initial value of LNhatx: orbital angular momentum unit vector

< Initial value of LNhaty

< Initial value of LNhatz

< Initial value of s1x: dimensionless spin of larger BH

< Initial value of s1y: dimensionless spin of larger BH

< Initial value of s1z: dimensionless spin of larger BH

< Initial value of s2x: dimensionless spin of larger BH

< Initial value of s2y: dimensionless spin of larger BH

< Initial value of s2z: dimensionless spin of larger BH

< Frequency-domain waveform h+

< Frequency-domain waveform hx

< aligned spin on companion 1

< aligned spin on companion 2

< Effective spin in the orbital plane

< Angle between J0 and line of sight (z-direction)

< mass of companion1 (kg)

< mass of companion1 (kg)

< Distance of source (m)

< Initial value of alpha angle (azimuthal precession angle)

< Orbital coalescence phase (rad)

< Sampling frequency (Hz)

< Starting GW frequency (Hz)

< End frequency; 0 defaults to ringdown cutoff freq

< Reference frequency

< Output: aligned spin on companion 1

< Output: aligned spin on companion 2

< Output: Effective spin in the orbital plane

< Output: Angle between J0 and line of sight (z-direction)

< Output: Initial value of alpha angle (azimuthal precession angle)

< Mass of companion 1 (kg)

< Mass of companion 2 (kg)

< Reference GW frequency (Hz)

< Initial value of LNhatx: orbital angular momentum unit vector

< Initial value of LNhaty

< Initial value of LNhatz

< Initial value of s1x: dimensionless spin of larger BH

< Initial value of s1y: dimensionless spin of larger BH

< Initial value of s1z: dimensionless spin of larger BH

< Initial value of s2x: dimensionless spin of larger BH

< Initial value of s2y: dimensionless spin of larger BH

< Initial value of s2z: dimensionless spin of larger BH

< Frequency-domain waveform h+

< Frequency-domain waveform hx

< aligned spin on companion 1

< aligned spin on companion 2

< Effective spin in the orbital plane

< Angle between J0 and line of sight (z-direction)

< mass of companion1 (kg)

< mass of companion1 (kg)

< Distance of source (m)

< Initial value of alpha angle (azimuthal precession angle)

< Orbital coalescence phase (rad)

< Sampling frequency (Hz)

< Starting GW frequency (Hz)

< End frequency; 0 defaults to ringdown cutoff freq

< Reference frequency

Definition at line 623 of file PhenomPTest.c.

◆ main()

int main ( int  argc,
char argv[] 
)

Definition at line 766 of file PhenomPTest.c.