Table of Contents

Name

mkconfig - make a static configuration of particles.

Synopsis

mkconfig out=in_file [parameter=value] ...

Description

mkconfig creates a configuration of particles with specified shape in position space and zero velocities.

Parameters

The following parameters are recognized:
out=out_file
Output file, in snapshot format. Default: required.
shape=configuration
Name of configuration to generate; currently shell, ball, cusp, line, or ring. Default: shell.
radius=config_radius
Specify size of configuration. Default: 1.0.
nbody=num_bodies
Number of particles in configuration. Default: 512.
seed=random_seed
Seed used to initialize random number generator. Default: 123.
mass=total_mass
Total mass of the system . Default: 1.
zerocm=zero_cm_flag
If set, translate origin to center of mass of configuration. Default: false.
headline=message
Message prepended to out_file.

See Also

mkconfig(1NEMO) , mkommod(1NEMO) , mk2body(1NEMO) , snapshot(5NEMO)

Author

Joshua E. Barnes

History


2-jun-88    document created?    JEB
8-jul-90    V0.x nobj->nbody, new snapshot macro’s      PJT
6-may-2010    V1.0 added mass=    PJT


Table of Contents