Starlab version 4.4.1 program created on Apr 27 2005 at 22:54:02 source file /home/steve/starlab/src/node/dyn/util/add_power_law.C Add power-law parameters to an input snapshot and write it out again. Do not change the input data. External field is basically that of a power-law mass distribution M(r) = A r^x except that the density is constant for r < a. Parameters are interpreted in physical units if they have been specified with add_star, are converted to N-body units if necessary, and are written to the root log story for subsequent use by set_com, scale, kira, etc. Note that -e 0 is currently implemented as a Plummer field, and is flagged as such. Usage: add_power_law [OPTIONS] < input > output Options: -A/M specify coefficient [1] -c add comment [none] -C specify center [(0,0,0)] -e/E/x/X specify exponent [0] -a/R specify scale [1] -G select parameters (physical units) appropriate for the Galactic center (Mezger et al. 1999) [no] -n force interpretation of all parameters in N-body units [no] Written by Steve McMillan. Report bug to starlab (at) sns.ias.edu.