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

Bug when KZ(2) > 2 #23

Open
dipto4 opened this issue Mar 11, 2020 · 1 comment
Open

Bug when KZ(2) > 2 #23

dipto4 opened this issue Mar 11, 2020 · 1 comment

Comments

@dipto4
Copy link

dipto4 commented Mar 11, 2020

Hello,
I set KZ(2) > 2 so that in check.f, the timesteps can be changed. However, when KZ(2) > 2, I get the following error after sometime:
Error: No delay particle I 5 STEP 0.25000000000000000

What is going wrong here?

@lwang-astro
Copy link
Collaborator

Sorry for late reply. There is an index array of particles that sorted by the time steps. It is used to manage the block time step methods. When a KS binary form or a star is removed due to stellar evolution or escaping, the index array should have a consistent change. This error indicates one particle (probably a termination of KS or chain) is not properly insert to the index array. I suggest not to use KZ(2)>2, but keep it KZ(2)=1. If a calculation halt appears, it is better that you manually adjust the parameters (RMIN, DTMIN, ETA) in a restart file instead of automatically reduce time steps using KZ(2)>2. The latter anyway significantly reduces the performance of the code.

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