<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Excellent indeed!</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">
And for gunner students of this game (wish I was one of those) the next assignment is to extend this to work for ragged arrays...or maybe Steve the gunner already did that?</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">
<br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">I ask because a project I'm involved with could use the LUP facility right away but would also need it for init_bounded_number_vectors etc...</div>
<div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Cheers,</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">
Jim</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jan 18, 2014 at 2:03 AM, Arni Magnusson <span dir="ltr"><<a href="mailto:arnima@hafro.is" target="_blank">arnima@hafro.is</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Excellent.<br>
<br>
ADMB version r1509 proudly presents the LUP vector. A new overloaded function init_bounded_number(LUP) that accepts as an argument a vector of length 3 that specifies the lower bound, upper bound, and phase.<br>
<br>
As the rest of us were getting excited about pseudocode and issue tickets Dave ended the discussion by just writing the code... Steve Martell then committed the code to the trunk (r1509).<br>
<br>
I have created a Plone directory dedicated to this development at <a href="http://admb-project.org/developers/ctl" target="_blank">http://admb-project.org/<u></u>developers/ctl</a><br>
<br>
It currently contains three models (example, pella, pella2) that demonstrate the new capability. As advertised, the code shrinks and simplifies considerably. In pella2, the control file is now LUP instead of PLUI, so the initial values are set in a .pin file. One could of course specify the initial values at the bottom of the control file, or put everything in the .dat file, like John Sibert mentioned.<br>
<br>
I hope the <a href="http://admb-project.org/developers/ctl" target="_blank">http://admb-project.org/<u></u>developers/ctl</a> directory will encourage developers to test and upload new ideas about further improvements of the control file functionality in ADMB. John's XML idea could be valuable, also to establish a general interface to external programs or data servers. ADMB can handle big data, right?<br>
<br>
Arni<br>
______________________________<u></u>_________________<br>
Developers mailing list<br>
<a href="mailto:Developers@admb-project.org" target="_blank">Developers@admb-project.org</a><br>
<a href="http://lists.admb-project.org/mailman/listinfo/developers" target="_blank">http://lists.admb-project.org/<u></u>mailman/listinfo/developers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><p><font face="trebuchet ms, sans-serif"><a name="SafeHtmlFilter_SafeHtmlFilter_SafeHtmlFilter_SafeHtmlFilter_SafeHtmlFilter_SafeHtmlFilter__MailAutoSig">James
Ianelli<br></a>NMFS/NOAA Building 4<br>7600 Sand Pt Way NE<br>Seattle WA 98115</font></p><p></p>
<p><font face="trebuchet ms, sans-serif"> <span title="Call with Google Voice">206 526 6510</span></font></p><p>Visit the ADMB project <a href="http://admb-project.org/" style="color:rgb(17,85,204)" target="_blank">http://admb-project.org/</a><font face="trebuchet ms, sans-serif"><span title="Call with Google Voice"><br>
</span></font></p><p></p></div>
</div>