I've since found the source of my problem - the program was
measuring the (marginally shorter) distance across the PBC
boundary, rather than the distance
within the box. Unfortunately there doesn't seem to be a way to
turn PBC images off (correct me if I'm wrong?), so I guess I'm
going to do some jiggerypokery with the data and some math.
Use g_energy to output the box-Z then the distance you want should
be the box-Z minus the distance you get. This would be
super-dangerous unless you can be sure that it is actually
measuring the distance across the boundary each time. If, for
instance, it measures the distance you want one time and the
distance across the PBC the next time, then Mark's suggestion would
be the way to go.
I just realized that you could also use g_density, scripted to run
frame by frame if you need to, and average the histograms yourself.
_______________________________________________
gmx-users mailing list [email protected]
http://www.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at http://www.gromacs.org/search before posting!
Please don't post (un)subscribe requests to the list. Use the
www interface or send it to [EMAIL PROTECTED]
Can't post? Read http://www.gromacs.org/mailing_lists/users.php