<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<br><br>&gt; From: makoto-yoneya@aist.go.jp<br>&gt; To: gmx-users@gromacs.org<br>&gt; Date: Mon, 10 Jan 2011 23:57:46 +0900<br>&gt; Subject: [gmx-users] truncated LJ potential<br>&gt; <br>&gt; Dear David and Hess:<br>&gt; <br>&gt; Thanks a lot for quick replies.<br>&gt; <br>&gt; &gt;&gt; please look into gromacs' table potential functionality, it is described <br>&gt; &gt;&gt; in the manual, and you won't have to program anything<br>&gt; &gt;&gt; UNLESS the sigma is different for different atom pairs, in that case I'm <br>&gt; &gt;&gt; not sure if it will work.<br>&gt; <br>&gt; The target system has many different atom types with different sigmas (and<br>&gt; epsilons).<br>&gt; I'd like to switch between the standard LJ potential simulation and the<br>&gt; corresponding<br>&gt; repulsion only one with the same LJ parameter sets for the real compounds<br>&gt; not simplified models.<br>&gt; <br>&gt; &gt; You can make different tables for interactions between groups of atoms<br>&gt; with<br>&gt; &gt; different sigma's by putting these groups in different energy groups,<br>&gt; &gt; but this might get tedious.<br>&gt; <br>&gt; As the modification which I'd like to try is very simple one from the <br>&gt; original LJ function, I'd like to try to modify the code instead of<br>&gt; supplying<br>&gt; many kinds of the tables for each pairs of atom types.<br>&gt; <br>&gt; &gt; You can also set the environment variable nb_generic.c and modify<br>&gt; &gt; src/gmxlib/nonbonded/nb_generic.c, but might lead to somewhat<br>&gt; &gt; slower simulations.<br>&gt; <br>&gt; The LJ potential and force code in the above looks like in the c6-c12 form<br>&gt; not in epsilon-sigma one.<br>&gt; The LJ potential modification I'd like to try is based on the epsilon-<br>&gt; sigma form and the mixing rule is the Lorents-Bertelot's one.<br>&gt; Could you kindly tell me the LJ potential and force routine in the epsilon-<br>&gt; Sigma form.<br><br>There is no such code.<br><br>You can simply check for rinvsix &gt; c6/c12.<br><br>Berk<br><br>&gt; <br>&gt; Thank you for advance.<br>&gt; <br>&gt; Makoto Yoneya, Dr.<br>&gt; http://staff.aist.go.jp/makoto-yoneya/<br>&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>