t_count count;
t_fr_time first, last;
int j = -1, new_natoms, natoms;
- gmx_off_t fpos;
real rdum, tt, old_t1, old_t2, prec;
gmx_bool bShowTimestep = TRUE, bOK, newline = FALSE;
t_trxstatus *status;
j = 0;
old_t2 = -2.0;
old_t1 = -1.0;
- fpos = 0;
count.bStep = 0;
count.bTime = 0;
old_t2 = old_t1;
old_t1 = fr.time;
- /*if (fpos && ((j<10 || j%10==0)))
- fprintf(stderr," byte: %10lu",(unsigned long)fpos);*/
j++;
new_natoms = fr.natoms;
#define INC(s, n, f, l, item) if (s.item != 0) { if (n.item == 0) { first.item = fr.time; } last.item = fr.time; n.item++; \
INC(fr, count, first, last, bF);
INC(fr, count, first, last, bBox);
#undef INC
- fpos = gmx_fio_ftell(trx_get_fileio(status));
}
while (read_next_frame(oenv, status, &fr));