<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19088"><LINK rel=stylesheet 
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}"></HEAD>
<BODY style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<DIV><FONT size=2></FONT>Dear Gromacs Users,</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; Harmonic potentials are used in Gromacs for imposing 
restraints on the motion of the system.</DIV>
<DIV>&nbsp;&nbsp; </DIV>
<DIV>&nbsp;&nbsp;&nbsp; V = 1/2 * k * (x-x0)^2</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp; </DIV>
<DIV>&nbsp; And the forces are : F =&nbsp; -k * (x-x0) . ...</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp; I want to use constant force for the restraint.&nbsp; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;Just scale the force&nbsp; : F = -k * (x-x0) / sqrt ( 
(x-x0)**2+(y-y0)**2 + (z-z0)**2 )&nbsp; ...</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; This was very simple.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; But I don't know&nbsp;where the&nbsp;position restraint code 
is&nbsp;. </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;Could you please tell me where I can start with ? </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;Many thanks for your help !</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Best Wishes,</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Yours Sincrely,</DIV>
<DIV>Chiango Ji</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>