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

Tsjerk Wassenaar tsjerkw at gmail.com
Mon Nov 21 14:55:30 CET 2005


Hi Marcelo,

In Gromacs versions > 3.2.1 you can do this with trjconv -fit translation

Cheers,

Tsjerk

On 11/21/05, Marcelo A. Carignano <cari at purdue.edu> wrote:
>
> it would be great if that's possible but I don't see how.
> I see that I can shift the system by a vector using trjconv -shift
> by this shift is the same for all the frames.
> My reference atom is moving too.
>
> Could you please explain more
>
> Marcelo.
>
> On Mon, 2005-11-21 at 11:37 +0100, X.Periole wrote:
> > 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
> > _______________________________________________
> > gmx-users mailing list
> > gmx-users at gromacs.org
> > http://www.gromacs.org/mailman/listinfo/gmx-users
> > Please don't post (un)subscribe requests to the list. Use the
> > www interface or send it to gmx-users-request at gromacs.org.
> >
>
> _______________________________________________
> gmx-users mailing list
> gmx-users at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-users
> Please don't post (un)subscribe requests to the list. Use the
> www interface or send it to gmx-users-request at gromacs.org.
>



--

Tsjerk A. Wassenaar, M.Sc.
Groningen Biomolecular Sciences and Biotechnology Institute (GBB)
Dept. of Biophysical Chemistry
University of Groningen
Nijenborgh 4
9747AG Groningen, The Netherlands
+31 50 363 4336
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-users/attachments/20051121/b60ad791/attachment.html>


More information about the gromacs.org_gmx-users mailing list