View Single Post
  #65 (permalink)  
Old 29-April-2008, 03:17 AM
Cougar's Avatar
Cougar Cougar is online now
Senior Member
 
Join Date: Aug 2003
Location: The Wild West
Posts: 3,947
Default

Quote:
Originally Posted by Jeff Root View Post
I know very little about how gravity simulations are done in general, or how
grav is doing it in particular, but I suspect that it isn't practical to simulate
individual stars. There are estimated to be something like 300 billion stars
in the Milky Way....
Well, grav says he's using close to 400,000 points. Whether they're "stars" or little "regions" of space with a certain mass, it shouldn't matter. Apparently he is polling each point, running its characteristics through a single closed-form algorithm to tell it where to move, then on to the next point. That is indeed considerably more efficient than polling each point and running the characteristics through a simple algorithm for every other star in the galaxy, and adding up the results to make a single move.

Somebody would have to pay me to check the math grav is churning out, though. Objects orbiting on the outer rim of the galaxy should have just a little more acceleration due to gravity than an object close to the rim.
__________________
Everyone is entitled to his own opinion, but not his own facts.
Reply With Quote