Tagname current ASCII Bit? SnapShotTag "SnapShot" - ParametersTag "Parameters" - NobjTag "Nobj" - TimeTag "Time" TimeBit ParticlesTag "Particles" - CoordSystemTag "CoordSystem" - MassTag "Mass" MassBit PhaseSpaceTag "PhaseSpace" PhaseSpaceBit PositionTag "Position" PositionBit (see ZENO below) VelocityTag "Velocity" VelocityBit (see ZENO below) AccelerationTag "Acceleration" AccelerationBit PotentialTag "Potential" PotentialBit AuxTag "Aux" AuxBit KeyTag "Key" KeyBit DensityTag "Density" GasDensTag "GasDensity" EpsTag "Eps" StoryTag "Story" NumberTag "NPartners" SPHNumberTag "NSPHPartners" DiagnosticsTag "Diagnostics" - EnergyTag "Energy" EnergyBit KETensorTag "KETensor" KETensorBit PETensorTag "PETensor" PETensorBit AMTensorTag "AMTensor" AMTensorBit CMPhaseSpaceTag "CMPhaseSpace" CMPhaseSpaceBit
#define CSCode(type,ndim,nder) ((type) | (ndim) << 8 | (nder)) #define CSType(code) ( (code) & (0377 << 16)) #define CSNdim(code) (((code) >> 8) & 0377) #define CSNder(code) ( (code) & 0377) #define Cartesian (1 << 16) #define Spherical (2 << 16) #define Scattering (3 << 16) #define TrueAnomaly (4 << 16) #define EccAnomaly (5 << 16) #define MeanAnomaly (6 << 16) #define PeriPassage (7 << 16)
The coordinate system flag, usually visible as an octal number via tsf(1NEMO) , consists of three parts: nder refers to the number of derived quantities (2 if position and velocities are given, 3 of the jerk is also given, 1 if only position is given), ndim, the dimensionality of the coordinate system (typically 1, 2 or 3, but higher values should not be illegal if the code handles it), and tBtype, which is an enumerated number that signifies the coordinate type (from <snapshot/snapshot.h>: Cartesian, Spherical, etc.)
mkplummer p100 100 gyrfalcON p100 p100.out snapscale p100.out - | stoa - p100.atos
Large Particles, e.g. Stern et al. MNRAS, 272, 291 (1995)
~/inc/snapshot/ snapshot.h body.h get_snap.h put_snap.h
26-aug-93 written at long last PJT 2-jan-03 documented the split Pos/Vel (ZENO) type snapshot flavor PJT 10-feb-04 documented SPH properties PJT