[gmx-users] changing the code just a little bit (g_density)

X.Periole X.Periole at rug.nl
Mon Nov 21 11:37:53 CET 2005


On Fri, 18 Nov 2005 13:27:06 -0500
  "Marcelo A. Carignano" <cari at purdue.edu> wrote:
> Dear Gromacs users,
> 
> 
> I need to modify g_density so I can calculate the 
>density profile in
> my system, but shifting the z coordenate so that one 
>particular atom
> stays fix. Let's call "A" to this atom, then I need to 
>do (z-zA) 
> before calculating to which slice the current atom 
>belongs to.
> 

What about shifting your trajectory before using 
g_density?
Make the atom fix using trjconv ...

Best
XAvier



More information about the gromacs.org_gmx-users mailing list