I don't understand, in TSSolve() I see

    if (ftime) *ftime = ts->prime;
and       if (ftime) *ftime = ts->max_time;

  why not just stash ftime in the TS object and provide a 
TSGetFinalTime(ts,PetscInt *ftime)?

    Barry




On Oct 29, 2012, at 8:51 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

> 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.
> 
> On Oct 29, 2012 6:46 PM, "Barry Smith" <bsmith at mcs.anl.gov> wrote:
> 
>   Can we remove the ftime argument from TSSolve()?
> 
>    Thanks
> 
>     Barry
> 

Reply via email to