This HTML automatically generated with rman for NEMO
Table of Contents

Name

put_snap -- output routines for standardized snapshot files

Synopsis


#include <snapshot/snapshot.h>
#include <snapshot/put_snap.c>
put_snap(outstr, btab, nbody, tsnap, bits)
stream outstr;
Body **btab;
int *nbody, *bits;
real *tsnap;

Descriptionput_snap is a generic method for writing snapshot data to a
file, to be included by the preprocessor in an application program. It assumes
that a body structure with standard declaration and accessor macros Body,
Mass(), Phase(), etc has been defined (see body(3NEMO)). See Alsoget_snap(3NEMO),
body(3NEMO), snapshot(5NEMO). AuthorJoshua E. Barnes.