<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi,<br><br>I don't want to get into discussions on drugs and I don't know if you<br>already switched package, but I'l post my answer anyhow.<br><br>The energy groups in each pair on your energygrp_table line should<br>be separated by a space.<br><br>The table files should contain all columns, unused columns are allowed<br>to contain zero's, since they are simply ignored.<br><br>PS:<br>Please don't mail me directly with questions on Gromacs,<br>apart from the good reasons already given on the list,<br>this is a strong incentive for me not to answer your mail.<br><br>Berk<br><br>&gt; From: mrvartorelli@gmail.com<br>&gt; Date: Mon, 19 Apr 2010 10:05:59 -0300<br>&gt; To: gmx-users@gromacs.org<br>&gt; Subject: [gmx-users] Problem with tabulated potentials for 3 different atoms<br>&gt; <br>&gt; I'm trying to use tabulated potentials for a very simple system: a<br>&gt; polymer chain with only 3 kind of atoms: A, B and C, all of it with<br>&gt; zero charge.<br>&gt; <br>&gt; A--(B)n--C<br>&gt; <br>&gt; The only interactions that accounts are AB, AC, BB and CC, so in my<br>&gt; mdp file I have writen:<br>&gt; <br>&gt; coulombtype = user<br>&gt; vdw-type &nbsp; &nbsp;= user<br>&gt; energygrps &nbsp; &nbsp; &nbsp;= A B C<br>&gt; energygrp_table = AB AC BB BC<br>&gt; <br>&gt; Also, I'm using tabulated bonded potentials for bonds and angles.<br>&gt; <br>&gt; The main questions are how to tell to mdrun that he must read my table<br>&gt; files and can I be sure that the reading is OK?<br>&gt; <br>&gt; For the bonding part I have the following table files:<br>&gt; <br>&gt; table_b1.xvg<br>&gt; table_a1.xvg<br>&gt; table_a2.xvg<br>&gt; table_a3.xvg<br>&gt; <br>&gt; And in the mdrun commandline I'm using the option -tableb table.<br>&gt; But how to handle the non bonding table files?<br>&gt; <br>&gt; table_A_B.xvg<br>&gt; table_A_C.xvg<br>&gt; table_B_B.xvg<br>&gt; table_B_C.xvg<br>&gt; <br>&gt; Must I write<br>&gt; <br>&gt; energygrps &nbsp; &nbsp; &nbsp;= A B C<br>&gt; energygrp_table = AC BB BC<br>&gt; <br>&gt; in the mdp file and use the tables<br>&gt; <br>&gt; table.xvg<br>&gt; table_A_C.xvg<br>&gt; table_B_B.xvg<br>&gt; table_B_C.xvg<br>&gt; <br>&gt; with the command line for mdrun saying -table table.xvg?<br>&gt; <br>&gt; Another thing, because the tables doesn't have to contain only zero columns...<br>&gt; Can I put anything on the f and f' columns (because the charge of my<br>&gt; atoms is zero)?<br>&gt; Can I put (for example) 0.5 in the g and g' columns and my potential<br>&gt; (and the force) minus 0.5 in columns h and h'?<br>&gt; <br>&gt; I'm using the 4.0.7 version.<br>&gt; <br>&gt; Again as an abstract:<br>&gt; <br>&gt; System: 1 chain A--(B)n--C<br>&gt; Bonds: A-B = B-B = B-C --&gt; only one table: table_b1.xvg<br>&gt; Angles: A-B-B, B-B-B, B-B-C --&gt; 3 tables: table_a1.xvg, table_a2.xvg,<br>&gt; table_a3.xvg<br>&gt; Charges: none<br>&gt; VDW interactions: A-B, A-C, B-B, B-C --&gt; 4 tables table_A_B.xvg,<br>&gt; table_A_C.xvg, table_B_B.xvg, table_B_C.xvg<br>&gt; <br>&gt; *.mdp lines:<br>&gt; coulombtype = user<br>&gt; vdw-type &nbsp; &nbsp;= user<br>&gt; energygrps &nbsp; &nbsp; &nbsp;= A B C<br>&gt; energygrp_table = ?<br>&gt; <br>&gt; run commandline:<br>&gt; mdrun -s -c -e -x -g -table ? -tableb ?<br>&gt; <br>&gt; Any help will be appreciated.<br>&gt; <br>&gt; Thank you.<br>&gt; <br>&gt; Martin R. Vartorelli<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/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/mailing_lists/users.php<br>                                               <br /><hr />Express yourself instantly with MSN Messenger! <a href='http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/' target='_new'>MSN Messenger</a></body>
</html>