Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Back calculations using PeTar #49

Open
jikrant3 opened this issue Apr 15, 2024 · 1 comment
Open

Back calculations using PeTar #49

jikrant3 opened this issue Apr 15, 2024 · 1 comment

Comments

@jikrant3
Copy link
Contributor

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.

@lwang-astro
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants