[gmx-developers] Errors in tng_io reading box vectors

Peter Kenneth Eastman peastman at stanford.edu
Thu Jun 2 19:11:28 CEST 2016


Hi Magnus,

> So e.g. if you read 100 frames of data with a stride_length 100 the length of the returned array will only be 1*n_values_per_frame.

The file in question has a stride_length of 1, so that isn't the problem here.  This is just the tng_example.tng file from Gromacs, if you want to reproduce it yourself.  Just call tng_data_vector_interval_get() on it requesting the box shape for a range of frames.

Peter




More information about the gromacs.org_gmx-developers mailing list