astro-ph0501642/ms.tex
1: %%
2: %% Beginning of file 'sample.tex'
3: %%
4: %% Modified 2004 January 9
5: %%
6: %% This is a sample manuscript marked up using the
7: %% AASTeX v5.x LaTeX 2e macros.
8: 
9: %% The first piece of markup in an AASTeX v5.x document
10: %% is the \documentclass command. LaTeX will ignore
11: %% any data that comes before this command.
12: 
13: %% The command below calls the preprint style
14: %% which will produce a one-column, single-spaced document.
15: %% Examples of commands for other substyles follow. Use
16: %% whichever is most appropriate for your purposes.
17: %%
18: \documentclass[preprint2]{aastex}
19: %% manuscript produces a one-column, double-spaced document:
20: 
21: %% \documentclass[manuscript]{aastex}
22: 
23: %% preprint2 produces a double-column, single-spaced document:
24: 
25: %% \documentclass[preprint2]{aastex}
26: 
27: %% Sometimes a paper's abstract is too long to fit on the
28: %% title page in preprint2 mode. When that is the case,
29: %% use the longabstract style option.
30: 
31: %% \documentclass[preprint2,longabstract]{aastex}
32: 
33: %% If you want to create your own macros, you can do so
34: %% using \newcommand. Your macros should appear before
35: %% the \begin{document} command.
36: %%
37: %% If you are submitting to a journal that translates manuscripts
38: %% into SGML, you need to follow certain guidelines when preparing
39: %% your macros. See the AASTeX v5.x Author Guide
40: %% for information.
41: 
42: \newcommand{\vdag}{(v)^\dagger}
43: \newcommand{\myemail}{gauthier@astro.utoronto.ca}
44: 
45: %% You can insert a short comment on the title page using the command below.
46: 
47: 
48: 
49: %% If you wish, you may supply running head information, although
50: %% this information may be modified by the editorial offices.
51: %% The left head contains a list of authors,
52: %% usually a maximum of three (otherwise use et al.).  The right
53: %% head is a modified title of up to roughly 44 characters.
54: %% Running heads will not print in the manuscript style.
55: 
56: \shorttitle{N-body}
57: \shortauthors{Gauthier \& Martel}
58: 
59: %% This is the end of the preamble.  Indicate the beginning of the
60: %% paper itself with \begin{document}.
61: 
62: \begin{document}
63: 
64: %% LaTeX will automatically break titles if they run longer than
65: %% one line. However, you may use \\ to force a line break if
66: %% you desire.
67: 
68: \title{Long-term stability of collisionless equilibrium configurations;
69: algorithms}
70: 
71: %% Use \author, \affil, and the \and command to format
72: %% author and affiliation information.
73: %% Note that \email has replaced the old \authoremail command
74: %% from AASTeX v4.0. You can use \email to mark an email address
75: %% anywhere in the paper, not just in the front matter.
76: %% As in the title, use \\ to force line breaks.
77: 
78: \author{Jean-Ren\'e Gauthier\altaffilmark{1,2} and 
79: Hugo Martel\altaffilmark{2,3}}
80: 
81: \altaffiltext{1}{Department of Astronomy \& Astrophysics, 
82: University of Toronto, Toronto, ON, M5S 1A7, Canada}
83: 
84: \altaffiltext{2}{D\'epartement de physique, g\'enie physique et optique, 
85: Universit\'e Laval, Qu\'ebec, QC, G1K 7P4, Canada}
86: 
87: \altaffiltext{3}{Department of Astronomy,
88: University of Texas, Austin, TX, 78712, USA}
89: 
90: %% Notice that each of these authors has alternate affiliations, which
91: %% are identified by the \altaffilmark after each name.  Specify alternate
92: %% affiliation information with \altaffiltext, with one command per each
93: %% affiliation.
94: 
95: %% Mark off your abstract in the ``abstract'' environment. In the manuscript
96: %% style, abstract will output a Received/Accepted line after the
97: %% title and affiliation information. No date will appear since the author
98: %% does not have this information. The dates will be filled in by the
99: %% editorial office after submission.
100: 
101: \begin{abstract}
102: We present the summary of the theoretical aspects and algorithms used in an undergraduate (JRG) summer project 
103: based on numerical N-body simulations of collisionless systems. 
104: First, we review the importance of numerical N-body simulations in astrophysics. We introduce the different codes used and their performances. 
105: We then introduce four famous density profiles : Hernquist, NFW, truncated isothermal sphere, and Plummer. The history of these profiles and 
106: their dynamical properties are discussed in the third section. In the fourth section, we present the Barnes \& Hut tree code, its features and performances.
107: We then explain how to build and incorporate a multiple time stepping scheme in a tree code. The fifth section is dedicated to the different physical measurements we used to characterize the dynamics of the N-body system. Finally, we describe the future work that will be done with these codes, mainly the study of the adiabatic growth of a black hole at the center of a spherical distribution of stars.    
108: \end{abstract}
109: 
110: %% Keywords should appear after the \end{abstract} command. The uncommented
111: %% example has been keyed in ApJ style. See the instructions to authors
112: %% for the journal to which you are submitting your paper to determine
113: %% what keyword punctuation is appropriate.
114: 
115: %% Authors who wish to have the most important objects in their paper
116: %% linked in the electronic edition to a data center may do so in the
117: %% subject header.  Objects should be in the appropriate "individual"
118: %% headers (e.g. quasars: individual, stars: individual, etc.) with the
119: %% additional provision that the total number of headers, including each
120: %% individual object, not exceed six.  The \objectname{} macro, and its
121: %% alias \object{}, is used to mark each object.  The macro takes the object
122: %% name as its primary argument.  This name will appear in the paper
123: %% and serve as the link's anchor in the electronic edition if the name
124: %% is recognized by the data centers.  The macro also takes an optional
125: %% argument in parentheses in cases where the data center identification
126: %% differs from what is to be printed in the paper.
127: 
128: \keywords{methods: \emph{n}-body simulations --- Galaxies: Kinematics and Dynamics --- Galaxies: Structure
129: --- cosmology: Miscellaneous}
130: 
131: 
132: \section{Introduction : numerical N-body simulations in astrophysics}
133: Numerical simulations, and particularly N-body simulations,  play an important r\^ole 
134: in astrophysics and cosmology. Before the advances in computer developments, it was impossible
135: for astrophysicists to compute the evolution of a large system of particles evolving 
136: under their gravitational influence. The amount of calculation growing like $O(N^2)$, the direct
137: summation for more than a modest number of particles is unimaginable. 
138: In 1941, Holmberg \citep{hol41} did a pioneering study of the tidal disturbances due to a close 
139: encounter between two nebulae. He studied the tidal deformations by reconstructing the orbits of 
140: each mass elements. He used light bulbs to represent these elements (replacing gravitation by light). The power 
141: of the bulbs is proportional to the mass and the total light was measured by a photocell. Each nebulae was represented
142: by 37 light bulbs. Even with this primitive but quite ingenious setup, the creation of spiral arms was detected and a good 
143: estimate of the energy loss was also provided. 
144: 
145: During the 60's and 70's with the development of computers, scientists
146: developed direct summation codes to evaluate the potential exerted on a few hundred particles. 
147: In 1970, Peebles studied the collapse of a cloud of $300$ particles as a model of cluster formation (see \citealt{kly96}). 
148: Six years later, White studied the collapse of $700$ particles with different masses. Unfortunately, with these low
149: resolution simulations, numerical artifacts (two-body relaxation) are important and the results from these simulations
150: were not reliable. The first cosmological simulations were made in the mid 70's. 
151: Most of these simulations of structure formation confirm the existence of a flat spectrum of initial fluctuations.
152: 
153: The last thirty years have seen the development of several N-body codes. Each one is particularly suitable to study a specific 
154: range of dynamical problems. Each algorithm has its strengths and weaknesses. In the next few paragraphs, we describe
155: the characteristics of a few popular codes for collisionless systems, i.e. the study of internal dynamics of galaxy, 
156: interactions between galaxies and the clustering in an expanding universe \citep{sel87}. 
157: 
158: \subsection{Direct summation codes or particle-particle method}
159: In this algorithm, the force is computed exactly for each particle. If the system consists of $N$ particles, 
160: the number of operations to evaluate the force exerted on these particles is proportional to $N^2$. 
161: This method is flexible, but has a high computational cost and is limited to systems with $N \approx 1000$.  
162: Usually, the system is integrated using a second-order scheme like leapfrog or Runge-Kutta. The developers 
163: of these codes were aware of the fact that when particles were closed to each other, the acceleration becomes 
164: important and one might use multiple timesteps (see section 3) in the integration scheme in order to compute
165: the particles trajectories accurately. 
166: 
167: \subsection{Grid Methods (Particle-Mesh)}
168: This method is the fastest when one has to deal with large $N$. The number of computation is of order $O(N + N_g\log N_g)$
169: where $N_g$ represents the number of grid points. This method determines the force acting on each particle 
170: by evaluating the gravitational field. The trick is to associate particles to nearby point mesh. Hence, each mesh point has
171: a defined density attribute. The gravitational potential is evaluated by solving the Poisson equation
172: \begin{equation}
173: \nabla^2 \phi = 4\pi G\rho
174: \end{equation}
175: on a number of grid points within a fixed volume in space. The force on each particle is obtained via
176: interpolation techniques. 
177: 
178: There are several ways to assigning particles to the mesh, but one must be careful with the fluctuations of the force when 
179: the particles are close to each other. The continuity of the derivatives the function used to assign particles to mesh is 
180: the first criterion. 
181: 
182: The simplest assignment scheme is the ``Nearest-Grid-Point'' (NGP) scheme. The density at a mesh point is determined by
183: the number of particles in the cell centered on the point divided by the volume of the cell. However, the forces
184: are discontinuous and this technique is rarely used. There are other more accurate 
185: assignment schemes. Two of them
186: are the ``Cloud-in-Cell'' (CIC) and 
187: ``Triangular-Shaped-Cloud'' (TSC) . The former one gives a continuous force, but the first derivative is 
188: discontinuous. The latter is more accurate. It employs an interpolation function that is piecewise quadratic and each particle is
189: assigned to a larger number of mesh points. 
190: 
191: The grid methods have been successful in simulations of clustering in an expanding universe and in studying galactic disk dynamics.      
192: However, these techniques have several limitations. First, the spatial resolution is roughly the distance between mesh points. 
193: The geometry imposed by the grid cannot be adjusted to the changing shape of the system.  Also, the evaluation of the potential
194: on grid points where there are no nearby particles is a waste of CPU time and a weakness of the method. 
195: 
196: \subsection{Tree Codes}     
197: The goal of a tree code is to regroup particles to reduce the number of contribution to the force acting on any particle. 
198: Basically, this technique has a lower computational cost than the direct summation scheme. The calculations grow like $O(N\log N)$. 
199: In this scheme, the contributions from nearby particles have to be summed directly, but the particles that are far away can 
200: be regrouped and replaced by a monopole term in the summation. At each step, the``grouping" can be different because the particles
201: move in space. Hence, one must rebuild the tree at each time step. This is one drawback of the method. The first two well-known 
202: tree codes were designed by Appel in 1985 and Barnes \& Hut in 1986. Section 3 is dedicated to the Barnes \& Hut tree code.  
203: 
204: This technique has advantages and weaknesses. First, the tree structure takes into account the shape of the system \citep{bar86}. There is 
205: no fixed geometry. Second, there is no time lost in evaluating the potential in regions devoid of matter. 
206: However, this technique is slower than PM methods. Also, it is more difficult to implement.  
207: 
208: Finally, the method has been particularly successful in studying the collisions between galaxies, the internal galactic structures and 
209: cosmological structures formation. 
210: 
211: \section{Models}
212: The previous paragraphs introduced basic concepts related to numerical $N$-body techniques. In this section, we present the main physical quantities of four different spherical models used and/or discovered in numerical simulations : Hernquist, NFW, 
213: Plummer, and TIS density profiles. For each one of them, we include the cumulative mass function, the gravitational potential and the 
214: distribution function if an approximation or analytical expression can be found.  
215: 
216: \subsection{The Hernquist density profile}
217: \citet{her90} first introduces this density profile as a fit to the 
218: de Vaucouleurs surface brightness profile,
219: \begin{equation}
220: \frac{I(R)}{I(R_e)} = \exp \bigg[-7.67 \Big( \frac{R}{R_e} \Big) ^{0.25} \bigg] -1
221: \end{equation}
222: where $I(R_e)$ and $R_e$ represent respectively half of the total 
223: luminosity and the isophote value corresponding to it. The de Vaucouleurs profile 
224: is a good fit for the surface brightness of most elliptical galaxies. It is also a good
225: approximation for the distribution of stars in the bulge of spiral galaxies. 
226: The profile has the following shape,
227: \begin{equation}
228: \rho(r) = \frac{M}{2\pi}\frac{a}{r}\frac{1}{\left(r+a\right)^3} \; .
229: \label{hernquist}
230: \end{equation}
231: $M$ is the total mass of the system and $a$ is a scale length.
232: The potential can be found via the Poisson equation. Using the preceding equation, one finds
233: \begin{equation}
234: \phi(r) = -\frac{GM}{r+a} \; .
235: \label{pothernquist}
236: \end{equation}
237: It is possible to express the density in function of the potential $\phi(\rho)$
238: This enables us to evaluate analytically the distribution function (DF) \citep{bin87}
239: of the system,
240: \begin{equation}
241: f(\epsilon) = \frac{1}{ \sqrt{8} \pi^2}\frac{d}{d\epsilon}\int_{0}^{\epsilon}\frac{d\rho}{d\Psi}\frac{d\Psi}{\sqrt{\epsilon - \Psi}} \; .
242: \label{distributionfunction}
243: \end{equation} 
244: The solution for the Hernquist's profile is  
245: {\setlength\arraycolsep{2pt}
246: \begin{eqnarray}
247: f(E) &=& \frac{M}{8\sqrt{2}\pi^3 a^3 v_g^3}\frac{1}{\left(1-q^2\right)^{5/2}}\times {} \nonumber \\
248: & &{} \times [ 3\sin^{-1}q + q(1-q^2)^{1/2}(1-2q^2) \times {} \nonumber \\
249: & &{} \times (8q^4-8q^2-3)] \,
250: \label{hernquistdf}
251: \end{eqnarray}}
252: where 
253: \begin{equation}
254: q = \biggl(-\frac{aE}{GM}\biggr)^{1/2}
255: \end{equation}
256: and
257: \begin{equation}
258: v_g = \biggl(\frac{GM}{a}\biggr)^{1/2} \; .
259: \end{equation}
260: Useful approximations can be made on this distribution to find the limiting case when $q \rightarrow 0$ 
261: and $q \rightarrow 1 $. From equation~(\ref{hernquist}) and (\ref{pothernquist}) one can find the the velocity 
262: dispersion by solving the Jeans equation. For an isotropic system [$\sigma_r = \sigma_{\theta} = \sigma(\phi)$]
263: where $r \ll a$, 
264: \begin{equation}
265: \sigma_{r}^{2} \approx \frac{GM}{a}\frac{r}{a}\ln\frac{a}{r} \; . 
266: \label{hernveldisp}
267: \end{equation}
268: The model provides a good fit for the de Vaucouleurs $R^{1/4}$ 
269: law [see Fig. 4 in Hernquist (1990)]. Its distribution function [eq.~(\ref{hernquistdf})] is found analytically. 
270: 
271: \subsection{The Plummer profile : a model for the distribution of stars in globular clusters}
272: %Plummer paper 1911 talk about how to set up the initial conditions Aarseth, Henon, Wielen 1974
273: The Plummer model \citep{plu11} has been widely used in numerical simulations of star cluster dynamics (e.g. \citealt{aar74}). 
274: It is a polytrope of index 5 given by : 
275: \begin{equation}
276: \rho(r) = \frac{3}{4\pi}\frac{M}{R^3}\frac{1}{\left[1+(r/R)^2 \right]^{5/2}} \; .
277: \label{plummer}
278: \end{equation}
279: where $M$ represents the total mass of the cluster and $R$ is a scale length. The mass enclosed in a radius $r$ is determined by
280: the following equation : 
281: \begin{equation}
282: M(r) = M\frac{r^3}{R^3 \left[ 1+(r/R)^2 \right]^{3/2}}
283: \label{massplummer}
284: \end{equation} 
285: and the gravitational potential is given by
286: \begin{equation}
287: U(r) = -\frac{GM}{R}\frac{1}{\left[ 1+ (r/R)^2 \right]^{1/2}} \; . 
288: \label{potplummer}
289: \end{equation}
290: The density profile can be expressed in terms of the gravitational potential. The distribution function 
291: [see eq.~(\ref{distributionfunction})]
292: can be found analytically : 
293: %\begin{eqnarray} 
294: %f(E) &=& {\frac{24\sqrt{2}\pi^3}{7}\frac{R^2 (-E)^{7/2}}{G^5 M^4}} \textrm{ for E }< 0 \\
295: %f(E) &=& 0 \textrm{ for E }> 0. \nonumber
296: %\label{dfplummer}
297: %\end{eqnarray}
298: \begin{equation} 
299: f(E)=\cases{\displaystyle
300: \frac{24\sqrt{2}\pi^3}{7}\frac{R^2 (-E)^{7/2}}{G^5 M^4}\,, & $E \leq 0$\,; \cr\noalign{\medskip}
301:        0\,,                                                & $E > 0$\,.\cr}
302: \label{dfplummer}
303: \end{equation}
304: 
305: The Hernquist and Plummer models can be easily used as initial conditions for N-body simulations. \citet{aar74}
306: used a simple method when it is possible to express analytically the radius in function of the mass : 
307: \begin{equation}
308: M(r) \to r(M) \; .
309: \end{equation}  
310: 
311: The technique needs the creation of a subroutine which generates five random numbers $X_1$, $X_2$, $X_3$, $X_4$ and $X_5$
312: (uniform deviate between 0 and 1). Assume that 
313: $M(r\to \infty)$ is normalized and $G = M = R = 1$, then $r_j$ (the radius of the $j^{\rm th}$ particle) is determined by $r_j(X_1)$. In the case of 
314: the Plummer model, 
315: \begin{equation}
316: r_j = (X_1^{-2/3} -1)^{-1/2} \; .
317: \label{radiusdetermination}
318: \end{equation} 
319: The $x_j$, $y_j$ and $z_j$ components can be evaluated using $X_2$ and $X_3$ using the following equations : 
320: \begin{eqnarray}
321: z_j &=& (1 - 2X_2)r_j \nonumber \\
322: x_j &=& (r_j^2 - z_j^2)^{1/2}\cos (2\pi X_3) \\
323: y_j &=& (r_j^2 - z_j^2)^{1/2}\sin (2\pi X_3) \nonumber \; .
324: \label{xyzdetermination}
325: \end{eqnarray}
326: 
327: For the velocity, one has to evaluate the escape velocity ($V_e$) at each $r_j$. We can write $V_j/V_e = q_j$ and insert this ratio into 
328: equation~(\ref{dfplummer}). The probability distribution of $q_j$ is then proportional to 
329: \begin{equation}
330: g(q_j) = q_j^2(1-q_j^2)^{7/2}
331: \label{velocitydf}
332: \end{equation}
333: (note : the factor $q_j^2$ comes from the fact that we use the \emph{speed} distribution instead of the velocity component distribution). The values of $q_j$ range between
334: 0 and 1 and $g(q_j)$ is always less than 0.1. By using $X_4$ and $X_5$, we can set $q_j = X_4$ if $X_4$ and $X_5$ fulfill simultaneously the following
335: criterion : 
336: \begin{equation}
337: 0.1X_5 < g(X_4) \; . 
338: \label{velcriterion}
339: \end{equation}
340: The velocity components are determined using the same trick as for the position. 
341:  
342: \subsection{NFW profile as a result of cosmological simulations}
343: % talk also about the Moore profile Moore 1999
344: The Navarro-Frenk-White (hereafter NFW) profile \citep{nav95, nav96, nav97} is 
345: the profile resulting from the formation of cold dark matter halos in a hierarchical
346: clustering universe. NFW find that the halo profiles have the same shapes, independent
347: of the halo mass, initial density fluctuation spectrum and the values of the cosmological 
348: parameters. 
349: 
350: The profile has the following shape \citep{nav97} : 
351: \begin{equation}
352: \frac{\rho(r)}{\rho_{\rm crit}} = \frac{\delta_c}{r/r_s \left( 1+ r/r_s \right)^2}
353: \label{nfw}
354: \end{equation} 
355: where $r_s$ is a scale radius, $\delta_c$ is a dimensionless density and $\rho_{crit} = 3H^2/8\pi G$ corresponding to the critical density for a closed universe. 
356: 
357: The value of $\delta_c$ is strongly correlated with the value of the halo mass. Less massive
358: halos have higher $\delta_c$, indicating a higher redshift of collapse. 
359: 
360: From the value of the halo ``concentration", $c= r_{200}/r_s$ ($r_{200}$ is the halo radius enclosing a density equals to $200 \rho_{\rm crit}$), it is possible to establish a relation between $c$ and $\delta_c$ : 
361: \begin{equation} 
362: \delta_c = \frac{c^3}{\ln (1+c) - c/(1+c)} \; .
363: \label{deltac}
364: \end{equation}
365: 
366: The velocity curve is given by :
367: \begin{equation}
368: \frac{V_c(r)}{V_{200}} = \frac{1}{x} \frac{\ln(1+cx) - cx/(1+cx)}{\ln(1+c)-c/(1+c)}
369: \label{nfwvcirc}
370: \end{equation}
371: and the cumulative mass function is 
372: \begin{equation}
373: M(r) = 4\pi \delta_c \rho_{\rm crit} r_s^3 \bigg[ \ln \Big( \frac{r}{r_s} - 1 \Big) - \frac{r}{r+r_s}  \bigg] \; .
374: \label{nfwcummulativemass}
375: \end{equation}
376: 
377: The gravitational potential can be found using equation~(2-22) in Binney \& Tremaine and is equal to
378: \begin{equation}
379: \Phi(r) = -\frac{GM(r)}{r} - \frac{4 \pi G \delta_c \rho_{\rm crit} r_s^3}{r+r_s}
380: \label{nfwpotential}
381: \end{equation}
382: where $M(r)$ is given by equation (\ref{nfwcummulativemass}). 
383: 
384: The next step is to evaluate the distribution function of the NFW profile using equation~(\ref{distributionfunction}). The calculation of $d\rho /d\Phi$ shows that $\rho$ cannot be expressed as a function of $\Phi$, the gravitational potential : 
385: \begin{equation}
386: \frac{d\rho}{d\Phi} = \frac{\delta_c \rho_{\rm crit} r_s^3 (3r + r_s)}{GM(r)(r+r_s)^3} \; .
387: \label{drhodphi}
388: \end{equation}
389: 
390: For NFW, equation (\ref{distributionfunction}) cannot be solved analytically, we need to use numerical methods. However, some authors (e.g. \citealt{wid00}) developed useful approximations for $f(E)$. \citet{wid00} proposed the following fitting formula for the isotropic DF : 
391: \begin{equation}
392: F(\epsilon) = F_0 \epsilon^{3/2}(1-\epsilon)^{-\lambda} \left( \frac{-\ln \epsilon}{1-\epsilon}
393: \right)^q e^P 
394: \label{widrowdf}
395: \end{equation}
396: where $\epsilon = -(E-\Phi_{\infty})/4\pi G \delta_c \rho_{\rm crit} r_s^2$, $\lambda$, $F_0$, and $q$  are the fitting formula parameters for isotropic models. $P$ is a polynomial introduced to improve the fit ($P = \Sigma_i p_i\epsilon^i $) In the case of NFW, $F_0 = 9.1968\times10^{-2}$, $q=-2.7419$, $\lambda = 5/2$, $p_1 = 0.3620$, $p_2 = -0.5639$, $p_3 = -0.0859$, and $p_4 = -0.4912$.
397: 
398: In Figure \ref{parameters}, we give a comparison between the Hernquist, Plummer, and NFW profile for the mass function, 
399: density profile, and gravitational potential. 
400: 
401: \subsection{The Truncated Isothermal Sphere (TIS) profile}
402: % Natarajan 1997, Shapiro & Iliev 1999, Shapiro & Iliev 2002, Shapiro & Iliev 2000, Iliev & Shapiro 2001
403: The TIS (Truncated Isothermal Sphere) is a solution of the Lane-Emden  equation 
404: \begin{equation}
405: \frac{d^2\omega}{d\xi^2} + \frac{2}{\xi}\frac{d\omega}{d\xi} = e^{-\omega}
406: \label{lane-emden}
407: \end{equation}
408: where $\omega = \ln(\rho/\rho_0)$, $\xi= r/r_0$ and $r_0$ is the core radius : 
409: \begin{equation}
410: r_0^2 = \frac{\sigma^2}{4\pi G \rho_0} \; .
411: \label{coreradius}
412: \end{equation}
413: The TIS model corresponds to the outcome of the collapse and virialization of a top-hat density perturbation. 
414: This model involves a non-singular, truncated isothermal sphere \citep{sha99}. For a given value of
415: boundary pressure $p_t$ and mass $M_0$, there is a unique value of $\xi_t$ (where $\xi_t = r_t/r_0$ - $r_t$ is the
416: truncation radius) which minimizes the total energy. This minimum energy solution is the unique TIS solution 
417: preferred in nature as the outcome and virialization of a sphere in the presence of a fixed external pressure. 
418: The virialized object has the same total energy as the top-hat before the collapse. Shapiro \& Iliev found 
419: that this solution implies $\xi = 29.4$. 
420: 
421: There is a useful fitting formula to equation~(\ref{lane-emden}) that is a good approximation within several core-radii 
422: \citep{nat97} : 
423: \begin{equation}
424: \rho(\xi) = \frac{A}{a^2 + \xi^2} - \frac{B}{b^2 + \xi^2} \; .
425: \label{approxemden}
426: \end{equation}
427: For the particular TIS case, 
428: \begin{equation}
429: \left(A, a^2, B, b^2\right) = (21.38, 9.08, 19.81, 14.62) \; . 
430: \label{solnvariables}
431: \end{equation}
432: 
433: The TIS profile seems to be a better alternative to the NFW profile in many cases. \citet{sha00} showed that 
434: the projected mass density of the cluster Cl 0024+1654, determined by strong gravitational lensing, is well fitted by a TIS sphere. 
435: They also found that a central cuspy NFW fitting profile implies a velocity dispersion which is too large by a factor of $\sim 2$ to be
436: consistent with the measured velocity dispersion. It also appears that the TIS model can be a good fit to the 
437: density profile of dark matter-dominated dwarf galaxies \citep{ili01}. Finally, the TIS solution for virialized cosmological halos reproduces fairly well the $\rho_0 - \sigma_v$ 
438: correlation \citep{sha02}. In fact, current data suggest that the central mass densities $\rho_0$ of cosmological halos in the universe are correlated
439: with their velocity dispersion $\sigma_v$ over a very wide range of $\sigma_v$ \citep{sha02}. For all these reasons, it is important to study 
440: this density profile. 
441: 
442: The cumulative mass function for equation~(\ref{approxemden}) \citep{nat97} is 
443: {\setlength \arraycolsep{2pt}
444: \begin{eqnarray}
445: M(\xi) &=& 4\pi \Bigg\{ Aa\bigg[\frac{\xi}{a} - \tan^{-1}\Big(\frac{\xi}{a} \Big)-{} \nonumber \\
446: & & {}- Bb \bigg[\frac{\xi}{b} - \tan^{-1} \Big(\frac{\xi}{b}\Big) \bigg] \Bigg\} 
447: \label{massfunctiontis}
448: \end{eqnarray}}
449: and the gravitational potential is
450: {\setlength \arraycolsep{2pt}
451: \begin{eqnarray}
452: \Phi(\xi) &=& \frac{2\pi G}{r_0}\Bigg[ \frac{1}{r_0} \bigg( \frac{A-B}{r_0} +{} \nonumber \\
453: & & {} +\frac{Bb - Aa}{\xi}\tan^{-1}\frac{\xi}{a}\bigg) +{} \\
454: & & {} + A\ln\Big(a^2 + \frac{\xi^2}{r_0^2}\Big) - B\ln\Big(b^2 + \frac{\xi^2}{r_0^2}\Big) \Bigg] \nonumber
455: \label{tispotential}
456: \end{eqnarray}}
457: 
458: Equation~(\ref{approxemden}) can be integrated to yield an analytical fitting formula for the TIS rotation curve \citep{ili01} given by 
459: {\setlength\arraycolsep{2pt}
460: \begin{eqnarray}
461: \frac{v(r)}{\sigma_v} = \Bigg\{ A - B + \frac{1}{\xi} \bigg[ bB\tan^{-1} \left( \frac{\xi}{b} \right)-{} \nonumber \\
462: {} {}- aA\tan^{-1} \left( \frac{\xi }{a} \right) \bigg] \Bigg\}^{1/2}
463: \label{vrotation}
464: \end{eqnarray}} 
465: 
466: % to be continued -----------=----------=-=-=-=-=-=-=---------------------------------------------------------------------------=-=-=-=-=-=-=-
467: 
468: 
469: 
470: In summary, we have briefly introduced few basic models used in current numerical simulations of structure formation, galactic dynamics, 
471: and star clusters. In the next section, we review the BH tree code, the $N$-body code we used to make these systems evolve. 
472: 
473: \section{Barnes \& Hut Tree code}
474: The Barnes and Hut (hereafter BH) tree code \citep{bar86} is the one we use for the simulations. 
475: However, we modified its structure to include a multiple timesteps integration scheme (see section 4). 
476: In this section we describe how the tree code works : its main features and basic related concepts. 
477: 
478: \subsection{The tree building}
479: %How to build the tree. (time of processing - see hernquist)
480: 
481: The BH technique is based on a hierarchical division of space into cubic cells. At the beginning of the simulation, 
482: the particles are distributed, one by one, into the root cell. If two particles are in the same cell, then this cell
483: is divided into eight ``daughter" cells (an oct tree) of equal volume (see Figs. 1 and 2 in \citealt{bar86}). 
484: The aim of this process is to make sure that at the end of tree building step, two  particles cannot reside in the same cell. 
485: 
486: For each cell with subcells in it, there is an associated pseudo-particle which contains the total mass in the cell and 
487: located at the center-of-mass of the particles distribution in the cell. 
488: 
489: This building step must be repeated at each timestep because the particles move and they are no longer in the same cell. 
490: It takes usually less than 10 \% of the overall CPU time to build the tree \citep{her87}.
491: 
492: 
493: \subsection{The force evaluation}
494: %Open-angle parameter, top-down method sotftening length. (time of processing - see hernquist)
495: 
496: The significant difference with direct summation methods (see section 1.1) resides in the approximation made in the force
497: calculation. We first consider the interaction between a group of particles (represented by a cell of higher level) and a particle. 
498: We want to use a criterion based on the size of the cell ($l$) and the distance between the center of mass of this cell and the particle ($d$) to verify if we can consider
499: this group as a \emph{point-mass particle} or if we need to go down to a lower level of the hierarchy and resolve its constituents. This criterion can be written as 
500: \begin{equation}
501: \theta > \frac{l}{d}
502: \label{openangle}
503: \end{equation}     
504: where $\theta$ is a free parameter called the ``opening angle" parameter. Therefore, to compute the force on particle $p$, one needs to walk down the tree, 
505: starting by the bigger cells and check for each cell if equation~(\ref{openangle}) is verified. If it is the case, then add the contribution of the 
506: pseudo-particle of this cell to the force exerted on $p$. The result of this ``walking'' process is to reduce the number of terms in the force calculation on one particle
507: from $N$ to $\log N$.  
508: 
509: The value of $\theta$ is chosen at the beginning of the simulation. \citet{her87} mentioned that for a large $\theta$ ($\theta \geq 1.3 $), the BH code can 
510: unintentionally include particle self-acceleration by not forcing subdivision of cells containing the particle. It is worth noting that
511: decreasing $\theta$ from $0.9$ to $0.6$ for $10,000$ particles corresponds to increasing the CPU time by a factor $ \sim 2 - 2.5$. The range of 
512: typical values for $\theta$ is between $0.7$ and $1.0$. This is a good compromise between accuracy and performance. The typical error for $\theta = 0.9$
513: relative to a direct sum is  $ \sim 1 \%$ \citep{her87}. The error for a fixed $\theta$ decreases as $N$ increases.  
514: 
515: After establishing the opening angle criterion and determining which cells need to be resolved, one needs to calculate the force exerted by either cells or 
516: close particles. The particles are represented by point masses. However, the force that two point masses exerts on each other becomes large at 
517: small distances. Therefore, the velocities will change very rapidly and very short timesteps are needed in order to properly determine 
518: the motion of the particles (see section 4). We can avoid this problem if the particles are extended \citep{bin87}. To compute the force 
519: exerted by particle (or pseudo-particle) $j$ on particle $i$, one can use the following formula : 
520: \begin{equation}
521: \vec{F}_{ij} = \frac{Gm_im_j \left( \vec{x}_j - \vec{x}_i \right)} {\left( \epsilon^2 + |\vec{x}_i - \vec{x}_j |^2 \right)^{3/2}}
522: \label{force}
523: \end{equation}
524: where $\epsilon$ is the \emph{softening length}. The maximum force occurs at $|\vec{x}_i - \vec{x}_j |^2 = \epsilon^2/2 $. This potential is 
525: called the \emph{softened point-mass potential} \citep{bin87} also referred as plummer-type softening. 
526: 
527: Finally, for $\theta = 1.0$ and a Plummer model (see section 2.3), the tree walk process and force summation take respectively $80$ \% and $10$ \% of 
528: the total CPU time \citep{her87}.   
529: 
530: \subsection{The integration scheme}
531: %Describe comparison between leapfrog and RK2. (typical timesteps - see hernquist)
532: Once the force has been evaluated for each particle, we need to update the position and velocity of the particles. We describe here two different schemes
533: of order 2 : leapfrog, and Runge-Kutta. The leapfrog technique is used in the BH tree code. 
534: \subsubsection{The leapfrog integrator}
535: Suppose that we know the particles positions and velocities at step $n$ and we want to advance 
536: the system to step $n+1$. This can be done using a 
537: time-centered leapfrog : 
538: \begin{eqnarray}
539: \vec{v}_{i, n+1/2} & = & \vec{v}_{i, n} + \vec{a}_{i,n}\frac{\Delta t}{2}, \nonumber \\
540: \vec{r}_{i, n+1} & = & \vec{r}_{i,n} +  \vec{v}_{i,n+1/2}\Delta t, \\
541: \vec{v}_{i, n+1} & = & \vec{v}_{i, n+1/2} + \vec{a}_{n+1}\frac{\Delta t}{2} \nonumber \; .
542: \label{leapfrog}
543: \end{eqnarray}
544: $\Delta t$ is the timestep. The force is computed at the beginning of the timestep and is used to extrapolate the position and velocity at respectively 
545: $n+1$ and $n+1/2$. 
546: 
547: \subsubsection{The Runge-Kutta method of order 2}
548: This method is similar to the Leapfrog scheme. However, it requires the storage of an additional variable, namely $\vec{r}_{i,n+1/2}$. The force is determined
549: at the center of the timestep. The position and velocity at step $n+1$ are extrapolated from the value of the force at the middle of the timestep \citep{for01} :
550: \begin{eqnarray}
551: \vec{v}_{i, n+1/2} & = & \vec{v}_{i, n} +  \vec{a}_{i, n}\frac{\Delta t}{2}, \nonumber \\
552: \vec{r}_{i, n+1/2} & = & \vec{r}_{i, n} +  \vec{v}_{i, n}\frac{\Delta t}{2}, \\
553: \vec{v}_{i, n+1} & = & \vec{v}_{i, n} +  \vec{a}_{i, n+1/2}\Delta t, \nonumber \\
554: \vec{r}_{i, n+1} & = & \vec{r}_{i, n} +  \vec{v}_{i, n+1/2}\Delta t \nonumber \; .
555: \label{rk2}
556: \end{eqnarray}
557: Both methods give similar results.
558: 
559: The BH tree code provides a technique for handling a large number of long-range interactions and concentrating the CPU time allowed on local interactions
560: where more precision is needed. In this iterative process, the number of mathematical operations grows as $N \log N$. 
561: 
562: 
563: 
564: \section{A multi timesteps scheme}
565: In the previous section, we described the BH tree code features. Now, we introduce a multi timesteps scheme
566: which can be inserted in a tree code algorithm. This scheme is especially useful for studies of dynamical properties of
567: halos containing  black holes, SPH simulations of  star formation, etc. The basic idea is that
568: far away particles evolve less rapidly than particles closer to the dynamical center of the system. The motion
569: of distant particles can be integrated with a longer timestep. 
570: 
571: \subsection{A measure of the integration time for each particle}
572: The first thing we need to do is to evaluate the integration time for \emph{each} particle. One of the most commonly 
573: used criterion is to associate the velocity and acceleration of the particle to its softening length : 
574: \begin{equation}
575: \tau_i = \beta \min \left[ \frac{\epsilon_i}{v_i},\left(\frac{\epsilon_i}{|a_i|}\right)^{1/2}\right]
576: \label{integrationtime}
577: \end{equation}
578: where $\tau_i$, $\epsilon_i$, $v_i$ and $a_i$ are respectively the integration time, softening length, velocity and 
579: acceleration of particle $i$. $\beta$ is a free parameter varying between $0$ and $1$. This is the most straightforward method 
580: to estimate the integration time needed for each particle. However,  we are looking for a more 
581: meaningful criterion based on the orbital period of the particles. 
582: 
583: Equation~(\ref{integrationtime}) provides a value of $\tau$ for each particle. The next step is to sort those value of $\tau_i$ ($i  
584: \in {1,\ldots,N}$) and find $\tau_{\max}$ and $\tau_{\min}$. We then distribute these particles into different bins, having different integration 
585: timestep. The steps are separated by a factor $2$ in time. If $n$ represents the number of bin, then : 
586: \begin{equation}
587: n = 0.69314718\log\left(\frac{\tau_{\max}}{\tau_{\min}}\right)
588: \label{nbbins}
589: \end{equation} 
590: ($n$ is round to the next integer). We have now a set of $n$ different timesteps for the $N$ particles. We will use the following notation for
591: the timesteps : 
592: \begin{equation}
593: \Delta t_j, \textrm{\quad where\quad} {j\in 0,\ldots,n-1}
594: \end{equation}
595: where $\Delta t_j$ represents the timestep of bin number $j$. The longest timestep, namely $\Delta t_{\rm basic}$ corresponds to $\Delta t_0$ and the shortest
596: one ($\Delta t_{\rm fund}$) is $\Delta t_{n-1}$. Figure \ref{multi} illustrates the distribution of timesteps for $n=4$. 
597: 
598: \subsection{Evaluating the force acting on each particle}
599: The goal of introducing a multi timesteps scheme is to reduce the number of force evaluations for the particles having a longer timestep. 
600: To integrate the motion of the particles, the Barnes \& Hut tree code uses a leapfrog integrator in which the forces are evaluated 
601: at each half-timestep [see previous section, eq. (35)]. In this multi timesteps scheme, the timesteps are variable between particles and 
602: therefore, the evaluation of the force on the particles is not necessarily \emph{synchronized} with the evaluation for the other ones. In Figure \ref{multi}, 
603: we show by red dots, when the force must be evaluated in a system of $n=4$ bins. At the beginning of the simulation ($t=0$), all 
604: the particles are synchronized. Then, the code updates the position and velocity of each particles (using the leapfrog scheme) with an interval
605: of $\Delta t_{\rm fund}/2$. At $t=\Delta t_{\rm fund}/2$, only the particles of bin number 3 need a force evaluation and at $t=2\times\Delta t_{\rm fund}/2$,
606: particles of bin 3 and 2 need a force evaluation. 
607: %\begin{center}
608: %\caption{Evaluation of the force}
609: %\begin{tabular}{ccccc}
610: %\tableline\tableline
611: %$t=0$ & $\Delta t_{fund}/2$ & $\Delta t_{fund}$ & $3\Delta t_{fund}/2$ & $2\Delta t_{fund}$ \\
612: %\tableline
613: %3,2,1,0 &3 &3,2 &3  &3,2,1\\
614: %\tableline
615: %\end{tabular}
616: %\end{center}
617: %\end{table}
618: There is a simple criterion to check if the bin number $j$ needs a force evaluation. Let $Q$ represents the number of $\Delta t_{\rm fund}/2$ elapses 
619: since the beginning of the simulations, i.e. $ t = Q\Delta t_{\rm fund}/2$. The $j^{\rm th}$ bin needs a force evaluation if  
620: \begin{equation}
621: Q \bmod \frac{\Delta t_j}{2\Delta t_{\rm fund}} = 0  \; .
622: \label{forcecriterion}
623: \end{equation} 
624: 
625: It is preferable to use integers in equation~(\ref{forcecriterion}) 
626: instead of directly comparing $t$ and $\Delta t_j$ because of the possible truncation errors 
627: modifying the value of $t$ during the simulation. 
628: 
629: \subsection{Particle moving from bin $j$ to bin $i$ }
630: During the simulation, it is highly probable that many particles will move from one bin to another after evaluating their integration time. 
631: For example, a particle on a very eccentric orbit will need to diminish its timestep during the closest approach and increase it 
632: near the pericenter. The multi timesteps scheme
633: should allow particles to move from one bin to another, but not at any moment. There is a simple criterion to verify if a particle initially
634: in bin $j$ can move to a bin $i$. First, both bins ($i$ and $j$) must be synchronized, i.e. their internal clock should indicate the same 
635: time and this time should correspond to the number of fundamental timesteps ($Q/2$) elapses since the beginning of the simulation. 
636: 
637: There is a simple way to evaluate the number of fundamental timesteps elapses for each bin of a set of $n$ bins. 
638: Suppose that $P_j$ represents the number of fundamental timesteps of the $j^{\rm th}$ bin. $P_j$ will be equal to $Q$ if 
639: \begin{equation}
640: Q \bmod \frac{\Delta t_j}{\Delta t_{\rm fund}} = 0 \; .
641: \label{timetotime}
642: \end{equation}  
643: If the following expression is false then $P_j$ keeps its latest value when equation~(\ref{timetotime}) was verified and the particle stays in the same bin.
644: \begin{equation}
645: P_i = P_j = Q \; .
646: \label{movingcriterion}
647: \end{equation}
648: You have to wait until equation~(\ref{movingcriterion}) is verified before moving a particle from one bin to another.
649: 
650: \subsection{The value of $n$ changes}
651: What happens if a particle of the fundamental bin (in our case, bin $n$) goes from bin $n$ to bin $n+1$? Following the previous argument, this 
652: can happen at each fundamental timestep. In fact, the fundamental timestep changes. It goes from $\Delta t_n$ to $\Delta t_{n+1}$. We must then 
653: take that into account and change the number of $P$ for each bin. In this example,
654: \begin{equation}
655: P_j = 2P_j \textrm{ for }{j \in 0,\ldots,n}
656: \end{equation} 
657: and $P_{n+1}$ will be equal to the previous value of $P_n$ multiplied by 2. $Q$ will also be modified, going from $Q$ to $2Q$ and $\Delta t_{\rm fund} = \Delta t_{\rm fund}/2$. 
658: 
659: The opposite phenomenon happens if all the particles of bin $n$ move to bin $n-1$, i.e. we lose a bin. The process is exactly the same except that we divide
660: by 2 instead of multiplying by 2. 
661: 
662:  
663: Finally, at the end of a basic timestep, i.e. if 
664: \begin{equation}
665: t = m\Delta t_{\rm basic}
666: \label{reevalutiontime}
667: \end{equation}  
668: where $m$ is an integer, we allow all the particles to change from one bin to another after evaluating their integration time.  
669: Figure \ref{multi} (upper panel) illustrates the different situations examined in the previous paragraphs. 
670: 
671: \section{The measures, observations, dynamical properties of the system}
672: In the previous three sections, we describe the theoretical aspects of the models we want to study (section 2), the tree code used (section 3) and 
673: a multi timesteps scheme (section 4) implemented in a leapfrog integrator [see eq.~(35)]. We are interested in determining the 
674: evolution of the physical properties of the simulated systems.  This section contains a brief description of the different properties of 
675: the system one can measure using the N-body results. 
676: 
677: \subsection{Conservation of energy}
678: First, the most important thing to measure when doing N-body experiments is the total energy of the whole system. The energy must be conserved. 
679: The state-of-the-art simulations are able to conserve total energy within $0.1 - 0.2 \%$. If it is not well conserved this is maybe due to a wrong choice 
680: of timesteps. The energy is calculated using the following formula : 
681: \begin{equation}
682: E = \sum_{i=1}^{N} \sum_{j\neq i}^{N}\Bigg( \frac{1}{2}m_iv_i^2 - \frac{Gm_jm_i}{r_{ij}} \Bigg)
683: \label{energy}
684: \end{equation}
685: where $r_{ij}$ is the distance between particle $i$ and $j$. 
686: 
687: \subsection{Density profile}
688: The evaluation of the density profile is primordial to study the dynamical properties of a system. In particular, if one studies the collisions between 
689: galaxies harboring a black hole, the profile can give serious insight about the orbits distribution in the inner few kpc. 
690: 
691: There are basically two ways of measuring the density profile for spherically symmetric systems. The first one is two divide the space into spherical
692: bins of width $\Delta r$ and count the number of particles in each bin. The bin width can 
693: increase logarithmically as $r$ becomes large in order to have a good resolution in the 
694: center and a lower one in the outer parts of the system where nothing important happens. In this picture, the density is evaluated using
695: the following equation :    
696: \begin{equation}
697: \rho_k = \frac{\sum_j N_jm_j}{4\pi r_k^2 \Delta r_k}
698: \label{density}
699: \end{equation}
700: where $\rho_k$, $r_k$ and $\Delta r_k$ are respectively the density, radius and width of bin $k$; $N_j$ represents the number of particles 
701: of mass $m_j$ in bin $k$. This method has drawbacks when the number of particle is not sufficient to resolve the inner bins. Some bins may 
702: be empty and others can contain not enough particles. 
703: 
704: The second method consists of sorting the particles by radius,
705: then divide them by slices of 100 or 1000 particles, for instance, and evaluating 
706: the average radius, width and density of each slice of particles. This method avoids low resolution bins but one needs to have enough particles
707: to get slices thin enough for a good resolution.
708: 
709: \subsection{$R_{10}(t)$, $R_{50}(t)$ and $R_{90}$(t)}
710: 
711: In the previous paragraphs, we have seen how to compute the density profile. We are now interested in its evolution. 
712: $R_{10}(t)$, $R_{50}(t)$ and $R_{90}(t)$ represent the radii which contains
713: 10 \%, 50\% and 90\% of the system mass, respectively. The measurement
714: of these quantities gives a rough estimate of the evolution of the density profile.
715: 
716: \subsection{Free-fall time}
717: In the simulations, time is measured in dimensionless units. A good way to characterize the time scales is to express them in terms of the free-fall
718: time 
719: \begin{equation}
720: t_{\rm ff} = \sqrt{\frac{3\pi}{32G\rho}}\,.
721: \label{freefalltime}
722: \end{equation}
723: This quantity represents the time needed for a homogeneous sphere of pressureless material of density $\rho$ (where $\rho$ can be evaluated at $R$ = $R_{50}$) released from rest at $t=0$ to collapse 
724: to a point at $t=t_{\rm ff}$ \citep{bin87}.   
725: 
726: \subsection{Quadrupole tensor evaluation}
727: To estimate the size of the cluster, one has to evaluate the components of the quadrupole tensor defined as
728: \begin{equation}
729: Q_{ij} = \sum_k m_k \left(r_k \right)_i \left( r_k \right)_j
730: \label{quadrupole}
731: \end{equation}
732: where $m_k$ and $r_k$ are the mass and position relative to particle $k$. The indicies $i$ and $j$ account for the vectors components. 
733: Once the tensor components have been determined, one has to compute the eigenvalues $Q_1$, $Q_2$ and $Q_3$. The ``semi-major axes" of the 
734: system are evaluated using the following formula : 
735: \begin{equation}
736: a_i = \left( \frac{5Q_i}{M_{\rm tot}} \right)^{1/2} \textrm{ for $i$ } \in {1,2,3} \; . 
737: \label{semimajoraxes}
738: \end{equation}     
739: The ratios of the different $a_i$ give a measure of the system sphericity. If $a_1/a_2 = a_2/a_3 = 1$, then the system is perfectly 
740: spherical.  
741: 
742: \subsection{Velocity dispersion, anisotropy parameter}
743: The velocity dispersion for a set of particles is defined as follows: 
744: \begin{equation}
745: \sigma_i = \sqrt{\sum_k \frac{[(v_k)_i - \bar{v_i}]^2}{N}}
746: \label{veldispersion}
747: \end{equation}
748: where $\bar{v_i}$ is the average $i$-component of the velocity over the distribution and $N$ is the number of particles. For a spherical 
749: system, it is useful to find $\sigma_r$, $\sigma_{\theta}$ and $\sigma_{\phi}$. To do this, one needs to find $v_r$, $v_{\theta}$, and $v_{\phi}$ 
750: These three quantities can be related to $r$, $x$, $y$, $z$, $v_x$, $v_y$, and $v_z$ using the following relations
751: \begin{eqnarray}
752: v_r & = & \frac{1}{2} \left(xv_x + yv_y + zv_z\right)\,,  \\
753: v_{\theta} & = & \frac{r}{\sqrt{r^2 - z^2}}\left[\frac{z}{r^2}\left(xv_x+yv_y +zv_z\right) - v_z\right]\,, \nonumber \\
754: v_{\phi} & = & \frac{1}{\sqrt{x^2+y^2}}\left(xv_y - yv_x \right)\,. \nonumber
755: \label{veldispersionspherical}
756: \end{eqnarray} 
757: If $\sigma_r = \sigma_{\theta} = \sigma_{\phi}$ then the system is isotropic. 
758: 
759: Another way to measure the degree of isotropy of a system is to evaluate the anisotropy parameter $\beta$ defined as : 
760: \begin{equation}
761: \beta = 1 - \frac{\langle v_t^2\rangle}{\langle 2v_r^2\rangle} 
762: \label{anisotropy}
763: \end{equation}
764: where $v_t$ is the tangential velocity. If the distribution of orbits is isotropic, then $\beta = 0$. If the orbits become radial, then 
765: $\beta \to 1$. For a set of perfectly circular orbits, $\beta \to -\infty$.
766: 
767: \section{Conclusion}
768: In conclusion, this short review is an tentative introduction to the basic concepts related to 
769: numerical $N$-body techniques in astrophysics. We introduced different codes used, physical 
770: models used and developed in numerical simulations, algorithms and measurements. We hope this 
771: document will be a useful synthesis for any beginner interested in numerical astrophysics. 
772: 
773: \section{Future Work}
774: 
775: This document presents the various basic algorithms needed to do a study of collisionless equilibrium 
776: systems. Using the techniques presented in this paper, we will study the long-term evolution of density profiles
777: resulting from the mergers between halos containing black holes.  
778: 
779: \acknowledgments
780: We acknowledge 
781: the Natural Science and Engineering Research Council of Canada (NSERC)
782: for an undergraduate summer fellowship (JRG) and thank
783: Laurent Drissen and John Dubinski for useful comments during
784: the project. We also thank Joshua E. Barnes for making his Tree code Guide and
785: N-body codes available on his website. HM thanks the Canada Research Chair
786: program for support.
787: 
788: \begin{thebibliography}{}
789: \bibitem[Aarseth, H\'enon \& Wielen(1974)]{aar74} Aarseth, S.J., H\'enon, M., Wielen, R. 1974, A\&A, 37, 183.
790: \bibitem[Barnes \& Hut(1986)]{bar86} Barnes J., Hut, P. 1986, \emph{Nature}, 324, 446.
791: \bibitem[Binney \& Tremaine(1987)]{bin87} Binney, J., Tremaine, S. 1987, \emph{Galactic Dynamics}, Princeton University Press
792: \bibitem[Fortin(2001)]{for01} Fortin, A. 2001 \emph{Analyse num\'erique pour ing\'enieurs}, Presses Internationales Polytechnique.
793: \bibitem[Hernquist(1987)]{her87} Hernquist, L. 1987, \apjs, 64, 715.
794: \bibitem[Hernquist(1990)]{her90} Hernquist, L. 1990, \apj, 356, 359.
795: \bibitem[Holmberg(1941)]{hol41} Holmberg, E. 1941, \apj, 94, 385.
796: \bibitem[Iliev \& Shapiro(2001)]{ili01} Iliev, I.T. 2001, \apj, 546, L5.
797: \bibitem[Klypin(1996)]{kly96} Klypin, A. 1996, \emph{Numerical simulations in Cosmology I}, Italian Physical Society
798: (astro-ph/9605183).
799: \bibitem[Natarajan \& Lynden-Bell(1997)]{nat97} Natarajan, P., Lynden-Bell, D. 1997, \mnras, 286, 268.
800: \bibitem[Navarro, Frenk \& White(1995)]{nav95} Navarro, J.F., Frenk, C.S., White, S.D.M. 1995, \mnras, 275, 720.
801: \bibitem[Navarro, Frenk \& White(1996)]{nav96} Navarro, J.F., Frenk, C.S., White, S.D.M. 1996, \apj, 462, 563.
802: \bibitem[Navarro, Frenk \& White(1997)]{nav97} Navarro, J.F., Frenk, C.S., White, S.D.M. 1997, \apj, 490, 493.
803: \bibitem[Plummer(1911)]{plu11} Plummer, H.C. 1911, \mnras, 71, 460.
804: \bibitem[Saslaw(1985)]{sas85} Saslaw, W.C. 1985, \emph{Gravitational physics of stellar and galactic systems}, Cambridge University Press.
805: \bibitem[Sellwood(1987)]{sel87} Sellwood, J.A. 1987, \araa, 25, 151.
806: \bibitem[Shapiro \& Iliev(1999)]{sha99} Shapiro, P.R., Iliev, I.T. 1999, \mnras, 307, 203.
807: \bibitem[Shapiro \& Iliev(2000)]{sha00} Shapiro, P.R., Iliev, I.T. 2000, \apj, 542, L1.
808: \bibitem[Shapiro \& Iliev(2002)]{sha02} Shapiro, P.R., Iliev, I.T. 2002, \apj, 565, L1.
809: \bibitem[Widrow(2000)]{wid00} Widrow, L.M. 2000, \apjs, 131, 39.
810:                                                                                                                                                              
811: % Maybe : holley-Bockelmann + Makino + hernquist (adiabatic growth of a black hole)
812: % infos about the TIS profile (Shapiro, Martel, Iliev ...)
813: % Sellwood + Klypin for a summary about numerical simulations
814:                                                                                                                                                              
815:                                                                                                                                                              
816:                                                                                                                                                              
817: %\bibitem[Treu et al.(2003)]{treu03} Treu, T. et al., 2003, \apj, 591, 53
818: \end{thebibliography}
819: 
820: 
821: 
822: %% In a manner similar to \objectname authors can provide links to dataset
823: %% hosted at participating data centers via the \dataset{} command.  The
824: %% second curly bracket argument is printed in the text while the first
825: %% parentheses argument serves as the valid data set identifier.  Large
826: %% lists of data set are best provided in a table (see Table 3 for an example).
827: %% Valid data set identifiers should be obtained from the data center that
828: %% is currently hosting the data.
829: 
830: 
831: 
832: %% In this section, we use  the \subsection command to set off
833: %% a subsection.  \footnote is used to insert a footnote to the text.
834: 
835: %% Observe the use of the LaTeX \label
836: %% command after the \subsection to give a symbolic KEY to the
837: %% subsection for cross-referencing in a \ref command.
838: %% You can use LaTeX's \ref and \label commands to keep track of
839: %% cross-references to sections, equations, tables, and figures.
840: %% That way, if you change the order of any elements, LaTeX will
841: %% automatically renumber them.
842: 
843: %% This section also includes several of the displayed math environments
844: 
845: %% The equation environment wil produce a numbered display equation.
846: 
847: 
848: %% The \notetoeditor{TEXT} command allows the author to communicate
849: %% information to the copy editor.  This information will appear as a
850: %% footnote on the printed copy for the manuscript style file.  Nothing will
851: %% appear on the printed copy if the preprint or
852: %% preprint2 style files are used.
853: 
854: %% The eqnarray environment produces multi-line display math. The end of
855: %% each line is marked with a \\. Lines will be numbered unless the \\
856: %% is preceded by a \nonumber command.
857: %% Alignment points are marked by ampersands (&). There should be two
858: %% ampersands (&) per line.
859: 
860: 
861: %% Putting eqnarrays or equations inside the mathletters environment groups
862: %% the enclosed equations by letter. For instance, the eqnarray below, instead
863: %% of being numbered, say, (4) and (5), would be numbered (4a) and (4b).
864: %% LaTeX the paper and look at the output to see the results.
865: 
866: 
867: 
868: %% This section contains more display math examples, including unnumbered
869: %% equations (displaymath environment). The last paragraph includes some
870: %% examples of in-line math featuring a couple of the AASTeX symbol macros.
871: 
872: 
873: %% The displaymath environment will produce the same sort of equation as
874: %% the equation environment, except that the equation will not be numbered
875: %% by LaTeX.
876: 
877: %% If you wish to include an acknowledgments section in your paper,
878: %% separate it off from the body of the text using the \acknowledgments
879: %% command.
880: 
881: %% Included in this acknowledgments section are examples of the
882: %% AASTeX hypertext markup commands. Use \url without the optional [HREF]
883: %% argument when you want to print the url directly in the text. Otherwise,
884: %% use either \url or \anchor, with the HREF as the first argument and the
885: %% text to be printed in the second.
886: 
887: %\acknowledgments
888: 
889: %We acknowledge NSERC for its undergraduate summer fellowship (JRG) and thank
890: %Prof. Laurent Drissen for fruitful conversations during the duration of 
891: %the project. We also thank Joshua E. Barnes for making his Tree code Guide and 
892: %N-body codes available on his website. 
893: 
894: %% To help institutions obtain information on the effectiveness of their
895: %% telescopes, the AAS Journals has created a group of keywords for telescope
896: %% facilities. A common set of keywords will make these types of searches
897: %% significantly easier and more accurate. In addition, they will also be
898: %% useful in linking papers together which utilize the same telescopes
899: %% within the framework of the National Virtual Observatory.
900: %% See the AASTeX Web site at http://www.journals.uchicago.edu/AAS/AASTeX
901: %% for information on obtaining the facility keywords.
902: 
903: %% After the acknowledgments section, use the following syntax and the
904: %% \facility{} macro to list the keywords of facilities used in the research
905: %% for the paper.  Each keyword will be checked against the master list during
906: %% copy editing.  Individual instruments can be provided in parentheses,
907: %% after the keyword, but they will not be verified.
908: 
909: 
910: 
911: %% Appendix material should be preceded with a single \appendix command.
912: %% There should be a \section command for each appendix. Mark appendix
913: %% subsections with the same markup you use in the main body of the paper.
914: 
915: %% Each Appendix (indicated with \section) will be lettered A, B, C, etc.
916: %% The equation counter will reset when it encounters the \appendix
917: %% command and will number appendix equations (A1), (A2), etc.
918: 
919: \appendix
920: 
921: \section{Appendix material}
922: This appendix is dedicated to the description of  an algorithm evaluating the number of possible two-body bound systems which 
923: can form in $N$-body simulations of dense star clusters. The cluster has to be dense enough so that the softening length is 
924: short to allow the formation of bound subsystems. The following algorithm is a tentative method to identify possible two-body 
925: systems in $N$-body files. Those systems can be referred to as ``binary stars". 
926: \subsection{Brief Overview}
927: The Binary Stars Finder Code is an analysis tool that can identify the presence of binary systems in a dense cluster of particles.
928:  To work properly, the
929: code needs to receive as inputs the dynamical
930: data of the system, i.e. the position, velocity and acceleration of each particle. Usually this can be done by
931: using typical output files from N-body codes.                                                                                                                                                             
932: To be able to identify correctly the formation of potential binary systems, we need to set up conditions
933: for the formation of such systems.
934:                                                                                                                                                              
935: The first one is related to the distance between particles. Suppose that particles A and B
936:  are constituents of a binary system. Our first hypothesis is that : A is the closest
937: neighbor to B and vice-versa.
938: Hence, if there is a third body in the very close vicinity of A, even closer than B,
939:  we can not consider the system formed by A and B to be a binary one. The probability
940: that A will interact strongly with this intruder is higher than with B. The condition of reciprocal closest
941: neighbor must be fulfilled.
942:                                                                                                                                                              
943: Second, a cluster consisting of several particles will remain bound if the total energy has
944:  a negative value. This is also true for binaries. So we have to sum the energy of the two members. If the results respects this second criterion the likelihood that we have identified a real binary increases.
945:                                                                                                                                                              
946: The last condition consists of giving a certain level of ``quality" to every system
947: who already satisfies the first two criteria. This can be achieved by determining the
948: number of bodies that can potentially disturb the path of one or even two members of the binary
949: systems. If these intruders are close enough to the considered system, they can break up the whole
950: system in the next few iterations. In section A.2.3, we describe a method to reduce the problem to a single moving
951: particle that follows a precised path around a fixed partner. The characteristics of this orbit
952: will enable us to set up a ``neighborhood of influence" and after that to count the number of ``bad" neighbors.
953:                                                                                                                                                              
954: Now the question is how does it work ? This is the object of the next section. In fact, particular features and algorithms will be
955: discussed. Also, in the last section of this presentation document,
956:   We suggest several improvements that could be made in further versions of the code.
957: 
958: \subsection{Principal Features}
959: \subsubsection{``Divide-and-conquer" distribution method}
960:                                                                                                                                                              
961: As we saw in the previous section, the first criterion consists of a reciprocal closest
962: neighbors
963: selection. To do this, we can simply compute the distance between particle X and every other
964:  particle of
965: the cluster and find the closest neighbor to particle X. We could repeat the process for every member of the cluster. Since 
966: this calculation grows like $N^{2}$,
967:  for a typical
968: cluster of $500,000$ that represents a total number of $2.5\times10^{11}$ mathematical operations.
969: This method has a very high computational cost and should be avoided if possible.
970:                                                                                                                                                              
971: Instead of doing a direct calculation between each pair of particle, we can divide the volume that
972: contains the whole system into individual cubic cells. After that, the comparisons could be
973: made under the assumption that members of binary systems will
974:  be close to each other, i.e. members of the same or adjacent cells.
975: Hence, if we use this method the number of operations ($\Sigma$) will grow approximately like :
976: \begin{equation}
977: \Sigma \propto \frac{N^2}{n}
978: \end{equation}
979: where $N$ represents the number of particles in the simulation and $n$ the number of cells.
980: This method is called ``divide-and-conquer.'' Doing it this way we can save precious CPU time.
981:                                                                                                                                                              
982: The side length of each cell should be chosen so that it is greater than a few times the average distance between particles (to have the closest neighbor in
983: the same cell or in an adjacent one). In order to have a significant gain in CPU time, the size of the cell should
984: be smaller than the size of the whole cluster.
985:                                                                                                                                                              
986: Now what happens if the closest neighbor is not in the same cell. This could be possible
987:  if the particle (particle A) on which we want to identify its closest neighbor is near the
988: walls of the cell. We can handle this kind of situations by comparing
989: the distance between A and the closest neighbor of A  in the same cell (value called $\bar{d}$)
990: with the distance between A and the walls of the cell ($l_{i}$, where i goes from 1 to 6 - a
991: cube has six faces). Now if
992: \begin{equation}
993: \bar{d} > l_{i}
994: \end{equation}
995: we must evaluate the distance for particles in the cell labelled $i$.
996: The process is repeated for adjacent cells who agree to condition (A2). Figure \ref{division} illustrates
997: the previous considerations.
998: %\begin{figure}[h]
999: %\centering
1000: %\epsfysize=5cm
1001: %\epsffile[143 244 467 546]{fig2.eps}
1002: %\caption{A 2D representation of the division into individual cubic cells. Fade grey cells represent adjacent cells of the grey one. $l$ is the distance between the particle on which we want to identify its closest neighbor and the wall and $\bar{d}$ is the distance between its closest neighbor in its own cell.}%\end{figure}
1003: We can repeat the same process for each one of the 26 adjacent cells of the one we consider.
1004: %\begin{figure}[h]
1005: %\centering
1006: %\epsfysize=5cm
1007: %\epsffile[205 299 407 494]{fig3.eps}
1008: %\caption{Evaluation of the distance between the considered particle, walls and corners of the cubic cell. In a 2D representation, each square cell has 8 adjacent neighbors.}
1009: %\end{figure}
1010: 
1011: %\begin{figure}
1012: %\includegraphics[scale=.80]{fig3.eps}
1013: %\caption{Evaluation of the distance between the considered particle, walls and corners of the cubic cell. In a 2D representation, each square cell has 8 adjacent neighbors.}.
1014: %This is also available as an mpeg
1015: %animation in the electronic edition of the
1016: %{\it Astrophysical Journal}.}
1017: %\end{figure}
1018: 
1019: 
1020:                                                                                                                                                              
1021: \subsubsection{Evaluating the Energy of the Bound System}
1022:                                                                                                                                                              
1023: The second step in the identification of binary systems consists of computing the total energy of the two-body system. We can compute 
1024: the total energy of the bound system by using the
1025: following formula:
1026: \begin{equation}
1027: E_{\rm tot} = \frac{1}{2}m_{1}|\vec{v_{1}}|^2 + \frac{1}{2}m_{1}|\vec{v_{2}}|^2 - \frac{Gm_1m_2}{|\vec{r_1}-\vec{r_2}|}
1028: \end{equation}
1029: where the subscripts 1 and 2 denote body number 1 and 2 respectively. Of course, the system will remain bound if $E_{tot}$ has a negative value.
1030:                                                                                                                                                              
1031: \subsubsection{Number of neighbors in the close vicinity of the two-body system}
1032:                                                                                                                                                              
1033: The last step in the identification of binaries consists of evaluating the number of neighbors
1034: in the vicinity of the system. First, we must
1035: characterized the size of the system we are studying. Figure \ref{twobody} is a schematic representation
1036: of a typical two-body system. $\vec{R}$ represents
1037: the center-of-mass position vector. We can reduce this system to a
1038: single particle moving around a fixed massive particle. The motion of this particle must obey to the
1039: specific condition: its angular momentum and energy must be the same as for the previous system and should be conserved along the path.
1040: We can evaluate the reduced angular momentum using this formula :
1041: \begin{equation}
1042: |\vec{L_{\rm tot}}| = |\vec{L_1}|+|\vec{L_2}| = \mu r v = \mu \sqrt{GMa \left(1-e^2\right)}
1043: \end{equation}
1044: where $\vec{r} = \vec{r_2} - \vec{r_1}$ a is the semimajor axis of the elliptic path of the moving particle and $\mu$ is the reduced mass of the two-body system:
1045: \begin{equation}
1046: \mu = \frac{m_1m_2}{m_1+m_2}.
1047: \end{equation}
1048: For a single particle moving around a fixed one, the energy can be written as :
1049: \begin{equation}
1050: E = \frac{1}{2}\mu v^2 - \frac{GM\mu}{r}
1051: \end{equation}
1052: and using the virial theorem:
1053: \begin{equation}
1054: E = \frac{1}{2}\mu v^2 - \frac{GM\mu}{r} = - \frac{GM\mu}{2a}.
1055: \end{equation}
1056: By replacing $a$ in equation (A4) by its value in equation (A7), we can find the ellipse eccentricity $e$ :
1057: \begin{equation}
1058: e = 1 - \frac{2|{\vec L_{\rm tot}}|^2 |E_{\rm tot}|}{\mu^3(GM)^2}.
1059: \end{equation}
1060: Once the eccentricity has been evaluated, we can set the ``influence" radius to be the aphelion distance to the center-of-mass of the system. The aphelion
1061: radius is determined using the following :
1062: \begin{equation}
1063: r_a = a(1+e)
1064: \end{equation}
1065: So, if the distance between a particle $i$ and the center of mass 
1066: of the system is shorter than $\beta r_a$ we can consider this body to be in the close vicinity  (C.V.) of
1067: the system $j$:
1068: \begin{equation}
1069: |\vec{r_i} - \vec{R_j}| < \beta r_{a_j} \to C.V.
1070: \end{equation}
1071: where $\beta$ is a free parameter. It will probably disturb the path of one or maybe two particles.
1072:                                                                                                                                                  
1073: %\begin{figure}[h]
1074: %\centering
1075: %\epsfysize=6cm
1076: %\epsffile[118 227 477 567]{fig4.eps}
1077: %\caption{Schematic representation of a two-body system. Vectors $\vec{a}_1$ and $\vec{a}_2$ represent the acceleration of particle 1 and 2.}
1078: %\end{figure}
1079: 
1080: %\begin{figure}
1081: %\includegraphics[scale=.80]{fig4.eps}
1082: %\caption{Schematic representation of a two-body system. Vectors $\vec{a}_1$ and $\vec{a}_2$ represent the acceleration of particle 1 and 2.}.
1083: %This figure is also available as an mpeg
1084: %animation in the electronic edition of the
1085: %{\it Astrophysical Journal}.}
1086: %\end{figure}
1087: 
1088:                                                                                                                                                              
1089: %\begin{figure}[]
1090: %\centering
1091: %\epsfysize=6cm
1092: %\epsffile[134 287 475 534]{reducedsystem.eps}
1093: %\caption{Schema of the reduced system.}
1094: %\end{figure}
1095:     
1096: %\begin{figure}
1097: %\includegraphics[scale=.80]{reducedsystem.eps}
1098: %\caption{Schema of the reduced system}.
1099: %This figure is also available as an mpeg
1100: %animation in the electronic edition of the
1101: %{\it Astrophysical Journal}.}
1102: %\end{figure}
1103:                                                                                                                                                          
1104:                                                                                                                                                              
1105: \subsection{Further Improvements}
1106:                                                                                                                                                              
1107: Several improvements will be made in a next version of the code. Currently, the code can only handle systems
1108: contained in a cubic volume. Of course, we could put the whole cluster in an augmented cubic volume
1109: but there will be many empty cells and this is not really optimized. Modifying the code so that
1110: systems with rectangular shape can be well-treated is a first thing to do.
1111:                                                                                                                                                              
1112: The current algorithm analyzes only one snapshot data of the system and evaluates the formation of
1113:  binary systems.  It could be really interesting if the code could
1114: integrate the motion of binaries
1115: with the data of several snapshots taken at different times. By doing this, we could be able
1116: to tell if a binary we identified previously is
1117: going to break up or not.
1118: 
1119: \begin{figure}
1120: \centering{
1121: \includegraphics[scale=0.35]{rho2.eps}
1122: \includegraphics[scale=0.35]{mass2.eps}\\
1123: \includegraphics[scale=0.35]{phi2.eps}}
1124: \caption{Density, mass and gravitational potential for three models: 
1125: \emph{solid line}: Plummer model; \emph{dashed line}: Hernquist Model; \emph{dotted line}: NFW Model.
1126: For each profile, the scale radius is equal to unity and the normalization is such that $M(r=1) = 1$}
1127: \label{parameters}
1128: \end{figure}
1129: 
1130: \begin{figure}
1131: \centering{
1132: \includegraphics[scale=0.8]{figure1.eps}\\
1133: \includegraphics[scale=0.8]{Figure2.eps}}
1134: \caption{\emph{Upper panel} : A multi timesteps scheme is shown. $P_j$ is computed for each bin. This figure shows
1135: three different bin transitions, as discussed in the text. $1$: These transitions are possible because $P_i = P_j = Q$; 
1136: $2$: These transitions can occur only when $P_i = P_j$. In these cases, the particles have to wait until the bins are
1137: synchronized. $3$: Creation of a new bin. A particle in the fundamental bin needs to decrease its timestep. When the new
1138: fundamental bin is created, $P_j = 2P_j$ for every $j$. \emph{Lower panel}: The red dots indicate where a force 
1139: computation is necessary.}
1140: \label{multi}
1141: \end{figure}
1142: 
1143: \begin{figure}
1144: \centering{
1145: \includegraphics[scale=.80]{fig2.eps}}
1146: \caption{A 2D representation of the division into individual cubic cells. Fade grey cells represent cells adjacent to 
1147: the grey one. $l$ is the distance between the particle for which we want to identifiy its closest neighbor and the wall, 
1148: and $\bar{d}$ is the distance between its closest neighbor in its own cell.}%This figure is also available as an mpeg
1149: %animation in the electronic edition of the
1150: %{\it Astrophysical Journal}.}
1151: \label{division}
1152: \end{figure}
1153: 
1154: \begin{figure}
1155: \centering{
1156: \includegraphics[scale=.80]{fig3.eps}}
1157: \caption{Calculation of the distance between the considered particle, walls, and corners of the cubic cell. In a 2D representation, each square cell has 8 adjacent neighbors.}.
1158: %This figure is also available as an mpeg
1159: %animation in the electronic edition of the
1160: %{\it Astrophysical Journal}.}
1161: \label{evaluationdistance}
1162: \end{figure}
1163: 
1164: \begin{figure}
1165: \centering{
1166: \includegraphics[scale=.80]{fig4.eps}}
1167: \caption{Schematic representation of a two-body system. Vectors $\vec{a}_1$ and $\vec{a}_2$ represent the 
1168: acceleration of particle 1 and 2. respectively.}.
1169: %This figure is also available as an mpeg
1170: %animation in the electronic edition of the
1171: %{\it Astrophysical Journal}.}
1172: \label{twobody}
1173: \end{figure}
1174:                                                                                                                                                              
1175:                                                                                                                                                              
1176: %\begin{figure}[]
1177: %\centering
1178: %\epsfysize=6cm
1179: %\epsffile[134 287 475 534]{reducedsystem.eps}
1180: %\caption{Schema of the reduced system.}
1181: %\end{figure}
1182:                                                                                                                                                              
1183: \begin{figure}
1184: \centering{
1185: \includegraphics[scale=.80]{reducedsystem.eps}}
1186: \caption{Schema of the reduced system}.
1187: %This figure is also available as an mpeg
1188: %animation in the electronic edition of the
1189: %{\it Astrophysical Journal}.}
1190: \label{reduced}
1191: \end{figure}
1192: 
1193: 
1194: 
1195: % putting the BSRP algorithm in this section - to be determined 
1196: 
1197: %% The reference list follows the main body and any appendices.
1198: %% Use LaTeX's thebibliography environment to mark up your reference list.
1199: %% Note \begin{thebibliography} is followed by an empty set of
1200: %% curly braces.  If you forget this, LaTeX will generate the error
1201: %% "Perhaps a missing \item?".
1202: %%
1203: %% thebibliography produces citations in the text using \bibitem-\cite
1204: %% cross-referencing. Each reference is preceded by a
1205: %% \bibitem command that defines in curly braces the KEY that corresponds
1206: %% to the KEY in the \cite commands (see the first section above).
1207: %% Make sure that you provide a unique KEY for every \bibitem or else the
1208: %% paper will not LaTeX. The square brackets should contain
1209: %% the citation text that LaTeX will insert in
1210: %% place of the \cite commands.
1211: 
1212: %% We have used macros to produce journal name abbreviations.
1213: %% AASTeX provides a number of these for the more frequently-cited journals.
1214: %% See the Author Guide for a list of them.
1215: 
1216: %% Note that the style of the \bibitem labels (in []) is slightly
1217: %% different from previous examples.  The natbib system solves a host
1218: %% of citation expression problems, but it is necessary to clearly
1219: %% delimit the year from the author name used in the citation.
1220: %% See the natbib documentation for more details and options.
1221: 
1222: %\begin{thebibliography}{}
1223: %\bibitem[Aarseth, H\'enon \& Wielen (1974)]{aar74} Aarseth, S.J., H\'enon, M., Wielen, R. 1974, \aa , 37, 183 
1224: %\bibitem[Barnes \& Hut (1986)]{bar86} Barnes J., Hut, P. 1986, \emph{Nature}, 324, 446
1225: %\bibitem[Binney \& Tremaine (1987)]{bin87} Binney, J., Tremaine, S. 1987 \emph{Galactic Dynamics}, Princeton University Press
1226: %\bibitem[Fortin (2001)]{for01} Fortin, A. 2001 \emph{Analyse num\'erique pour ing\'enieurs}, Presses Internationales Polytechnique. 
1227: %\bibitem[Hernquist (1987)]{her87} Hernquist, L. 1987, \apjs, 64, 715 
1228: %\bibitem[Hernquist (1990)]{her90} Hernquist, L. 1990, \apj, 356, 359
1229: %\bibitem[Holmberg (1941)]{hol41} Holmberg, E. 1941, \apj, 94 385
1230: %\bibitem[Iliev \& Shapiro (2001)]{ili01} Iliev, I.T. 2001, \apj, 546, L5
1231: %\bibitem[Klypin (1996)]{kly96} Klypin, A. 1996, \emph{Numerical simulations in Cosmology I}, Italian Physical Society 
1232: %\bibitem[Natarajan \& Lynden-Bell (1997)]{nat97} Natarajan, P., Lynden-Bell, D. 1997, \mnras, 286, 268
1233: %\bibitem[Navarro, Frenk \& White (1996)]{nav96} Navarro, J.F., Frenk, C.S., White, S.D.M. 1996, \apj, 462, 563
1234: %\bibitem[Navarro, Frenk \& White (1995)]{nav95} Navarro, J.F., Frenk, C.S., White, S.D.M. 1995, \mnras, 275, 720. 
1235: %\bibitem[Plummer (1911)]{plu11} Plummer, H.C. 1911, \mnras, 71, 460
1236: %\bibitem[Saslaw (1985)]{sas85} Saslaw, W.C. 1985, \emph{Gravitational physics of stellar and galactic systems}, Cambridge University Press
1237: %\bibitem[Sellwood (1987)]{sel87} Sellwood, J.A. 1987, \araa, 25, 151
1238: %\bibitem[Shapiro \& Iliev (1999)]{sha99} Shapiro, P.R., Iliev, I.T. 1999, \mnras, 307, 203
1239: %\bibitem[Shapiro \& Iliev (2000)]{sha00} Shapiro, P.R., Iliev, I.T. 2000, \apj, 542, L1
1240: %\bibitem[Shapiro \& Iliev (2002)]{sha02} Shapiro, P.R., Iliev, I.T. 2002, \apj, 565, L1
1241: %\bibitem[Widrow (2000)]{wid00} Widrow, L.M. 2000, \apjs, 131, 39
1242:  
1243: % Maybe : holley-Bockelmann + Makino + hernquist (adiabatic growth of a black hole)
1244: % infos about the TIS profile (Shapiro, Martel, Iliev ...)
1245: % Sellwood + Klypin for a summary about numerical simulations 
1246: 
1247: 
1248: 
1249: %\bibitem[Treu et al.(2003)]{treu03} Treu, T. et al., 2003, \apj, 591, 53
1250: %\end{thebibliography}
1251: 
1252: \clearpage
1253: 
1254: %% Use the figure environment and \plotone or \plottwo to include
1255: %% figures and captions in your electronic submission.
1256: %% To embed the sample graphics in
1257: %% the file, uncomment the \plotone, \plottwo, and
1258: %% \includegraphics commands
1259: %%
1260: %% If you need a layout that cannot be achieved with \plotone or
1261: %% \plottwo, you can invoke the graphicx package directly with the
1262: %% \includegraphics command or use \plotfiddle. For more information,
1263: %% please see the tutorial on "Using Electronic Art with AASTeX" in the
1264: %% documentation section at the AASTeX Web site,
1265: %% http://www.journals.uchicago.edu/AAS/AASTeX.
1266: %%
1267: %% The examples below also include sample markup for submission of
1268: %% supplemental electronic materials. As always, be sure to check
1269: %% the instructions to authors for the journal you are submitting to
1270: %% for specific submissions guidelines as they vary from
1271: %% journal to journal.
1272: 
1273: 
1274: %% This example uses \plotone to include an EPS file scaled to
1275: %% 80% of its natural size with \epsscale. Its caption
1276: %% has been written to indicate that additional figure parts will be
1277: %% available in the electronic journal.
1278: 
1279: %\begin{figure}
1280: %\epsscale{.80}
1281: %\plotone{f1.eps}
1282: %\caption{Derived spectra for 3C138 \citep[see][]{heiles03}. Plots for all sources are available
1283: %in the electronic edition of {\it The Astrophysical Journal}.\label{fig1}}
1284: %\end{figure}
1285: 
1286: %\clearpage
1287: 
1288: %% Here we use \plottwo to present two versions of the same figure,
1289: %% one in black and white for print the other in RGB color
1290: %% for online presentation. Note that the caption indicates
1291: %% that a color version of the figure will be available online.
1292: %%
1293: 
1294: %\begin{figure}
1295: %\plottwo{f2.eps}{f2_color.eps}
1296: %\caption{A panel taken from Figure 2 of \citet{rudnick03}. See the electronic edition of the Journal for a color version of this figure.\label{fig2}}
1297: %\end{figure}
1298: 
1299: %% This figure uses \includegraphics to scale and rotate the still frame
1300: %% for an mpeg animation.
1301: 
1302: %\begin{figure}
1303: %\includegraphics[angle=90,scale=.50]{f3.eps}
1304: %\caption{Animation still frame taken from \citet{kim03}.
1305: %This figure is also available as an mpeg
1306: %animation in the electronic edition of the
1307: %{\it Astrophysical Journal}.}
1308: %\end{figure}
1309: 
1310: %% If you are not including electronic art with your submission, you may
1311: %% mark up your captions using the \figcaption command. See the
1312: %% User Guide for details.
1313: %%
1314: %% No more than seven \figcaption commands are allowed per page,
1315: %% so if you have more than seven captions, insert a \clearpage
1316: %% after every seventh one.
1317: 
1318: %% Tables should be submitted one per page, so put a \clearpage before
1319: %% each one.
1320: 
1321: %% Two options are available to the author for producing tables:  the
1322: %% deluxetable environment provided by the AASTeX package or the LaTeX
1323: %% table environment.  Use of deluxetable is preferred.
1324: %%
1325: 
1326: %% Three table samples follow, two marked up in the deluxetable environment,
1327: %% one marked up as a LaTeX table.
1328: 
1329: %% In this first example, note that the \tabletypesize{}
1330: %% command has been used to reduce the font size of the table.
1331: %% We also use the \rotate command to rotate the table to
1332: %% landscape orientation since it is very wide even at the
1333: %% reduced font size.
1334: %%
1335: %% Note also that the \label command needs to be placed
1336: %% inside the \tablecaption.
1337: 
1338: %% This table also includes a table comment indicating that the full
1339: %% version will be available in machine-readable format in the electronic
1340: %% edition.
1341: %%
1342: %\clearpage
1343: 
1344: %\begin{deluxetable}{ccrrrrrrrrcrl}
1345: %\tabletypesize{\scriptsize}
1346: %\rotate
1347: %\tablecaption{Sample table taken from \citet{treu03}\label{tbl-1}}
1348: %\tablewidth{0pt}
1349: %\tablehead{
1350: %\colhead{POS} & \colhead{chip} & \colhead{ID} & \colhead{X} & \colhead{Y} &
1351: %\colhead{RA} & \colhead{DEC} & \colhead{IAU$\pm$ $\delta$ IAU} &
1352: %\colhead{IAP1$\pm$ $\delta$ IAP1} & \colhead{IAP2 $\pm$ $\delta$ IAP2} &
1353: %\colhead{star} & \colhead{E} & \colhead{Comment}
1354: %}
1355: %\startdata
1356: %0 & 2 & 1 & 1370.99 & 57.35    &   6.651120 &  17.131149 & 21.344$\pm$0.006  & 2
1357: %4.385$\pm$0.016 & 23.528$\pm$0.013 & 0.0 & 9 & -    \\
1358: %0 & 2 & 2 & 1476.62 & 8.03     &   6.651480 &  17.129572 & 21.641$\pm$0.005  & 2
1359: %3.141$\pm$0.007 & 22.007$\pm$0.004 & 0.0 & 9 & -    \\
1360: %0 & 2 & 3 & 1079.62 & 28.92    &   6.652430 &  17.135000 & 23.953$\pm$0.030  & 2
1361: %4.890$\pm$0.023 & 24.240$\pm$0.023 & 0.0 & - & -    \\
1362: %0 & 2 & 4 & 114.58  & 21.22    &   6.655560 &  17.148020 & 23.801$\pm$0.025  & 2
1363: %5.039$\pm$0.026 & 24.112$\pm$0.021 & 0.0 & - & -    \\
1364: %0 & 2 & 5 & 46.78   & 19.46    &   6.655800 &  17.148932 & 23.012$\pm$0.012  & 2
1365: %3.924$\pm$0.012 & 23.282$\pm$0.011 & 0.0 & - & -    \\
1366: %0 & 2 & 6 & 1441.84 & 16.16    &   6.651480 &  17.130072 & 24.393$\pm$0.045  & 2
1367: %6.099$\pm$0.062 & 25.119$\pm$0.049 & 0.0 & - & -    \\
1368: %0 & 2 & 7 & 205.43  & 3.96     &   6.655520 &  17.146742 & 24.424$\pm$0.032  & 2
1369: %5.028$\pm$0.025 & 24.597$\pm$0.027 & 0.0 & - & -    \\
1370: %0 & 2 & 8 & 1321.63 & 9.76     &   6.651950 &  17.131672 & 22.189$\pm$0.011  & 2
1371: %4.743$\pm$0.021 & 23.298$\pm$0.011 & 0.0 & 4 & edge \\
1372: %\enddata
1373: 
1374: %% Text for table notes should follow after the \enddata but before
1375: %% the \end{deluxetable}. Make sure there is at least one \tablenotemark
1376: %% in the table for each \tablenotetext.
1377: 
1378: %\tablecomments{Table \ref{tbl-1} is published in its entirety in the electronic edition of the {\it Astrophysical Journal}. A portion is shown here for guidance
1379: %regarding its form and content.}
1380: 
1381: %\tablenotetext{a}{Sample footnote for table~\ref{tbl-1} that was generated
1382: %with the deluxetable environment}
1383: %\tablenotetext{b}{Another sample footnote for table~\ref{tbl-1}}
1384: 
1385: %\end{deluxetable}
1386: 
1387: %% If you use the table environment, please indicate horizontal rules using
1388: %% \tableline, not \hline.
1389: %% Do not put multiple tabular environments within a single table.
1390: %% The optional \label should appear inside the \caption command.
1391: 
1392: %\clearpage
1393: 
1394: %\begin{table}
1395: %\begin{center}
1396: %\caption{More terribly relevant tabular information.\label{tbl-2}}
1397: %\begin{tabular}{crrrrrrrrrrr}
1398: %\tableline\tableline
1399: %Star & Height & $d_{x}$ & $d_{y}$ & $n$ & $\chi^2$ & $R_{maj}$ & $R_{min}$ &
1400: %\multicolumn{1}{c}{$P$\tablenotemark{a}} & $P R_{maj}$ & $P R_{min}$ &
1401: %\multicolumn{1}{c}{$\Theta$\tablenotemark{b}} \\
1402: %\tableline
1403: %1 &33472.5 &-0.1 &0.4  &53 &27.4 &2.065  &1.940 &3.900 &68.3 &116.2 &-27.639\\
1404: %2 &27802.4 &-0.3 &-0.2 &60 &3.7  &1.628  &1.510 &2.156 &6.8  &7.5 &-26.764\\
1405: %3 &29210.6 &0.9  &0.3  &60 &3.4  &1.622  &1.551 &2.159 &6.7  &7.3 &-40.272\\
1406: %4 &32733.8 &-1.2\tablenotemark{c} &-0.5 &41 &54.8 &2.282  &2.156 &4.313 &117.4 &78.2 &-35.847\\
1407: %5 & 9607.4 &-0.4 &-0.4 &60 &1.4  &1.669\tablenotemark{c}  &1.574 &2.343 &8.0  &8.9 &-33.417\\
1408: %6 &31638.6 &1.6  &0.1  &39 &315.2 & 3.433 &3.075 &7.488 &92.1 &25.3 &-12.052\\
1409: %\tableline
1410: %\end{tabular}
1411: 
1412: %% Any table notes must follow the \end{tabular} command.
1413: 
1414: %\tablenotetext{a}{Sample footnote for table~\ref{tbl-2} that was
1415: %generated with the \LaTeX\ table environment}
1416: %\tablenotetext{b}{Yet another sample footnote for table~\ref{tbl-2}}
1417: %\tablenotetext{c}{Another sample footnote for table~\ref{tbl-2}}
1418: %\tablecomments{We can also attach a long-ish paragraph of explanatory
1419: %material to a table.}
1420: %\end{center}
1421: %\end{table}
1422: 
1423: %% If the table is more than one page long, the width of the table can vary
1424: %% from page to page when the default \tablewidth is used, as below.  The
1425: %% individual table widths for each page will be written to the log file; a
1426: %% maximum tablewidth for the table can be computed from these values.
1427: %% The \tablewidth argument can then be reset and the file reprocessed, so
1428: %% that the table is of uniform width throughout. Try getting the widths
1429: %% from the log file and changing the \tablewidth parameter to see how
1430: %% adjusting this value affects table formatting.
1431: 
1432: %% The \dataset macro has also been applied to a few of the objects to
1433: %% show how many observations can be tagged in a table.
1434: 
1435: %\clearpage
1436: 
1437: %\begin{deluxetable}{lrrrrcrrrrr}
1438: %\tablewidth{0pt}
1439: %\tablecaption{Literature Data for Program Stars}
1440: %\tablehead{
1441: %\colhead{Star}           & \colhead{V}      &
1442: %\colhead{b$-$y}          & \colhead{m$_1$}  &
1443: %\colhead{c$_1$}          & \colhead{ref}    &
1444: %\colhead{T$_{\rm eff}$}  & \colhead{log g}  &
1445: %\colhead{v$_{\rm turb}$} & \colhead{[Fe/H]} &
1446: %\colhead{ref}}
1447: %\startdata
1448: %HD 97 & 9.7& 0.51& 0.15& 0.35& 2 & \nodata & \nodata & \nodata & $-1.50$ & 2 \\
1449: %& & & & & & 5015 & \nodata & \nodata & $-1.50$ & 10 \\
1450: %\dataset[ADS/Sa.HST#O6H04VAXQ]{HD 2665} & 7.7& 0.54& 0.09& 0.34& 2 & \nodata & \nodata & \nodata & $-2.30$ & 2 \\
1451: %& & & & & & 5000 & 2.50 & 2.4 & $-1.99$ & 5 \\
1452: %& & & & & & 5120 & 3.00 & 2.0 & $-1.69$ & 7 \\
1453: %& & & & & & 4980 & \nodata & \nodata & $-2.05$ & 10 \\
1454: %HD 4306 & 9.0& 0.52& 0.05& 0.35& 20, 2& \nodata & \nodata & \nodata & $-2.70$ & 2 \\
1455: %& & & & & & 5000 & 1.75 & 2.0 & $-2.70$ & 13 \\
1456: %& & & & & & 5000 & 1.50 & 1.8 & $-2.65$ & 14 \\
1457: %& & & & & & 4950 & 2.10 & 2.0 & $-2.92$ & 8 \\
1458: %& & & & & & 5000 & 2.25 & 2.0 & $-2.83$ & 18 \\
1459: %& & & & & & \nodata & \nodata & \nodata & $-2.80$ & 21 \\
1460: %& & & & & & 4930 & \nodata & \nodata & $-2.45$ & 10 \\
1461: %HD 5426 & 9.6& 0.50& 0.08& 0.34& 2 & \nodata & \nodata & \nodata & $-2.30$ & 2 \\
1462: %\dataset[ADS/Sa.HST#O5F654010]{HD 6755} & 7.7& 0.49& 0.12& 0.28& 20, 2& \nodata & \nodata & \nodata & $-1.70$ & 2 \\
1463: %& & & & & & 5200 & 2.50 & 2.4 & $-1.56$ & 5 \\
1464: %& & & & & & 5260 & 3.00 & 2.7 & $-1.67$ & 7 \\
1465: %& & & & & & \nodata & \nodata & \nodata & $-1.58$ & 21 \\
1466: %& & & & & & 5200 & \nodata & \nodata & $-1.80$ & 10 \\
1467: %& & & & & & 4600 & \nodata & \nodata & $-2.75$ & 10 \\
1468: %\dataset[ADS/Sa.HST#O56D06010]{HD 94028} & 8.2& 0.34& 0.08& 0.25& 20 & 5795 & 4.00 & \nodata & $-1.70$ & 22 \\
1469: %& & & & & & 5860 & \nodata & \nodata & $-1.70$ & 4 \\
1470: %& & & & & & 5910 & 3.80 & \nodata & $-1.76$ & 15 \\
1471: %& & & & & & 5800 & \nodata & \nodata & $-1.67$ & 17 \\
1472: %& & & & & & 5902 & \nodata & \nodata & $-1.50$ & 11 \\
1473: %& & & & & & 5900 & \nodata & \nodata & $-1.57$ & 3 \\
1474: %& & & & & & \nodata & \nodata & \nodata & $-1.32$ & 21 \\
1475: %HD 97916 & 9.2& 0.29& 0.10& 0.41& 20 & 6125 & 4.00 & \nodata & $-1.10$ & 22 \\
1476: %& & & & & & 6160 & \nodata & \nodata & $-1.39$ & 3 \\
1477: %& & & & & & 6240 & 3.70 & \nodata & $-1.28$ & 15 \\
1478: %& & & & & & 5950 & \nodata & \nodata & $-1.50$ & 17 \\
1479: %& & & & & & 6204 & \nodata & \nodata & $-1.36$ & 11 \\
1480: %\cutinhead{This is a cut-in head}
1481: %+26\arcdeg2606& 9.7&0.34&0.05&0.28&20,11& 5980 & \nodata & \nodata &$<-2.20$ & 19 \\
1482: %& & & & & & 5950 & \nodata & \nodata & $-2.89$ & 24 \\
1483: %+26\arcdeg3578& 9.4&0.31&0.05&0.37&20,11& 5830 & \nodata & \nodata & $-2.60$ & 4 \\
1484: %& & & & & & 5800 & \nodata & \nodata & $-2.62$ & 17 \\
1485: %& & & & & & 6177 & \nodata & \nodata & $-2.51$ & 11 \\
1486: %& & & & & & 6000 & 3.25 & \nodata & $-2.20$ & 22 \\
1487: %& & & & & & 6140 & 3.50 & \nodata & $-2.57$ & 15 \\
1488: %+30\arcdeg2611& 9.2&0.82&0.33&0.55& 2 & \nodata & \nodata & \nodata & $-1.70$ & 2 \\
1489: %& & & & & & 4400 & 1.80 & \nodata & $-1.70$ & 12 \\
1490: %& & & & & & 4400 & 0.90 & 1.7 & $-1.20$ & 14 \\
1491: %& & & & & & 4260 & \nodata & \nodata & $-1.55$ & 10 \\
1492: %+37\arcdeg1458& 8.9&0.44&0.07&0.22&20,11& 5296 & \nodata & \nodata & $-2.39$ & 11 \\
1493: %& & & & & & 5420 & \nodata & \nodata & $-2.43$ & 3 \\
1494: %+58\arcdeg1218&10.0&0.51&0.03&0.36& 2 & \nodata & \nodata & \nodata & $-2.80$ & 2 \\
1495: %& & & & & & 5000 & 1.10 & 2.2 & $-2.71$ & 14 \\
1496: %& & & & & & 5000 & 2.20 & 1.8 & $-2.46$ & 5 \\
1497: %& & & & & & 4980 & \nodata & \nodata & $-2.55$ & 10 \\
1498: %+72\arcdeg0094&10.2&0.31&0.09&0.26&12 & 6160 & \nodata & \nodata & $-1.80$ & 19 \\
1499: %\sidehead{I am a side head:}
1500: %G5--36 & 10.8& 0.40& 0.07& 0.28& 20 & \nodata & \nodata & \nodata & $-1.19$ & 21 \\
1501: %G18--54 & 10.7& 0.37& 0.08& 0.28& 20 & \nodata & \nodata & \nodata & $-1.34$ & 21 \\
1502: %G20--08 & 9.9& 0.36& 0.05& 0.25& 20,11& 5849 & \nodata & \nodata & $-2.59$ & 11 \\
1503: %& & & & & & \nodata & \nodata & \nodata & $-2.03$ & 21 \\
1504: %G20--15 & 10.6& 0.45& 0.03& 0.27& 20,11& 5657 & \nodata & \nodata & $-2.00$ & 11 \\
1505: %& & & & & & 6020 & \nodata & \nodata & $-1.56$ & 3 \\
1506: %& & & & & & \nodata & \nodata & \nodata & $-1.58$ & 21 \\
1507: %G21--22 & 10.7& 0.38& 0.07& 0.27& 20,11& \nodata & \nodata & \nodata & $-1.23$ & 21 \\
1508: %G24--03 & 10.5& 0.36& 0.06& 0.27& 20,11& 5866 & \nodata & \nodata & $-1.78$ & 11 \\
1509: %& & & & & & \nodata & \nodata & \nodata & $-1.70$ & 21 \\
1510: %G30--52 & 8.6& 0.50& 0.25& 0.27& 11 & 4757 & \nodata & \nodata & $-2.12$ & 11 \\
1511: %& & & & & & 4880 & \nodata & \nodata & $-2.14$ & 3 \\
1512: %G33--09 & 10.6& 0.41& 0.10& 0.28& 20 & 5575 & \nodata & \nodata & $-1.48$ & 11 \\
1513: %G66--22 & 10.5& 0.46& 0.16& 0.28& 11 & 5060 & \nodata & \nodata & $-1.77$ & 3 \\
1514: %& & & & & & \nodata & \nodata & \nodata & $-1.04$ & 21 \\
1515: %G90--03 & 10.4& 0.37& 0.04& 0.29& 20 & \nodata & \nodata & \nodata & $-2.01$ & 21 \\
1516: %LP 608--62\tablenotemark{a} & 10.5& 0.30& 0.07& 0.35& 11 & 6250 & \nodata &
1517: %\nodata & $-2.70$ & 4 \\
1518: %\enddata
1519: %\tablenotetext{a}{Star LP 608--62 is also known as BD+1\arcdeg 2341p.  We will
1520: %make this footnote extra long so that it extends over two lines.}
1521: 
1522: %% You can append references to a table using the \tablerefs command.
1523: 
1524: %\tablerefs{
1525: %(1) Barbuy, Spite, \& Spite 1985; (2) Bond 1980; (3) Carbon et al. 1987;
1526: %(4) Hobbs \& Duncan 1987; (5) Gilroy et al. 1988: (6) Gratton \& Ortolani 1986;
1527: %(7) Gratton \& Sneden 1987; (8) Gratton \& Sneden (1988); (9) Gratton \& Sneden 1991;
1528: %(10) Kraft et al. 1982; (11) LCL, or Laird, 1990; (12) Leep \& Wallerstein 1981;
1529: %(13) Luck \& Bond 1981; (14) Luck \& Bond 1985; (15) Magain 1987;
1530: %(16) Magain 1989; (17) Peterson 1981; (18) Peterson, Kurucz, \& Carney 1990;
1531: %(19) RMB; (20) Schuster \& Nissen 1988; (21) Schuster \& Nissen 1989b;
1532: %(22) Spite et al. 1984; (23) Spite \& Spite 1986; (24) Hobbs \& Thorburn 1991;
1533: %(25) Hobbs et al. 1991; (26) Olsen 1983.}
1534: %\end{deluxetable}
1535: 
1536: %% Tables may also be prepared as separate files. See the accompanying
1537: %% sample file table.tex for an example of an external table file.
1538: %% To include an external file in your main document, use the \input
1539: %% command. Uncomment the line below to include table.tex in this
1540: %% sample file. (Note that you will need to comment out the \documentclass,
1541: %% \begin{document}, and \end{document} commands from table.tex if you want
1542: %% to include it in this document.)
1543: 
1544: %% \input{table}
1545: 
1546: %% The following command ends your manuscript. LaTeX will ignore any text
1547: %% that appears after it.
1548: 
1549: \end{document}
1550: 
1551: %%
1552: %% End of file `sample.tex'.