This HTML automatically generated with rman for NEMO
Table of Contents

Name

snapsphere - copy a phase space sphere of particles from an N-body system

Synopsis

snapsphere in=snap_in out=snap_out [parameters=values...]

Description

snapsphere copies all particles from an N-body system which are within a radial shell, specified by its center and two radii, in position as well as velocity position space.

Parameters

The following parameters are reckognized in any order if the keyword is also given:
in=snap_in
Input data is read from snap_in, which must be in standard snapshot(5NEMO) format [no default].
out=snap_out
Copied output data is written to snap_out, which will also be in snapshot(5NEMO) format [No default].
rcen=x,y,z
The center of the sphere in space coodinates. [default:0,0,0].
vcen=vx,vy,vz
The center of the sphere in velocity coodinates. [default:0,0,0].
rrad=[rmin:]rmax
rmin and rmax are the inner and outer radius of the shell in space coordinates. If only one radius is given, it is assumed to be the outer radius of the sphere. [default:0:infinity].
vrad=[vrmin:]vrmax
vmin and vmax are the inner and outer radius of the shell in velocity coordinates. If only one radius is given, it is assumed to be the outer radius of the sphere. [default:0:infinity].
times=time-ranges
Only snapshots with time values within times-ranges, which is of the form ts[:te],..., will be copied. [default: all].

Author

Peter Teuben

Bugs

Does not handle subsequent multiple snashots when they are larger than the first one.

Files


~/src/pjt/nbody     snapsphere.c snapsphere.1

Update History


 8-Apr-87    Version 1.0: created              PJT
22-Apr-87    V1.1: headline bug           PJT
xx-xxx-87    V1.2: keyword ’select’ added    PJT
19-Jun-87    V1.3: ’cs’ was not read in    PJT
 1-Jul-87    V1.4: time check    PJT
 6-jun-88    V1.6: new filestruct    PJT
 1-aug-88    V1.6a: bug in mass transfer    PJT
20-dec-88    V1.7: shells instead of spheres    PJT
14-feb-89    V1.7a: bug removed - get_now snap    PJT


Table of Contents