[gmx-users] for help about reading xtc file

Xu, Yechuan y.xu at neu.edu
Thu Aug 15 19:29:06 CEST 2013


Hi Everyone,

I want to read a certain frame in a xtc file. How can I do that?
I see there are xdr_getpos() and xdr_setpos(). How should I use
these functions?

I tried:

XDRFILE *xtc;
unsigned int pos;

pos=xdr_getpos(xtc.xdr);

but I got:
error: request for member ‘xdr’ in something not a structure or union

Thanks in advance.
YC


More information about the gromacs.org_gmx-users mailing list