<DIV><includetail><BR>&nbsp;</DIV>
<DIV>
<DIV>
<DIV>Thanks.&nbsp;&nbsp;I think I should&nbsp;have&nbsp;a&nbsp;look&nbsp;at some specific documents to&nbsp;understand&nbsp;the&nbsp;flow&nbsp;of&nbsp;control.</DIV>
<DIV>
<DIV>Namely, to understand what is purpose of the subroutines in&nbsp;src/mdlib/.&nbsp; But I could not find such</DIV>
<DIV>information in the Gromacs user manual. Do anyone know such an document? Thanks.</DIV>
<DIV>&nbsp;</DIV></DIV>
<DIV>&nbsp;</DIV>
<HR style="WIDTH: 210px; HEIGHT: 1px" align=left color=#b5c4df SIZE=1>

<DIV><SPAN>kevin.len</SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<DIV style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; COLOR: #000000; PADDING-TOP: 8px">
<DIV><B>From:</B>&nbsp;<A href="mailto:Mark.Abraham@anu.edu.au">Mark Abraham</A></DIV>
<DIV><B>Date:</B>&nbsp;2012-05-16&nbsp;13:57</DIV>
<DIV><B>To:</B>&nbsp;<A href="mailto:gmx-users@gromacs.org">Discussion list for GROMACS users</A></DIV>
<DIV><B>Subject:</B>&nbsp;Re: [gmx-users] What is the subroutine for SHAKE or RATTLE? Thanks.</DIV></DIV></DIV>
<DIV>
<DIV class=FoxDiv20120517093246140547>On 16/05/2012 12:28 PM, kevin wrote: 
<BLOCKQUOTE cite=mid:tencent_7305DC70170F43AD1985462C@qq.com type="cite">
<DIV>
<DIV>&nbsp;Hi, everyone.</DIV>
<DIV>
<DIV class=FoxDiv20120516095839375739>
<DIV>
<DIV class=FoxDiv20120516095726296235>
<DIV>&nbsp;</DIV>
<DIV>It is my first use of <A href="http://lammps.sandia.gov/" moz-do-not-send="true">Gromacs</A> and I am looking for a numerical scheme for one specific constrained SDE, the constrain <SPAN class=subtitle><SPAN dir=ltr>is a macroscopic one, i.e., overdamped Langevin(Brownian dynamics) equations with an equality constraint which is </SPAN></SPAN><SPAN class=subtitle><SPAN dir=ltr>expressed in form of expectation(or moment of n-th order). </SPAN></SPAN><SPAN class=subtitle><SPAN dir=ltr>This is unlike the common 'micro' constraint(simply </SPAN></SPAN><SPAN class=subtitle><SPAN dir=ltr>function in terms of variable in SDE) . I&nbsp;can not find such a subrountine </SPAN></SPAN><SPAN class=subtitle><SPAN dir=ltr>for solving constrained SDE in </SPAN></SPAN><SPAN class=subtitle><SPAN dir=ltr>MD codes in <A href="http://lammps.sandia.gov/" moz-do-not-send="true">Gromacs</A>.&nbsp; </SPAN></SPAN><SPAN class=subtitle><SPAN dir=ltr>I see there is an algorithm called "SHAKE" or "RATTLE "which and it seems&nbsp;they could </SPAN></SPAN><SPAN class=subtitle><SPAN dir=ltr>implement Langevin(or Brownian) dynamics with constraints. If convenient, could anyone help to point out which subroutine </SPAN></SPAN><SPAN class=subtitle><SPAN dir=ltr>is specific for implementing SHAKE/RATTLE? Thanks in advance.</SPAN></SPAN></DIV>
<DIV>
<DIV><SPAN class=subtitle><SPAN dir=ltr></SPAN></SPAN><BR></DIV></DIV></DIV></DIV></DIV></DIV></DIV></BLOCKQUOTE><BR>Various files in src/mdlib/ deal with these kinds of algorithms.<BR><BR>Mark<BR></DIV></DIV></DIV></includetail></DIV>