[gmx-users] number of frames in trajectory

David L. Bostick dbostick at physics.unc.edu
Tue Jun 29 17:36:02 CEST 2004


Dear all,

I am writing an analysis code, and I want to know the best way to get the
number of frames contained in a trajectory file ... preferably w/o reading
all the frames.  I saw in statutil.h the nframes_read() function, but I'm
not sure if this is what I need.

Thanks,
David

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
David Bostick					Office: 262 Venable Hall
Dept. of Physics and Astronomy			Phone:  (919)962-0165
Program in Molecular and Cellular Biophysics
UNC-Chapel Hill
CB #3255 Phillips Hall				dbostick at physics.unc.edu
Chapel Hill, NC 27599	           		http://www.unc.edu/~dbostick
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




More information about the gromacs.org_gmx-users mailing list