Commit 1f0fea9f authored by HyungWon Lee's avatar HyungWon Lee

remove unecessary, inessential codes

parent 3d3763b7
......@@ -1080,8 +1080,7 @@ int XLALSimInspiralChooseFDWaveform(
if( !checkTransverseSpinsZero(S1x, S1y, S2x, S2y) )
ABORT_NONZERO_TRANSVERSE_SPINS(LALparams);
if( !LALSimInspiralEccentricityIsCorrect(eccentricity, LALparams) ){
/* we set f_ecc to be f_ref for wrong eccentricity specification after long discussion.
ABORT_WRONG_ECCENTRICITY(LALparams); */
/* we set f_ecc to be f_ref for wrong eccentricity specification after long discussion. */
REAL8 f_ecc = f_ref;
if( f_ecc == 0 ) f_ecc = f_min;
XLALSimInspiralWaveformParamsInsertEccentricityFreq(LALparams, f_ecc);
......
......@@ -543,7 +543,6 @@ int XLALSimInspiralTaylorF2(
return ret;
}
/* include eccentric TaylorF2 waveform added by KGWG PE team */
#include "LALSimInspiralTaylorF2Ecc.c"
/** @} */
......
......@@ -279,18 +279,6 @@ XLAL_ERROR_NULL(XLAL_EINVAL);\
XLAL_ERROR(XLAL_EINVAL);\
} while (0)
/*
* Macro procedure for aborting if not correct eccentricity parameters are given
* if eccentricity > 0 ,then f_ecc > 0 also.
* default f_ecc = -1.0, when do not specify
*/
#define ABORT_WRONG_ECCENTRICITY(LALparams)\
do {\
XLALDestroyDict(LALparams);\
XLALPrintError("XLAL Error - %s: Not correct eccentricity poarameters are given, eccentricity is greater than zero without specifying f_ecc. This approximant does not support this case.\n", __func__);\
XLAL_ERROR(XLAL_EINVAL);\
} while (0)
/* Internal utility macro to check all spin components are zero
returns 1 if all spins zero, otherwise returns 0 */
#define checkSpinsZero(s1x, s1y, s1z, s2x, s2y, s2z) \
......
......@@ -403,7 +403,7 @@ static int dump_FD(FILE *f, COMPLEX16FrequencySeries *hptilde,
fprintf(f, "# f hptilde.re hptilde.im hctilde.re hctilde.im\n");
for (i=0; i < hptilde->data->length; i++)
fprintf(f, "%25.16e %25.16e %25.16e %25.16e %25.16e\n",
fprintf(f, "%.16e %.16e %.16e %.16e %.16e\n",
hptilde->f0 + i * hptilde->deltaF,
creal(dataPtr1[i]), cimag(dataPtr1[i]), creal(dataPtr2[i]), cimag(dataPtr2[i]));
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment