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
PrecessingHlmsTest.c File Reference

Prototypes

static int c_compare (COMPLEX16 val1, COMPLEX16 val2)
 
static int compare (REAL8 val1, REAL8 val2)
 
int main (int argc, char **argv)
 

Go to the source code of this file.

Macros

#define EPSILON   1.e-8
 
#define ROTATEZ(angle, vx, vy, vz)
 
#define ROTATEY(angle, vx, vy, vz)
 

Macro Definition Documentation

◆ EPSILON

#define EPSILON   1.e-8

Definition at line 39 of file PrecessingHlmsTest.c.

◆ ROTATEZ

#define ROTATEZ (   angle,
  vx,
  vy,
  vz 
)
Value:
tmp1 = vx*cos(angle) - vy*sin(angle);\
tmp2 = vx*sin(angle) + vy*cos(angle);\
vx = tmp1;\
vy = tmp2
REAL8 tmp1
const double vy
const double vx

Definition at line 41 of file PrecessingHlmsTest.c.

◆ ROTATEY

#define ROTATEY (   angle,
  vx,
  vy,
  vz 
)
Value:
tmp1 = vx*cos(angle) + vz*sin(angle);\
tmp2 = - vx*sin(angle) + vz*cos(angle);\
vx = tmp1;\
vz = tmp2
const double vz

Definition at line 47 of file PrecessingHlmsTest.c.

Function Documentation

◆ c_compare()

static int c_compare ( COMPLEX16  val1,
COMPLEX16  val2 
)
static

Definition at line 53 of file PrecessingHlmsTest.c.

◆ compare()

static int compare ( REAL8  val1,
REAL8  val2 
)
static

Definition at line 62 of file PrecessingHlmsTest.c.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 71 of file PrecessingHlmsTest.c.