PeTar is a high-performance N-body code for modelling the evolution of star clusters and tidal streams, including the effect of galactic potential, dynamics of binary and hierarchical system, single and binary stellar evolution.
We want to back calculate the positions of a small Nbody system (only dynamics, no stellar evolution is needed).
Is there a way to do back-calculations using PeTar? We tried giving negative time-steps, which does not work.
PeTar does not support negative time steps, but you can reverse the velocities of each star to integrate backwards instead of using a negative time step.
We want to back calculate the positions of a small Nbody system (only dynamics, no stellar evolution is needed). Is there a way to do back-calculations using PeTar? We tried giving negative time-steps, which does not work.
If there is a workaround, do let us know.