HTML automatically generated with rman
Table of Contents

Name

uns_stack - superimpose two UNS N-body snapshots

Synopsis

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

Description

uns_stack reads in two UNS 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 uns_stack. would be needed

Parameters

The following parameters are recognized.
in1=in_file1
in2=in_file2
Input data will be read from these files, which must be in UNS format (currently Nemo and Gadget2 are supported). Only the first frames are used. Both input snapshot must have the same file format.

Default: required.

out=out_file
Output data will be written to out_file. The out file format will be the same as input file format.
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.
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.
zerocm=zero_cm_flag
If true, translate to center of mass before output. Default: false.
verbose=flag
If true, give some verbose output. Default: True.

See Also

snapstack(1NEMO) , snapadd(1NEMO) , snapshot(5NEMO)

Author

Jean-Charles LAMBERT

History


02-Apr-10    V1.0 created    JCL


Table of Contents