<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 4, 2013 at 3:41 PM, Schulz, Roland <span dir="ltr">&lt;<a href="mailto:rschulz3@utk.edu" target="_blank">rschulz3@utk.edu</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote"><div class="im">On Mon, Feb 4, 2013 at 2:35 PM, Alexey Shvetsov <span dir="ltr">
&lt;<a href="mailto:alexxy@omrb.pnpi.spb.ru" target="_blank">alexxy@omrb.pnpi.spb.ru</a>&gt;</span> wrote:<br>
</div><div class="im"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
÷ ÐÉÓØÍÅ ÏÔ 4 ÆÅ×ÒÁÌÑ 2013 10:51:29 ÐÏÌØÚÏ×ÁÔÅÌØ Roland Schulz ÎÁÐÉÓÁÌ:<br>
<div>&gt; On Mon, Feb 4, 2013 at 4:00 AM, Alexey Shvetsov</div>
</blockquote>
<div>š</div>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div>&gt;<div class="im"><br>
&gt; &gt; 2. It may be easyer to work with atomdata if selections will not be marked<br>
&gt; &gt; static. E.g. sel.position(i).x()<br>
&gt;<br>
&gt; I suppose you mean const? I think it makes sense that they are const. I<br>
&gt; think you should make a copy of them before modifying them.<br>
&gt;<br>
<br>
</div></div><div class="im">
Ghmm may be there should be some kind of helper function to copy sel class?<br>
</div></blockquote><div class="im">
<div>Why would you want to copy sel? I thought it would be sufficient to copy x. angle.cpp has ašcopy_pos. It might be nice to have that in Selection, e.g.:</div>
<div>
<div>void copy_x(int first,šint last, rvec x[]) const;</div></div></div></div></div></div></div></blockquote><div><br></div><div style>Actually that suggestion is very non-std like. It combines access to the complete range of coordinates ,with the algorithm (copy), and thus is less flexible because these two things can&#39;t be combined differently.</div>

<div style>So it might be better to provide: &quot;iterator xBegin()&quot; and &quot;iterator xEnd()&quot;. That would allow to copy using: &quot;std::copy(sel.xBegin(),sel.xEnd(),out)&quot;.</div><div style>But I&#39;m not sure we discussed how much we want to make use of iterators. Our modified version changes that mpp uses iterators and we think it got better/more flexible by doing that. I think Teemu tried to avoid them. So this is probably something we should discuss.</div>

<div style><br></div><div style>Roland</div><div style><br></div><div style>š</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr"><div class="gmail_extra">

<div class="gmail_quote"><div class="im"><div>
</div>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div><br><div class="im">
&gt; &gt; For #1 may be its time to reimplement needed functions using new api.<br>
&gt;<br>
&gt; Any help with that is greatly appreciated :-)<br>
</div></div><div class="im">
Well I&#39;ll reimplement some needed functions like i did in<br>
<a href="https://gerrit.gromacs.org/#/c/2108/" target="_blank">https://gerrit.gromacs.org/#/c/2108/</a></div></blockquote>
<div><br>
</div><div class="im">
<div>Great! But given that those functions are general they shouldn&#39;t be in thešProteinFilamentGeometry class.</div>
<div><br>
</div>
<div>Roland</div>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
<div>
<div>&gt;<div class="im"><br>
&gt; &gt; Is there a way to mark output or input files non optional with predefined<br>
&gt; &gt; value<br>
&gt; &gt; like it was possible with old api?<br>
&gt;<br>
&gt; See defaultBasename and required<br>
&gt;<br>
&gt; Roland<br>
&gt;<br>
<br>
--<br>
Best Regards,<br>
Alexey &#39;Alexxy&#39; Shvetsov<br>
Petersburg Nuclear Physics Institute, NRC Kurchatov Institute,<br>
Gatchina, Russia<br>
Department of Molecular and Radiation Biophysics<br>
Gentoo Team Ru<br>
Gentoo Linux Dev<br>
mailto:<a href="mailto:alexxyum@gmail.com" target="_blank">alexxyum@gmail.com</a><br>
mailto:<a href="mailto:alexxy@gentoo.org" target="_blank">alexxy@gentoo.org</a><br>
mailto:<a href="mailto:alexxy@omrb.pnpi.spb.ru" target="_blank">alexxy@omrb.pnpi.spb.ru</a></div></div>
</div>
</blockquote>
</div>
<br>
<br clear="all"><div class="im">
<div><br>
</div>
-- <br>
ORNL/UT Center for Molecular Biophysics <a href="http://cmb.ornl.gov" target="_blank">cmb.ornl.gov</a><br>
<a href="tel:865-241-1537" value="+18652411537" target="_blank">865-241-1537</a>, ORNL PO BOX 2008 MS6309 </div></div>
</div>
</div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br>ORNL/UT Center for Molecular Biophysics <a href="http://cmb.ornl.gov">cmb.ornl.gov</a><br>865-241-1537, ORNL PO BOX 2008 MS6309
</div></div>