[petsc-dev] naming of DM specific constructors is backwards

2012-09-13 Thread Barry Smith
On Sep 13, 2012, at 9:25 PM, Dmitry Karpeev wrote: > > > On Thu, Sep 13, 2012 at 9:12 PM, Jed Brown wrote: > Constructor tab completion is better for DMCreateDA(). > > But will clash with all the other methods of the form DMDAGetXXX() etc. > I would vote for converting MatCreateSeqAIJ to Mat

[petsc-dev] naming of DM specific constructors is backwards

2012-09-13 Thread Dmitry Karpeev
On Thu, Sep 13, 2012 at 9:12 PM, Jed Brown wrote: > Constructor tab completion is better for DMCreateDA(). > But will clash with all the other methods of the form DMDAGetXXX() etc. I would vote for converting MatCreateSeqAIJ to MatSeqAIJCreate(). Note also that Mat*Create will Tab-expand to all p

[petsc-dev] naming of DM specific constructors is backwards

2012-09-13 Thread Jed Brown
Constructor tab completion is better for DMCreateDA(). On Sep 13, 2012 9:05 PM, "Barry Smith" wrote: > >MatCreateSeqAIJ() etc etc etc > > but > > DMDACreate(), DMRedundantCreate() etc > > > Now given that normally we list the subclass name right after the base > class in methods,

[petsc-dev] naming of DM specific constructors is backwards

2012-09-13 Thread Barry Smith
MatCreateSeqAIJ() etc etc etc but DMDACreate(), DMRedundantCreate() etc Now given that normally we list the subclass name right after the base class in methods, for example KSPGMRESSetRestart() not KSPSetRestartGMRES() it might make sense to always follow the DMXXXCreat