This HTML automatically generated with rman for NEMO
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.

See also ZENO’s General Spherical Profile for another generalization to create models.

Parameters

The following parameters are recognized in order; they may be given in any order if the keyword is also given. Use --help to confirm this man page is up to date.
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) , mkplummer(1NEMO)

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

BGH A14

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
19-feb-06    V1.4 mdarray    PJT
6-jun-2023    cleaner compile    PJT


Table of Contents