HTML automatically generated with rman
Table of Contents

Name

otos - convert and combine orbits to a snapshot

Synopsis

otos in=orbit out=snapshot [parameter=value]

Description

otos converts a set of orbits into a snapshot, as if they are part of one big family. Selections can be made from the orbits, as well as a simple stride through each orbit itself. More complex selections would have to be done using multiple runs of otos, and recombining them with snapadd.

Parameters

The following parameters are recognized in any order if the keyword is also given:
in=in-file
input file, will be in orbit(5NEMO) format [no default]
out=out-file
output file, in snapshot(5NEMO) format [no default]
orbit=n1,n2,..
Orbit numbers to select. A ordered list can be given, the word "all" is reserved to select all orbits for copy. The first orbit is numbered 0. [default: all]
maxsteps=max-steps
Steps allocated such that largest orbit fits in here. [default: 5000]
stride=stride
Stride through an orbit. If 1, all points are copied to the snapshot, numbers larger than 1 select every stride-th particle from the orbit to be copied. [default: 1]
nbody=maxbody
Since the orbit file is only scanned once, we need to supply an estimate how many bodies to allocate for the final snapshot. [default: 10000]
scan=t|f
If this mode it true, program continues to scan all orbits, according to input parameters orbit= and stride=, even if all allocated space in the snapshot has been filled. At the end it reports on the total number of bodies needed. [default: f]

See Also

snapshot(5NEMO) , orbit(5NEMO)

Author

Peter Teuben

Files


~/src/orbit/misc       otos.c otos.1

Update History


23-may-90    V1.0 created, seemingly in great haste...    PJT
20-dec-90    V1.1 scan= implemented; some manual page written    PJT


Table of Contents