Skip to content

Commit

Permalink
Added error message for BS not supporting MEGNO
Browse files Browse the repository at this point in the history
  • Loading branch information
hannorein committed Jan 25, 2025
1 parent 6c2578b commit 6979f4e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/integrator_bs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++){
Expand Down

0 comments on commit 6979f4e

Please sign in to comment.