HTML automatically generated with rman
Table of Contents

Name

mkhernquist - create a two-component, isotropic, spherical galaxy+halo Hernquist model

Synopsis

mkhernquist [parameter=value]

Description

mkhernquist generates a two-component, isotropic, spherical galaxy/halo model using a superposition of two Hernquist models. The galaxy is assumed to be a unit Hernquist model with M=a=1 while the halo mass and scale radius are free parameters specified on the command line. The distribution function is calculated on the fly using Eddington’s formula and then sampled to generate a N-body realization of a galaxy. The galaxy and halo particles are dumped in succession -- first half are galaxy particles.

Parameters

The following parameters are recognized in any order if the keyword is also given:
out=
Output file name. No default.
nbody=
Total number of particles for both components. No default.
m=
Mass of Halo (where the galaxy has mass=1) [1]
a=
Scale length of Halo (where the galaxy has radius=1) [1]
seed=
Standard seed [0]
addphi=
Add potentials to snapshot [f]
zerocm=
Centrate snapshot (t/f)? [t]
headline=
Optional verbiage []

Caveats

Due to the relatively large number of particles at large radii, setting zerocm=t will cause the center to be significantly shifted from the origin.

See Also

mkplummer(1NEMO)

Files

Author

Peter Teuben, John Dubinski (original version)

Update History


27-Mar-03    V1.1 man pages finally created      PJT


Table of Contents