Publication Date
1999
Journal or Book Title
ASTRONOMICAL JOURNAL
Abstract
An expansion of a density field or particle distribution in basis functions that solve the Poisson equation both provides an easily parallelized N-body force algorithm and simplifies perturbation theories. The expansion converges quickly and provides the highest computational advantage if the lowest order potential-density pair in the basis looks like the unperturbed galaxy or stellar system. Unfortunately, there are only a handful of such bases in the literature that limit this advantage. This paper presents an algorithm for deriving these bases to match a wide variety of galaxy models. The method is based on efficient numerical solution of the Sturm-Liouville equation and can be used for any geometry with a separable Laplacian. Two cases are described in detail. First, for the spherical case, the lowest order basis function pair may be chosen to be exactly that of the underlying model. The profile may be (1) cuspy or have a core and (2) truncated or of infinite extent. Second, the method yields a three-dimensional cylindrical basis appropriate for studying galactic disks. In this case, the vertical and radial bases are coupled; the lowest order radial part of the basis function can be chosen to match the underlying profile only in the disk plane. Practically, this basis is still a very good match to the overall disk profile and converges in a small number of terms. The ease of combining several bases makes this force solver ideally suited to multicomponent simulations, such as those of disks embedded in halos.
DOI
https://doi.org/10.1086/300669
Pages
629-637
Volume
117
Issue
1
Recommended Citation
Weinberg, MD, "An adaptive algorithm for N-body field expansions" (1999). ASTRONOMICAL JOURNAL. 70.
https://doi.org/10.1086/300669
Comments
This is a pre-published version which is collected from arXiv link. The published version is at http://iopscience.iop.org/1538-3881/117/1/629