From 6979f4e621c19bffd6071094dbb3de85ce05c9ca Mon Sep 17 00:00:00 2001 From: Hanno Rein Date: Sat, 25 Jan 2025 10:08:43 -0500 Subject: [PATCH] Added error message for BS not supporting MEGNO --- src/integrator_bs.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/integrator_bs.c b/src/integrator_bs.c index 6aed4fe20..75c7c508d 100644 --- a/src/integrator_bs.c +++ b/src/integrator_bs.c @@ -338,6 +338,10 @@ static void nbody_derivatives(struct reb_ode* ode, double* const yDot, const dou void reb_integrator_bs_part1(struct reb_simulation* r){ + if (r->calculate_megno){ + reb_simulation_error(r, "The BS integrator does currently not support MEGNO."); + } + struct reb_ode** odes = r->odes; int Ns = r->N_odes; for (int s=0; s < Ns; s++){