Commit 5357c9dc authored by NV KRISHNENDU's avatar NV KRISHNENDU Committed by NV KRISHNENDU
Browse files

print statements removed

parent 4f19e125
......@@ -1466,13 +1466,10 @@ LALInferenceModel *LALInferenceInitCBCModel(LALInferenceRunState *state) {
}
if((!!LALInferenceGetProcParamVal(commandLine,"--dQuadMon12") + !!LALInferenceGetProcParamVal(commandLine,"--dQuadMonSA")) > 1 )
{
fprintf(stdout,"Both options (from 12 and SA) are given . . Exiting . .\n");
{
XLALPrintError("Error: cannot use more than one of --dQuadMon12 and --dQuadMonSA.\n");
XLAL_ERROR_NULL(XLAL_EINVAL);
}
else
fprintf(stdout,"Only one option (from 12 and SA) is given . . Working fine . .\n");
LALSimInspiralSpinOrder spinO = LAL_SIM_INSPIRAL_SPIN_ORDER_ALL;
ppt=LALInferenceGetProcParamVal(commandLine, "--spinOrder");
......
......@@ -369,16 +369,12 @@ void LALInferenceROQWrapperForXLALSimInspiralChooseFDWaveformSequence(LALInferen
LALInferencedQuadMonSdQuadMonA(dQuadMonS,dQuadMonA,&dQuadMon1,&dQuadMon2);
XLALSimInspiralWaveformParamsInsertdQuadMon1(model->LALpars,dQuadMon1);
XLALSimInspiralWaveformParamsInsertdQuadMon2(model->LALpars,dQuadMon2);
fprintf(stdout,"Both dQuadMonS and dQaudMonA are sampled");
fprintf(stdout,"dQM1: %e, dQM2: %e, dQMS: %e, dQMA: %e \n",dQuadMon1,dQuadMon2,dQuadMonS,dQuadMonA);
}
else if(LALInferenceCheckVariable(model->params, "dQuadMon1")&&LALInferenceCheckVariable(model->params, "dQuadMon2")){
REAL8 dQuadMon1 = *(REAL8*) LALInferenceGetVariable(model->params, "dQuadMon1");
REAL8 dQuadMon2 = *(REAL8*) LALInferenceGetVariable(model->params, "dQuadMon2");
XLALSimInspiralWaveformParamsInsertdQuadMon1(model->LALpars,dQuadMon1);
XLALSimInspiralWaveformParamsInsertdQuadMon2(model->LALpars,dQuadMon2);
fprintf(stdout,"Both dQuadMon1 and dQaudMon2 are sampled");
fprintf(stdout,"dQM1: %e, dQM2: %e \n",dQuadMon1,dQuadMon2);
}
......@@ -876,16 +872,12 @@ void LALInferenceTemplateXLALSimInspiralChooseWaveform(LALInferenceModel *model)
LALInferencedQuadMonSdQuadMonA(dQuadMonS,dQuadMonA,&dQuadMon1,&dQuadMon2);
XLALSimInspiralWaveformParamsInsertdQuadMon1(model->LALpars,dQuadMon1);
XLALSimInspiralWaveformParamsInsertdQuadMon2(model->LALpars,dQuadMon2);
fprintf(stdout,"Both dQuadMonS and dQaudMonA are sampled");
fprintf(stdout,"dQM1: %e, dQM2: %e, dQMS: %e, dQMA: %e \n",dQuadMon1,dQuadMon2,dQuadMonS,dQuadMonA);
}
else if(LALInferenceCheckVariable(model->params, "dQuadMon1")&&LALInferenceCheckVariable(model->params, "dQuadMon2")){
REAL8 dQuadMon1 = *(REAL8*) LALInferenceGetVariable(model->params, "dQuadMon1");
REAL8 dQuadMon2 = *(REAL8*) LALInferenceGetVariable(model->params, "dQuadMon2");
XLALSimInspiralWaveformParamsInsertdQuadMon1(model->LALpars,dQuadMon1);
XLALSimInspiralWaveformParamsInsertdQuadMon2(model->LALpars,dQuadMon2);
fprintf(stdout,"Both dQuadMon1 and dQaudMon2 are sampled");
fprintf(stdout,"dQM1: %e, dQM2: %e \n",dQuadMon1,dQuadMon2);
}
......@@ -1493,16 +1485,12 @@ void LALInferenceTemplateXLALSimInspiralChooseWaveformPhaseInterpolated(LALInfer
LALInferencedQuadMonSdQuadMonA(dQuadMonS,dQuadMonA,&dQuadMon1,&dQuadMon2);
XLALSimInspiralWaveformParamsInsertdQuadMon1(model->LALpars,dQuadMon1);
XLALSimInspiralWaveformParamsInsertdQuadMon2(model->LALpars,dQuadMon2);
fprintf(stdout,"Both dQuadMonS and dQaudMonA are sampled");
fprintf(stdout,"dQM1: %e, dQM2: %e, dQMS: %e, dQMA: %e \n",dQuadMon1,dQuadMon2,dQuadMonS,dQuadMonA);
}
else if(LALInferenceCheckVariable(model->params, "dQuadMon1")&&LALInferenceCheckVariable(model->params, "dQuadMon2")){
REAL8 dQuadMon1 = *(REAL8*) LALInferenceGetVariable(model->params, "dQuadMon1");
REAL8 dQuadMon2 = *(REAL8*) LALInferenceGetVariable(model->params, "dQuadMon2");
XLALSimInspiralWaveformParamsInsertdQuadMon1(model->LALpars,dQuadMon1);
XLALSimInspiralWaveformParamsInsertdQuadMon2(model->LALpars,dQuadMon2);
fprintf(stdout,"Both dQuadMon1 and dQaudMon2 are sampled");
fprintf(stdout,"dQM1: %e, dQM2: %e \n",dQuadMon1,dQuadMon2);
}
......
Supports Markdown
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