Update g_density to handle bilayers better
authorErik Lindahl <erik@kth.se>
Wed, 25 Jun 2014 12:47:17 +0000 (14:47 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Fri, 27 Jun 2014 18:01:22 +0000 (20:01 +0200)
commitee58a7ba4eaa35e3050a2e3aa08a94f288f3ece3
tree03d2aa56224cae449965340878015d140f96631a
parent79ed2b8e54c0e205ea95fef94fbed417b357aa57
Update g_density to handle bilayers better

As suggested by Chris Neale, we now properly
perform the binning relative to the center rather than
merely shifting the center of the output. While at it,
I have also added a selection for the group to center on
(useful when the membrane is not in the center of
the system, say with a membrane protein), and an option
that allows us to perform the binning in relative
coordinates and output the average dimensions. The last
is useful when there are large box fluctuations. The
tool now also has an expanded help section with a few
recommendations for bilayers.

Fixes #1168.

Change-Id: Id132311f1d6cd4858f99e8f44a0266667100a406
src/gromacs/gmxana/gmx_density.c