Dear David and Rolf,<div><br></div><div>thank you for your encouragement.</div><div><br></div><div>David: I&#39;m more than happy to port your implementation to cctbx if you&#39;re happy with this.  Of course I don&#39;t want to step on your toes so if you&#39;d rather do it yourself (or not at all) that&#39;s cool.</div>
<div><br></div><div>There may be some licensing issues to sort out as it looks like cctbx has a custom (non viral) license but the BSD license is likely compatible.</div><div><br></div><div>On first impression I think a new class would be the way to go but I&#39;d have to look at the two algorithms in greater detail to be sure.</div>
<div><br></div><div>All the best,</div><div>-Martin<br><br><div class="gmail_quote">On 22 March 2012 22:00, Ralf Grosse-Kunstleve <span dir="ltr">&lt;<a href="mailto:rwgrosse-kunstleve@lbl.gov">rwgrosse-kunstleve@lbl.gov</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Martin,<div>You&#39;re very welcome to add a C++ version of the Krivy-Gruber algorithm to cctbx if that&#39;s what you had in mind.</div>
<div>I&#39;m not sure what&#39;s better, generalizing the fast-minimum-reduction code, or just having an independent implementation.</div><span class="HOEnZb"><font color="#888888">
</font></span><div><span class="HOEnZb"><font color="#888888">Ralf<br><br></font></span><div class="gmail_quote"><div class="im">On Thu, Mar 22, 2012 at 2:24 PM, Martin Uhrin <span dir="ltr">&lt;<a href="mailto:martin.uhrin.10@ucl.ac.uk" target="_blank">martin.uhrin.10@ucl.ac.uk</a>&gt;</span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Dear Cctbx community,<div><br></div><div>Firstly I&#39;d like to say thank you to Rolf, Nicholas and Paul for their expertly thought through implementation of the reduced cell algorithm.  I&#39;ve found it to be extremely useful for my work.</div>


<div><br></div><div>My code is all in C++ and I&#39;d like to be able to use the Krivy-Gruber algorithm.  My understanding is that only the reduced (Buerger) unit cell algorithm is implemented in C++ [1] which guarantees shortest lengths but not unique angles.  From my understanding the Krivy-Gruber would also guarantee me uniqueness of unit cell angles, however this is only implemented in Python [2].  Sorry to be so verbose, I just wanted to check that I was on the right page.</div>


<div><br></div><div>Would it be possible for me to implement the Krivy-Gruber in C++ by adding in the epsilon_relative to the parameter and following the procedure found in the python version?</div><div><br></div><div>Many thanks,</div>


<div>-Martin</div><div><br></div><div>[1] <a href="http://cctbx.sourceforge.net/current/c_plus_plus/classcctbx_1_1uctbx_1_1fast__minimum__reduction.html" target="_blank">http://cctbx.sourceforge.net/current/c_plus_plus/classcctbx_1_1uctbx_1_1fast__minimum__reduction.html</a></div>


<div>[2] <a href="http://cctbx.sourceforge.net/current/python/cctbx.uctbx.krivy_gruber_1976.html" target="_blank">http://cctbx.sourceforge.net/current/python/cctbx.uctbx.krivy_gruber_1976.html</a></div><span><font color="#888888"><div>

<br></div><div><br clear="all">
<div><br></div>-- <br><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px">Martin Uhrin                                                  Tel: <a href="tel:%2B44%20207%20679%203466" value="+442076793466" target="_blank">+44 207 679 3466</a><br>

Department of Physics &amp; Astronomy               Fax:<a href="tel:%2B44%20207%20679%200595" value="+442076790595" target="_blank">+44 207 679 0595</a><br>
University College London                         <a href="mailto:martin.uhrin.10@ucl.ac.uk" style="color:rgb(0,0,204)" target="_blank">martin.uhrin.10@ucl.ac.uk</a><br>Gower St, London, WC1E 6BT, U.K.         <a href="http://www.cmmp.ucl.ac.uk/" style="color:rgb(0,0,204)" target="_blank">http://www.cmmp.ucl.ac.uk</a></span><br>



</div>
</font></span><br></div></div><div class="im">_______________________________________________<br>
cctbxbb mailing list<br>
<a href="mailto:cctbxbb@phenix-online.org" target="_blank">cctbxbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" target="_blank">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br>
<br></div></blockquote></div><br></div>
<br>_______________________________________________<br>
cctbxbb mailing list<br>
<a href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" target="_blank">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px">Martin Uhrin                                                  Tel: +44 207 679 3466<br>
Department of Physics &amp; Astronomy               Fax:+44 207 679 0595<br>University College London                         <a href="mailto:martin.uhrin.10@ucl.ac.uk" style="color:rgb(0,0,204)" target="_blank">martin.uhrin.10@ucl.ac.uk</a><br>
Gower St, London, WC1E 6BT, U.K.         <a href="http://www.cmmp.ucl.ac.uk/" style="color:rgb(0,0,204)" target="_blank">http://www.cmmp.ucl.ac.uk</a></span><br>
</div>