I would like some introductory level references for building an n-body gravity simulation. I work for the supercomputer challenge [ http://challenge.nm.org/ ] and I build the teaching models each year we use to train teachers in computer modeling and provide as an example model for the students during the year. We have done n-body a few times in the past with all levels of the challenge, however, they were particle-particle but I would like to build a n-body that incorporates the speed of gravity and if possible uses a discretized domain. I started looking at mesh n-body simulations, but I’ve only found high level information thus far. I wonder if this is the best approach and if so how can I find some more introductory level information because eventually I would like to find a way to bring it down to our student’s level [high school]. I would like to get knee deep in the understanding and building of this type of simulation so I imagine it will require the use of C for power and parallelization, however, our lower level students will be using netlogo [ http://ccl.northwestern.edu/netlogo/ ]. I would like to go as far as building a galaxy, but for our high school students a single solar system will be a good starting point but I do want to make sure the model does account for the speed of gravity.