I have played a little with N body simulations and I can't but be amazed about how numerically unstable physical simulations are, and how much the result can change depending on trivial simplifications.
I have played a little with N body simulations and I can't but be amazed about how numerically unstable physical simulations are, and how much the result can change depending on trivial simplifications.
A good (but pretty shallow) overview exists on Wikipedia about other approaches [2] (under "Calculation optimizations").
[1] https://en.wikipedia.org/wiki/Barnes%E2%80%93Hut_simulation
[2] https://en.wikipedia.org/wiki/N-body_simulation
EDIT: It's occurred to me that you were referring more to stability of the simulation, rather than what optimisations are used. I have less information to offer on that part, and I agree that it would be a huge problem, if complete accuracy was desired. I suspect, however, that in the kinds of simulations we're talking about, it's more about a general result such as "the whole galaxy should be divergent", not whether a single star went left or right when interacting with a black hole.
[1] https://en.wikipedia.org/wiki/Uncertainty_quantification