Abstract
I describe a nested-grid particle-mesh (NGPM) code designed to study gravitational instability in three-dimensions. The code is based upon a standard PM code. Within the parent grid I am able to define smaller sub-grids allowing us to substantially extend the dynamical range in mass and length. I treat the fields on the parent grid as background fields and utilize a one-way interactive meshing. Waves on the coarse parent grid are allowed to enter and exit the subgrid, but waves from the subgrid are precluded from effecting the dynamics of the parent grid. On the parent grid the potential is computed using a standard multiple Fourier transform technique. On the subgrid I use a Fourier transform technique to compute the subgrid potential at high resolution. I impose quasi-isolated boundary conditions on the subgrid using the standard method for generating isolated boundary conditions, but rather than using the isolated Green function I use the Ewald method to compute a Green function on the subgrid which possesses the full periodicity of the parent grid. I present a detailed discussion of my methodology and a series of code tests.

This publication has 0 references indexed in Scilit: