Fix that seeking was wrong if frame time was modified
[alexxy/gromacs.git] / include / types / trx.h
index 481aaffb1470b974949ad2bc16787bf34a3cd7c3..82e36c908d92916d9eab302546653a973225ccd8 100644 (file)
@@ -60,6 +60,7 @@ typedef struct trxframe
     int      natoms;           /* number of atoms (atoms, x, v, f) */
     real     t0;               /* time of the first frame, needed  *
                                 * for skipping frames with -dt     */
+    real     tf;               /* internal frame time - DO NOT CHANGE */
     real     tpf;              /* time of the previous frame, not  */
                                /* the read, but real file frames   */
     real     tppf;             /* time of two frames ago           */