<div dir="ltr">Hi,<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 31 Jan 2019 at 11:01 David van der Spoel &lt;<a href="mailto:spoel@xray.bmc.uu.se">spoel@xray.bmc.uu.se</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
I was browsing the API documentation and stumbled over the<br>
&quot;MD restraints&quot;:<br>
<br>
<a href="http://jenkins.gromacs.org/job/Documentation_Nightly_master/javadoc/doxygen/html-lib/group__module__restraint.xhtml" rel="noreferrer" target="_blank">http://jenkins.gromacs.org/job/Documentation_Nightly_master/javadoc/doxygen/html-lib/group__module__restraint.xhtml</a><br>
<br>
I wonder how this relates to the code in the applied-forces directory <br>
which is now based on the IMD module.<br>
<a href="http://jenkins.gromacs.org/job/Documentation_Nightly_master/javadoc/doxygen/html-lib/classgmx_1_1IMDModule.xhtml" rel="noreferrer" target="_blank">http://jenkins.gromacs.org/job/Documentation_Nightly_master/javadoc/doxygen/html-lib/classgmx_1_1IMDModule.xhtml</a><br>
<br>
As I envisioned the applied-forces code, this could be a blue-print for <br>
all external forces, including restraints, refinement etc.<br>
<br>
I might be wrong but it seems there is parallel development of very <br>
similar code going on, or am I wrong?<br></blockquote><div><br></div><div>Elsewhere in this list, Peter Kasson replied:</div><div><br></div><div>David--I think you also had a question about this code path.  The point of generality in ongoing external force development really is the iForceProvider work (c.f. Christian and others), and that&#39;s probably the best place to hook in.  I don&#39;t think it&#39;s a problem at this point if Gromacs has different interfaces for using iForceProvider code for external interactions.</div><div><br></div><div>Agree that the long term ought to look like exposing interfaces to use (and eventually add) modules that provide additional forces. At the moment the RestraintForceProvider class in the restraint module does model IForceProvider, so things are on a reasonable track.</div><div><br></div><div>Mark</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Cheers,<br>
-- <br>
David van der Spoel, Ph.D., Professor of Biology<br>
Head of Department, Cell &amp; Molecular Biology, Uppsala University.<br>
Box 596, SE-75124 Uppsala, Sweden. Phone: <a href="tel:018-471%2042%2005" value="+46184714205" target="_blank">+46184714205</a>.<br>
<a href="http://www.icm.uu.se" rel="noreferrer" target="_blank">http://www.icm.uu.se</a><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" rel="noreferrer" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List</a> before posting!<br>
<br>
* Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" rel="noreferrer" target="_blank">http://www.gromacs.org/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" rel="noreferrer" target="_blank">https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers</a> or send a mail to <a href="mailto:gmx-developers-request@gromacs.org" target="_blank">gmx-developers-request@gromacs.org</a>.<br>
</blockquote></div></div>