#include <stdio.h>
#include "global.h"
Go to the source code of this file.
◆ Trajectory()
Definition at line 25 of file Trajectory.c.
25 {
26 int n;
27
28 fprintf(
fpxyz,
"ITEM: TIMESTEP\n");
30 fprintf(
fpxyz,
"ITEM: NUMBER OF ATOMS\n");
32 fprintf(
fpxyz,
"ITEM: BOX BOUNDS pp ff pp\n");
35 fprintf(
fpxyz,
"%lf %lf zlo zhi\n", -0.1, 0.1);
36 fprintf(
fpxyz,
"ITEM: ATOMS id mol type radius x y vx vy fx fy\n");
37 for(n=1; n<=
nAtom; n++)
38 fprintf(
fpxyz,
"%d\t %d\t %d\t %0.2lf\t %0.16lf\t %0.16lf\t %0.16lf\t %0.16lf\t %0.16lf\t %0.16lf\n",
40}
References atomID, atomRadius, atomType, fpxyz, fx, fy, molID, nAtom, regionH, rx, ry, timeNow, vx, and vy.
Referenced by main().