This HTML automatically generated with rman for NEMO
Table of Contents

Name

ntmpv - ascii format for N-body snapshot files

Synopsis


Nbody Timem1 x1 y1 z1 vx1 vy1 vz2...mN xN yN zN vxN vyN vzN

Description

ntmpv is a natural way to describe the data in an N-body snapshot. The first line contains the number of bodies, and the time of the snapshot. The 2nd through (N+1)st line contain, one particle per line, the mass, position and velocity of each particle.

Reading such a format into NEMO’s snapshot(5NEMO) can be done as follows:

    tabtos in=plum1.tab out=plum1.snap header=nbody,time block1=mass,pos,vel
and turning a snapshot into ntmpv(5NEMO) format as follows:
    snapprint in=plum1.snap options=m,x,y,z,vx,vy,vz header=t > plum1.tab
sans the accuracy (see also the format= keyword in snapprint)

See Also

snapshot(5NEMO) , scfm(1NEMO)

Author

Peter Teuben

Update History


7-jul-97    man written     PJT


Table of Contents