*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015,2016, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2016,2018, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
* fix the fact that after 2^31 frames, step numbers will wrap to be
* negative. Fortunately, this tends not to cause serious problems,
* and we've fixed it in TNG. Meanwhile, the implementation pretends
- * to the rest of GROMACS that it functions with gmx_int64_t like all
+ * to the rest of GROMACS that it functions with int64_t like all
* other step numbers, but the actual range in practice depends on the
* defaults of the implementation in use now (or when the file was
* written).
int f_size; /* Non zero if forces are present */
int natoms; /* The total number of atoms */
- gmx_int64_t step; /* Current step number */
+ int64_t step; /* Current step number */
int nre; /* Backward compatibility */
real t; /* Current time */
real lambda; /* Current value of lambda */
* Return FALSE on error
*/
-gmx_bool gmx_trr_read_frame(struct t_fileio *fio, gmx_int64_t *step, real *t, real *lambda,
+gmx_bool gmx_trr_read_frame(struct t_fileio *fio, int64_t *step, real *t, real *lambda,
rvec *box, int *natoms, rvec *x, rvec *v, rvec *f);
/* Read a trr frame, including the header from fp. box, x, v, f may
* be NULL, in which case the data will be skipped over.
* return FALSE on error
*/
-void gmx_trr_write_frame(struct t_fileio *fio, gmx_int64_t step, real t, real lambda,
+void gmx_trr_write_frame(struct t_fileio *fio, int64_t step, real t, real lambda,
const rvec *box, int natoms, const rvec *x, const rvec *v, const rvec *f);
/* Write a trr frame to file fp, box, x, v, f may be NULL */
/* Read the header of a trr file from fn, and close the file afterwards.
*/
-void gmx_trr_read_single_frame(const char *fn, gmx_int64_t *step, real *t, real *lambda,
+void gmx_trr_read_single_frame(const char *fn, int64_t *step, real *t, real *lambda,
rvec *box, int *natoms, rvec *x, rvec *v, rvec *f);
/* Read a single trr frame from file fn, which is closed afterwards
*/
-void gmx_trr_write_single_frame(const char *fn, gmx_int64_t step, real t, real lambda,
+void gmx_trr_write_single_frame(const char *fn, int64_t step, real t, real lambda,
const rvec *box, int natoms, const rvec *x, const rvec *v, const rvec *f);
/* Write a single trr frame to file fn, which is closed afterwards */