[petsc-dev] TSBEULER and TSCN

2011-07-02 Thread Matthew Knepley
On Sat, Jul 2, 2011 at 9:39 PM, Jed Brown wrote: > In refactoring TS, I want these implementations to go away (they are > special cases of TSTHETA and it's easy for TSTHETA to be as efficient for > the special case). The question is whether the names should be preserved, > with implementations th

[petsc-dev] TSBEULER and TSCN

2011-07-02 Thread Barry Smith
On Jul 2, 2011, at 5:19 PM, Jed Brown wrote: > On Sat, Jul 2, 2011 at 16:56, Matthew Knepley wrote: > It will be somewhat confusing in that Backwards Euler will not appear in the > -ts_view. Maybe we could get a better > name for the helper function. > > Good point. We could make it use the sa

[petsc-dev] TSBEULER and TSCN

2011-07-02 Thread Jed Brown
On Sat, Jul 2, 2011 at 16:56, Matthew Knepley wrote: > It will be somewhat confusing in that Backwards Euler will not appear in > the -ts_view. Maybe we could get a better > name for the helper function. > Good point. We could make it use the same data structure and implementation from TSTHETA,

[petsc-dev] TSBEULER and TSCN

2011-07-02 Thread Jed Brown
In refactoring TS, I want these implementations to go away (they are special cases of TSTHETA and it's easy for TSTHETA to be as efficient for the special case). The question is whether the names should be preserved, with implementations that look like TSCreate_BEuler(TS ts) { TSSetType(ts,TSTHETA