Closed benvlehmann closed 3 months ago
Thanks a lot for reporting this and especially for providing these great examples! This is indeed a bug in the python wrapper!
I've simply remove the configure_ghostboxes
function. I just doesn't do anything useful, it just tried to set sim.N_ghost_x, sim.N_ghost_y, sim.N_ghost_z
like you already figured out. I've updated the examples accordingly. Again, thanks a lot for catching that!
Environment Which version of REBOUND are you using and on what operating system?
Describe the bug The
configure_ghostboxes
method has no effect on the simulation. Directly setting e.g.N_ghost_x
does have the expected effect.In particular, in the example below, I expected the second simulation to take longer than the first one, and for the output to be different. However, they take the same time and have identical output. The third simulation takes longer and has a different output, as expected.
Please forgive me if I've misunderstood the use of
configure_ghostboxes
. I followed the example notebook "Simulating Saturn's rings" and noticed that changing the arguments toconfigure_ghostboxes
had no effect.To Reproduce