On Mon, Oct 29, 2012 at 10:36 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
On Oct 29, 2012, at 9:27 PM, Jed Brown <<a href="mailto:jedbrown@mcs.anl.gov">jedbrown@mcs.anl.gov</a>> wrote:<br>
<br>
> Sure, you could do that. Do you want to get rid of the solution vector too?<br>
<br>
</div> We still have that silly argument with KSP and SNES so I think I'll keep it for now.</blockquote><div><br></div><div>No please. Not the "remove b and x from KSPSolve" debacle again.</div><div><br></div>
<div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888"><br>
Barry<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
><br>
> On Oct 29, 2012 6:55 PM, "Barry Smith" <<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>> wrote:<br>
><br>
> I don't understand, in TSSolve() I see<br>
><br>
> if (ftime) *ftime = ts->prime;<br>
> and if (ftime) *ftime = ts->max_time;<br>
><br>
> why not just stash ftime in the TS object and provide a TSGetFinalTime(ts,PetscInt *ftime)?<br>
><br>
> Barry<br>
><br>
><br>
><br>
><br>
> On Oct 29, 2012, at 8:51 PM, Jed Brown <<a href="mailto:jedbrown@mcs.anl.gov">jedbrown@mcs.anl.gov</a>> wrote:<br>
><br>
> > In general, there is the internal state which may be later than the final time, plus the interpolated time. If you get rid of that argument, the user probably has to use TSInterpolate to get the state to coincide with the final time.<br>
> ><br>
> > On Oct 29, 2012 6:46 PM, "Barry Smith" <<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>> wrote:<br>
> ><br>
> > Can we remove the ftime argument from TSSolve()?<br>
> ><br>
> > Thanks<br>
> ><br>
> > Barry<br>
> ><br>
><br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener<br>