<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp; I already posted this 
question on the developer's list, but nobody answers it. So I posted it here 
again. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp; In Gromacs, 
"energygrp_excl" can exclude all non-bonded interactions between pairs of energy 
groups. But I&nbsp;only want to </FONT></DIV>
<DIV><FONT face=Arial size=2>turn off the electrastatic interaction between 2 
energy groups.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The following is my 
idea. (I choose Cut-off for electrastatic calculation and use grid for the 
neighbour searching.)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; There are 3 short 
range neighbour-lists generated in ns.c(vdw, coup, vdwc).&nbsp;It seems to me 
that "vdwc" will store the&nbsp;information&nbsp;of the&nbsp;</FONT></DIV>
<DIV><FONT face=Arial size=2>particls with both charges and the lj type. "vdw" 
will store the information&nbsp;of the particles whose charge is 0, and 
"coup"&nbsp;will store the information </FONT></DIV>
<DIV><FONT face=Arial size=2>of&nbsp;the particles&nbsp;whose lj is&nbsp;0.(not 
sure?) What&nbsp;I have done is to loop over the charge groups and judge if the 
2 groups are &nbsp;excluded, if they are,</FONT></DIV>
<DIV><FONT face=Arial size=2>I just add the particles in that group into "vdw" 
list instead of "vdwc" list. Then it seems to me that only vdw interaction is 
computed even if the </FONT></DIV>
<DIV><FONT face=Arial size=2>charge are not 0 for those particles.</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; But when I tested it, it did not 
work.&nbsp;Before I did the exclusion, the elecstatic intereaction of the system 
is 0.16 kj/mol, but after I chose the </FONT></DIV>
<DIV><FONT face=Arial size=2>exclusion, the&nbsp;</FONT><FONT face=Arial 
size=2>elecstatic intereaction of the system is&nbsp;-201 kj/mol. It seems that 
the 1-2, 1-3 neigbours are even computed. (My system&nbsp;includes </FONT></DIV>
<DIV><FONT face=Arial size=2>1 spc water </FONT><FONT face=Arial 
size=2>molecule&nbsp;and 1 pf6 molecule).</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp; Do you know what is wrong 
with my idea, and is there a better way to do this?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thank you very much!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Best</FONT></DIV>
<DIV><FONT face=Arial size=2>Xuhui</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp; </FONT></DIV>
<DIV><FONT face=Arial><I><BR></I></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp; </FONT></DIV></BODY></HTML>