HTML automatically generated with rman
Table of Contents
snaptrans - coordinate transformations of a snapshot
snaptrans
[parameter=value]
snaptrans will perform various coordinate
transformations on a snapshot.
Currently one can only transform (cart,sph)
and (cart,cyl) in the default coordinate ordening:
cart x,y,z
cyl rad,phi,z
sph rad,phi,theta
Future enhancements will allow anything to anything, including reordering
the coordinates.
The following parameters are recognized in any
order if the keyword is also given:
- in=
- Input snapshot filename (no
default)
- out=
- Output snapshot filename (no default)
- ctypei=
- Input coordinate
system. Any of: cart, sph, cyl can be given.
- ctypeo=
- Output coordinate system.
See previous keyword.
- projpi=
- Input projection parameters, if needed. Default:
none provided.
- projpo=
- Output projection parameters, if needed. Default:
none provided.
- scale=
- Items to scale (phase,pos,vel,acc). By default all
position related vectors are transformed, but you can select a subset this
way.
- ndim=
- Force dimensionality, if it can be overriden. Default: NDIM, as
compiled with the program.
- times=t1:t2,t3:t4,...
- Times to select snapshots
from. A series of ranges can be given. Default: all.
After a snapshot
has been converted to anything else but cartesian, selection of body variables
(e.g. see bodytrans(1NEMO)
) is still by their cartesian names, x, vx, ax,
y etc.
Peter Teuben
snapscale(1NEMO)
2-nov-94 V1.0 Created Peter Teuben
Table of Contents