you can do it as following<div><br></div><div>1. create index file make_indx -f conf.gro -n index.ndx ( select VS and any other atoms you want lets say OTHERS)</div><div>2. in .mdp define energygrps &quot;VS OTHERS&quot;</div>
<div>3. exclude interactions by specifying energygrp_excl VS OTHERS in .mdp file</div><div><br></div><div>for more you can refer to manual..</div><div><br></div><div>I hope it helps</div><div><br></div><div>--</div><div>sikandar</div>
<div><br></div><div><br><div><div><div><br><div class="gmail_quote">On Thu, May 5, 2011 at 11:00 AM, Gavin Melaugh <span dir="ltr">&lt;<a href="mailto:gmelaugh01@qub.ac.uk">gmelaugh01@qub.ac.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Sikandar<br>
<br>
Cheers. How do you actually define the energy groups?<br>
<br>
Gavin<br>
<div class="im"><br>
Sikandar Mashayak wrote:<br>
&gt; yes, you can make virtual sites interact with only specific sites by<br>
&gt; using Energy Exclusion between energy groups. This can be done by<br>
&gt; defining energy groups for virtual sites and other atoms, then exclude<br>
&gt; or include the non-bonded interactions between them accordingly...<br>
&gt;<br>
&gt; On Thu, May 5, 2011 at 7:30 AM, Gavin Melaugh &lt;<a href="mailto:gmelaugh01@qub.ac.uk">gmelaugh01@qub.ac.uk</a><br>
</div><div class="im">&gt; &lt;mailto:<a href="mailto:gmelaugh01@qub.ac.uk">gmelaugh01@qub.ac.uk</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Hi All<br>
&gt;<br>
&gt;     Is it possible to have a virtual site interact with only specific<br>
&gt;     atoms<br>
&gt;     and not interact at all with everything else?<br>
&gt;<br>
&gt;<br>
&gt;     Cheers<br>
&gt;<br>
&gt;     Gavin<br>
&gt;     --<br>
&gt;     gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
</div>&gt;     &lt;mailto:<a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a>&gt;<br>
<div class="im">&gt;     <a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>
&gt;     Please search the archive at<br>
&gt;     <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!<br>
&gt;     Please don&#39;t post (un)subscribe requests to the list. Use the<br>
&gt;     www interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a><br>
</div>&gt;     &lt;mailto:<a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>&gt;.<br>
<div class="im">&gt;     Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br>
&gt;<br>
&gt;<br>
<br>
</div>--<br>
<div><div></div><div class="h5">gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
<a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>
Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!<br>
Please don&#39;t post (un)subscribe requests to the list. Use the<br>
www interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>
Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br>
</div></div></blockquote></div><br></div></div></div></div>