Commit 0122b359 authored by Riccardo Sturani's avatar Riccardo Sturani
Browse files

Merge branch 'warning_seobprec_aligned' into 'master'

Added warning when almost aligned spins are passed to SEOBNRv3 -> SEOBNRv2

See merge request !322
parents 4c8f221c 98022fba
Pipeline #23484 passed with stages
in 28 minutes and 7 seconds
......@@ -665,7 +665,8 @@ int XLALSimIMRSpinEOBWaveformAll(
REAL8 EPS_ALIGN = 1.0e-4, incA = inc;
bool SpinsAlmostAligned = ( fabs(theta1Ini) <= EPS_ALIGN || fabs(theta1Ini) >= LAL_PI - EPS_ALIGN) && ( fabs(theta2Ini) <= EPS_ALIGN || fabs(theta2Ini) >= LAL_PI - EPS_ALIGN);
if ( SpinsAlmostAligned ) {
if (debugPK) {XLAL_PRINT_INFO("Both spins are almost aligned/antialigned to initial LNhat: we use V2 dynamics\n");
XLAL_PRINT_INFO("Both spins are almost aligned/antialigned to initial LNhat: we use V2 dynamics\n");
if (debugPK) {
XLAL_PRINT_INFO("spin1Norm spin2Norm %e %e\n", spin1Norm, spin2Norm);
}
spin1[0] = 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