Welcome to MilkyWay@home

Nbody Status Update


Advanced search

Message boards : Application Code Discussion : Nbody Status Update
Message board moderation

To post messages, you must log in.

AuthorMessage
Sidd
Project developer
Project tester
Project scientist

Send message
Joined: 19 May 14
Posts: 73
Credit: 356,131
RAC: 0
100 thousand credit badge6 year member badge
Message 63768 - Posted: 25 Jun 2015, 15:57:05 UTC

Hey All,

Just a quick update on the status of Nbody. I discovered that the hanging that people were experiencing were due to the Newton Raphson root finding algorithm which would get stuck in an infinite loop. After looking for why this occurred for sometime, I decided to switch to a bisection method which is insured not to get stuck.

The slow nature of the initialization of the plummer was found to be an error in the calculation of one of the limits of integration in a crucial integral that was being calculated. What a time it was finding that! With that limit fixed, it seems that the initialization takes a few seconds!

I am currently unit testing the code and hopefully should get a lovely new version in a couple of weeks.

Cheers,
Sidd
ID: 63768 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Application Code Discussion : Nbody Status Update

©2020 Astroinformatics Group