Table of Contents

Name

mkcube - create a uniform cube of equal massive stars

Synopsis

mkcube out=snapshot [parameter=value]

Description

mkcube generates a random realization of a cube. Coordinates in X, Y and Z are uniformly randomly distributed on a cube with given size. Velocities by default are zero, but can be drawn from an isotropic distribution with choosen dispersion.

Parameters

The following parameters are recognized in any order if the keyword is also given:
out=
Output file name, in snapshot(5NEMO) format. No default.
nbody=
Number of particles. [Default: 256].
size=
Size of cube. [Default: 1].
sigma=
Isotropic velocity dispersion. [Default: 0.0].
seed=
Random number seed [Default: 0].
zerocm=t|f
Center c.o.m. ? [Default: t].
headline=
Text headline for output Default: none.

See Also

mkgrid(1NEMO) , mkplummer(1NEMO) , snapshot(5NEMO)

http://arxiv.org/abs/1206.3857 (The gravitational field of a cube, Chappel et al.)

Author

Peter Teuben

Update History


26-Aug-93    V1.0 Created    PJT


Table of Contents