HTML automatically generated with rman
Table of Contents

Name

snapstack - superimpose two N-body snapshots

Synopsis

snapstack in1=in_file1 in2=in_file2 out=out_file [parameter=value] ...

Description

snapstack reads in two N-body systems and outputs one containing particles from both. It may be used to set up collisions by specifying offsets in position and velocity space.

If more than two snapshots need to be stacked, multiple runs of snapstack. would be needed, or snapadd(1NEMO) can be used.

Parameters

The following parameters are recognized.
in1=in_file1
in2=in_file2
Input data will be read from these files, which must be in snapshot(5NEMO) format. Only the first frames are used. Default: required.
out=out_file
Output data will be written to out_file.
deltar=rel_position
Relative position of first snapshot w.r.t. second. Default: 0.0,0.0,0.0.
deltav=rel_velocity
Relative velocity of first snapshot w.r.t. second. Default: 0.0,0.0,0.0.
zerocm=zero_cm_flag
If true, translate to center of mass before output. Default: false.
shift=1|2
Shift system1 or system2? If the final system is shifted with center of mass moved to the center, this option is not relevant anymore. Default: 1.
headline=message
Text message prepended to out_file. Default: none.

See Also

snapadd(1NEMO) , snapshot(5NEMO)

Author

Joshua E. Barnes

History


2-jun-88    
22-jan-89    V1.1 ???    JEB
20-jun-03    V1.2 using new get_snap/put_snap    PJT
5-aug-06    V2.0 added shift= and made zerocm=f default    PJT


Table of Contents