RCS file: /home/cvs/CVS_REPOSITORY/repository_GRASP/GRASP/src/inspiral/pN_chirp.c,v Working file: pN_chirp.c head: 1.18 branch: locks: strict access list: symbolic names: RELEASE_1_9_7: 1.18 RELEASE_1_9_6: 1.18 RELEASE_1_9_5: 1.18 RELEASE_1_9_4: 1.18 RELEASE_1_9_3: 1.18 RELEASE_1_9_2: 1.18 RELEASE_1_9_1: 1.18 RELEASE_1_9_1exp0: 1.18 RELEASE_1_9_0: 1.18 RELEASE_1_8_6: 1.18 RELEASE_1_8_5exp2: 1.16 RELEASE_1_8_5: 1.16 RELEASE_1_8_4v5: 1.15 RELEASE_1_8_4v4: 1.15 RELEASE_1_8_4v3: 1.15 RELEASE_1_8_4v2: 1.15 RELEASE_1_8_4: 1.15 RELEASE_1_8_3: 1.13 RELEASE_1_8_2: 1.13 RELEASE_1_8_1: 1.13 RELEASE_1_8_0: 1.13 RELEASE_1_7_0: 1.13 RELEASE_1_6_7_1: 1.13 RELEASE_1_6_6_3: 1.13 RELEASE_1_6_6_2: 1.13 RELEASE_1_6_6: 1.13 RELEASE_1_6_5: 1.13 RELEASE_1_6_4: 1.13 RELEASE_1_6_3: 1.13 RELEASE_1_6_2: 1.13 RELEASE_1_6exp15: 1.13 RELEASE_1_6exp14: 1.13 RELEASE_1_6exp13: 1.12 RELEASE_1_6exp12: 1.12 RELEASE_1_6exp11: 1.12 RELEASE_1_6exp10: 1.12 RELEASE_1_6_exp9: 1.12 RELEASE_1_6exp8: 1.12 RELEASE_1_6exp7: 1.12 RELEASE_1_6exp6: 1.12 RELEASE_1_6exp5: 1.12 RELEASE_1_6exp4: 1.12 RELEASE_1_6exp3: 1.12 RELEASE_1_6exp2: 1.12 RELEASE_1_6exp1: 1.12 RELEASE_1_5_2: 1.11 RELEASE_1_5_1: 1.11 RELEASE_1_5: 1.10 RELEASE_1_5exp3: 1.10 RELEASE_1_5exp2: 1.7 RELEASE_1_5exp: 1.7 RELEASE_1_4: 1.5 RELEASE_1_3_1: 1.5 RELEASE_1_3: 1.5 TEST_1_3_2: 1.5 TEST_1_3_1: 1.5 TEST_1_3_0: 1.5 RELEASE_1_2: 1.5 RELEASE_1_1: 1.3 RELEASE_1_0: 1.3 start: 1.1.1.1 release_01_00: 1.1.1 keyword substitution: kv total revisions: 19; selected revisions: 19 description: ---------------------------- revision 1.18 date: 1999/04/19 17:41:43; author: ballen; state: Exp; lines: +9 -11 I was reading the gcc man-page and I discovered the compiler option -Wall. I tried it on my pN_chirp.c, and, to my horror, I found that I made a really bone-head error. I typed "if(L_52PN=1)", where obviously it should be "if(L_52PN==1)". This error is so egregious that it took me a while to figure out how it escaped my testing. ---------------------------- revision 1.17 date: 1999/04/15 21:31:06; author: ballen; state: Exp; lines: +23 -28 Wiseman modified indenting of loop in init_theta_of_freq(float freq). ---------------------------- revision 1.16 date: 1999/04/14 16:58:25; author: ballen; state: Exp; lines: +163 -155 Modified by Wiseman to incorporate 5/2 pN ---------------------------- revision 1.15 date: 1999/03/17 19:07:59; author: ballen; state: Exp; lines: +2 -2 Changed comparison of theta<0.0 to theta<=0.0 ---------------------------- revision 1.14 date: 1998/10/20 23:54:49; author: ballen; state: Exp; lines: +2 -2 Code would fail if theta==0 because 1.0/theta was not defined. ---------------------------- revision 1.13 date: 1998/01/23 17:59:39; author: ballen; state: Exp; lines: +2 -2 Revised copyright data. ---------------------------- revision 1.12 date: 1997/12/27 21:16:35; author: ballen; state: Exp; lines: +2 -2 Added ---------------------------- revision 1.11 date: 1997/08/11 20:49:45; author: ballen; state: Exp; lines: +3 -3 Changed gcheb etc to const float from static const float. ---------------------------- revision 1.10 date: 1997/07/26 01:14:58; author: ballen; state: Exp; lines: +15 -8 Alan Wiseman added leading-order spin-orbit and spin-spin to phase and frequency evolution. ---------------------------- revision 1.9 date: 1997/07/23 22:52:53; author: ballen; state: Exp; lines: +91 -1 Added Ben's stationary phase generator sp_filters(). ---------------------------- revision 1.8 date: 1997/07/22 20:44:54; author: ballen; state: Exp; lines: +3 -3 Corrected spelling error in error message. ---------------------------- revision 1.7 date: 1997/07/15 00:42:44; author: ballen; state: Exp; lines: +15 -7 Added by Hughes. ---------------------------- revision 1.6 date: 1997/07/09 23:24:39; author: ballen; state: Exp; lines: +95 -80 Changed float->double in various places to increase the accuracy with which taus and eta are calculated. ---------------------------- revision 1.5 date: 1997/04/02 05:53:03; author: ballen; state: Exp; lines: +442 -49 The most signficant changes to pN_chirp.c in a long time. I have added code that does inline trig and pow(x,1/3) very fast, using Chebyshev polynomial approximations and other hacks. ---------------------------- revision 1.4 date: 1997/03/27 04:24:19; author: ballen; state: Exp; lines: +5 -6 Fixed these complaints: Creating src/inspiral/Makefile using contents of SiteSpecific Successfully created src/inspiral/Makefile! Now in directory src/inspiral, running make gcc -O2 -Wall -m486 -I/usr/local/src/GRASP/include -c matched.c matched.c: In function `find_chirp': matched.c:253: warning: `maxi' might be used uninitialized in this function ar -vr /usr/local/src/GRASP/lib/libgrasp.a matched.o r - matched.o gcc -O2 -Wall -m486 -I/usr/local/src/GRASP/include -c postscript.c ar -vr /usr/local/src/GRASP/lib/libgrasp.a postscript.o r - postscript.o gcc -O2 -Wall -m486 -I/usr/local/src/GRASP/include -c temp_loc.c ar -vr /usr/local/src/GRASP/lib/libgrasp.a temp_loc.o r - temp_loc.o gcc -O2 -Wall -m486 -I/usr/local/src/GRASP/include -c temp_area.c ar -vr /usr/local/src/GRASP/lib/libgrasp.a temp_area.o r - temp_area.o gcc -O2 -Wall -m486 -I/usr/local/src/GRASP/include -c pN_chirp.c pN_chirp.c: In function `init_theta_of_freq': pN_chirp.c:292: warning: `oldth' might be used uninitialized in this function pN_chirp.c: In function `phase_of_theta': pN_chirp.c:369: warning: `idum1' might be used uninitialized in this function pN_chirp.c:370: warning: `fdum2' might be used uninitialized in this function ar -vr /usr/local/src/GRASP/lib/libgrasp.a pN_chirp.o r - pN_chirp.o Sucessfully ran make in directory src/inspiral! ---------------------------- revision 1.3 date: 1997/03/24 05:33:59; author: ballen; state: Exp; lines: +2 -1 Included the release name in the rcsid string. Testing release mechanism again. ---------------------------- revision 1.2 date: 1997/03/24 04:58:22; author: ballen; state: Exp; lines: +17 -0 Included an rcs id string for error message version control. ---------------------------- revision 1.1 date: 1997/03/18 00:44:59; author: cvs; state: Exp; branches: 1.1.1; Initial revision ---------------------------- revision 1.1.1.1 date: 1997/03/18 00:44:59; author: cvs; state: Exp; lines: +0 -0 Initial CVS/GRASP source =============================================================================