Table of Contents
mksphere - construct an arbitrary spherical mass distribution
mksphere
out= nbody= [parameter=value]
mksphere creates a spherical mass
distribution consistent with a user supplied density profile.
The
following parameters are recognized in any order if the keyword is also
given:
- out=
- Output file name, in standard snapshot(5NEMO)
format. No default.
- nbody=
- Number of particles, no default.
- radii=
- Radii in sphere. Must be given
in ascending order, but can be any nemoinp(3NEMO)
expression, e.g. 0:10:0.1.
- density=
- Associated densities at given radii. If fewer densities are given
than radii, the last entered density will repeat.
- seed=
- Seed for the random
number generator. [Default: 0]
- zerocm=
- Center the snapshot after creation?
[Default: t]
- rmin=
- minimum radius, if to override from radii. Default
first radius.
- rmax=
- maximum radius, if to override from radii. Default last
radius.
- headline=
- Verbiage for output. Default none.
snapscale(1NEMO)
,
snapadd(1NEMO)
, snapshot(5NEMO)
Add velocities, a fake hubble flow.
Look at Vincent Icke’s nbodyinit.f
Peter Teuben
8-sep-95 V1.0 Created as toy model for 1995 NHK production PJT
Table of Contents