Table of Contents

Name

mkpolytrope - make N-body model of generalized polytrope

Synopsis

mkpolytrope out=out_file [parameter=value] ...

Description

mkpolytrope generates an N-body realization of one of Henon’s generalized polytropes. At present, only the polytrope n = 1, m = -1 is supported.

Parameters

The following parameters are recognized.
out=out_file
Write to out_file in snapshot(5NEMO) format. No default.
nbody=num_bodies
Number of particles to generate. Default: 512.
n=E_exponent
Exponent of energy in distribution function. This can be a real-valued expression. Default: 1.
m=J_exponent
Exponent of angular momentum. This can be a real-valued expression. Default: -1.
seed=random_seed
Seed for random number generator. Default: 0.
headline=message
Message prepended to out_file. Default: none.

See Also

mkommod(1NEMO)

"Stability of Collisionless Stellar Dynamics", P.L.Palmer (Kluwer, Dordrecht, 1994) - Appendix A.

Author

Joshua E. Barnes

History


2-Jun-88    created?    Josh
22-jan-89    V1.1 some more    Josh
15-nov-90    V1.2 NEMO 2.x upgrades    PJT
13-dec-94    V1.3 keyword nobj= renamed to nbody=    PJT


Table of Contents