PLUTO
4.4-patch2
|
Write trajectoy of a particle. More...
#include "pluto.h"
Functions | |
void | Particles_WriteTrajectory (Particle *p, char mode) |
void Particles_WriteTrajectory | ( | Particle * | p, |
char | mode | ||
) |
Write particle coordinates to an ASCII file, named "particle.<id>.dat" where <id> is the particle id. The file used a multiple column format,
<t> <x1> <x2> <x3> <vx1> <vx2> <vx3>
where <t> is the time column and the other contain coordinates and velocities.
[in] | p | A pointer to a particle structure |
[in] | mode | Either "w" or "a" to write or append to the file. |