<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi,<br><br>Note that it is impossible to decompose a free energy (difference), which a PMF is,<br>uniquely into different energy or force components.<br>A free energy is not simply the sum of energy terms, but is the result of how<br>different energy terms together affect the accessible phase space.<br>The effect on a free energy of two energy terms is usually not simply the sum<br>of the two effects.<br><br>Berk<br><br>&gt; Date: Mon, 13 Dec 2010 01:09:01 +0300<br>&gt; Subject: Re: [gmx-users] Forces in source code<br>&gt; From: magistrpetrus@gmail.com<br>&gt; To: gmx-users@gromacs.org<br>&gt; <br>&gt; Thank You!<br>&gt; I'll try to get what you writed, so, perhaps, I'll write about my<br>&gt; success or its lack!<br>&gt; <br>&gt; 12 декабря 2010&nbsp;г. 4:42 пользователь Mark Abraham<br>&gt; &lt;mark.abraham@anu.edu.au&gt; написал:<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; On 12/12/10, Петр Попов &lt;magistrpetrus@gmail.com&gt; wrote:<br>&gt; &gt;<br>&gt; &gt; Hello, dear gmx-users.<br>&gt; &gt;<br>&gt; &gt; I want to decompose PMF, but I can't use -rerun option for this<br>&gt; &gt; because I get this PMF due to pull force. And also .trr files are<br>&gt; &gt; large to do md with different energy groups to get PMF.<br>&gt; &gt; So, I need to adopt source code for this task.<br>&gt; &gt; Could you help me and give me any advices? - in what .c files are<br>&gt; &gt; forces and pull force are evaluated? Or from what I must start?<br>&gt; &gt;<br>&gt; &gt; To do this kind of group-wise decomposition of forces you need to give<br>&gt; &gt; different force arrays to the evaluation of different neighbour lists. I've<br>&gt; &gt; posted replies to this before, so please search for it. To get a handle on<br>&gt; &gt; how things work, set up a tiny box of water molecules using a plain Coulomb<br>&gt; &gt; cut-off and step through a serial GROMACS mdrun in a debugger. Then move the<br>&gt; &gt; simulation gradually closer to the setup you have in mind and note the<br>&gt; &gt; differences in how the force arrays are handled - they'll be different in<br>&gt; &gt; parallel and presumably with pulling. Then you'll have to mimic the way the<br>&gt; &gt; ebin code stores group-wise non-bonded energies to store group-wise<br>&gt; &gt; non-bonded forces. Then you'll want to write them out to separate .trr<br>&gt; &gt; files.<br>&gt; &gt;<br>&gt; &gt; Mark<br>&gt; &gt; --<br>&gt; &gt; gmx-users mailing list &nbsp; &nbsp;gmx-users@gromacs.org<br>&gt; &gt; http://lists.gromacs.org/mailman/listinfo/gmx-users<br>&gt; &gt; Please search the archive at<br>&gt; &gt; http://www.gromacs.org/Support/Mailing_Lists/Search before posting!<br>&gt; &gt; Please don't post (un)subscribe requests to the list. Use the<br>&gt; &gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; &gt; Can't post? Read http://www.gromacs.org/Support/Mailing_Lists<br>&gt; &gt;<br>&gt; -- <br>&gt; gmx-users mailing list    gmx-users@gromacs.org<br>&gt; http://lists.gromacs.org/mailman/listinfo/gmx-users<br>&gt; Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/Search before posting!<br>&gt; Please don't post (un)subscribe requests to the list. Use the <br>&gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; Can't post? Read http://www.gromacs.org/Support/Mailing_Lists<br>                                               </body>
</html>