<div dir="ltr">There&#39;s some flag variable that can probably be bitwise-OR-ed with GMX_FORCE_FORCES (or some member of its family - see types/force_flags.h) in order to do this. But the parallelization within TPI (and NM) is different from the rest of mdrun, so I would only trust that hack in serial until proven otherwise.<div>
<br></div><div>Mark</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 6, 2014 at 5:27 PM,  <span dir="ltr">&lt;<a href="mailto:juan.manuel.vanegas@upc.edu" target="_blank">juan.manuel.vanegas@upc.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Gromacs Developers,<br>
<br>
I am interested in calculating the net force on a ghost particle using the TPI code. I have played quite a bit with the code in tpi.c for other reasons, and judging by the comments the do_force() subroutine is called in a such a way that it only calculates the energies and not the forces. I would like to calculate the force on my ghost particle without updating the positions of the normal particles. I would appreciate it if somebody could point me in the right direction to know what flags I need to pass to the do_force() subroutine to accomplish this. Thanks,<br>

<br>
Juan M. Vanegas<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Gromacs Developers mailing list<br>
<br>
* Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List" target="_blank">http://www.gromacs.org/<u></u>Support/Mailing_Lists/GMX-<u></u>developers_List</a> before posting!<br>

<br>
* Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/<u></u>Support/Mailing_Lists</a><br>
<br>
* For (un)subscribe requests visit<br>
<a href="https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers" target="_blank">https://maillist.sys.kth.se/<u></u>mailman/listinfo/gromacs.org_<u></u>gmx-developers</a> or send a mail to <a href="mailto:gmx-developers-request@gromacs.org" target="_blank">gmx-developers-request@<u></u>gromacs.org</a>.<br>

</font></span></blockquote></div><br></div>