This HTML automatically generated with rman for NEMO
Table of Contents

Name

snapsample - select a subset particles in snapshot

Synopsis

snapsample in=in_file out=out_file [parameter=value] ...

Description

snapsample reads the first snapshot(5NEMO) frame from in and copies a subset of the particles to out. The remaining particles are rescaled in mass so that the total mass is unchanged.

Parameters

The following parameters are recognized:
in=in_file
Input data is read from in_file. Default: required.
out=out_file
Output data is written to out_file. Default: required.
nsamp=num_bodies
Number of bodies written to output. Should evenly divide the number in the input file. Default: 32.
offset=body_offset
Specify origin for periodic sampling of body array. Default: 0.
besort=sort_flag
If set, sort particles by binding energy before sampling. Input data must include Potential item. Default: false.

See Also

snapmask(1NEMO) , snaptrim(1NEMO) , snapshot(5NEMO)

Notes

At some point, we should merge this program with snapmask.

Author

Joshua E. Barnes


Table of Contents