[petsc-dev] MatCreateMPIAIJ(), MatCreateMPIBAIJ(), MatCreateMPISBAIJ() wrongly named

2012-03-02 Thread Barry Smith
On Mar 1, 2012, at 11:11 AM, Matthew Knepley wrote: > On Thu, Mar 1, 2012 at 11:03 AM, Barry Smith wrote: > >MatCreateMPIAIJ(), MatCreateMPIBAIJ(), MatCreateMPISBAIJ() actually > create Seq version of the matrices when run on one process. > >Meanwhile MatMPIXXXSetPreallocation() alw

[petsc-dev] MatCreateMPIAIJ(), MatCreateMPIBAIJ(), MatCreateMPISBAIJ() wrongly named

2012-03-01 Thread Jed Brown
On Thu, Mar 1, 2012 at 11:39, Barry Smith wrote: > I just want it removed from the XAIJ preallocation one, not the > individual preallocation ones, leave that them in that one. http://petsc.cs.iit.edu/petsc/petsc-dev/rev/6a8a730dd0af -- next part -- An HTML attachment w

[petsc-dev] MatCreateMPIAIJ(), MatCreateMPIBAIJ(), MatCreateMPISBAIJ() wrongly named

2012-03-01 Thread Barry Smith
On Mar 1, 2012, at 11:37 AM, Jed Brown wrote: > On Thu, Mar 1, 2012 at 11:31, Barry Smith wrote: > Cool. Some suggestions for this routine: > > 1) get rid of the maximum number of non-zeros per row arguments, they are > stupid and just make this calling sequence too damn complicated looking

[petsc-dev] MatCreateMPIAIJ(), MatCreateMPIBAIJ(), MatCreateMPISBAIJ() wrongly named

2012-03-01 Thread Jed Brown
On Thu, Mar 1, 2012 at 11:31, Barry Smith wrote: > Cool. Some suggestions for this routine: > > 1) get rid of the maximum number of non-zeros per row arguments, they are > stupid and just make this calling sequence too damn complicated looking. > Okay, I thought I would help people out who wa

[petsc-dev] MatCreateMPIAIJ(), MatCreateMPIBAIJ(), MatCreateMPISBAIJ() wrongly named

2012-03-01 Thread Barry Smith
On Mar 1, 2012, at 11:11 AM, Matthew Knepley wrote: > On Thu, Mar 1, 2012 at 11:03 AM, Barry Smith wrote: > >MatCreateMPIAIJ(), MatCreateMPIBAIJ(), MatCreateMPISBAIJ() actually > create Seq version of the matrices when run on one process. > >Meanwhile MatMPIXXXSetPreallocation() alw

[petsc-dev] MatCreateMPIAIJ(), MatCreateMPIBAIJ(), MatCreateMPISBAIJ() wrongly named

2012-03-01 Thread Matthew Knepley
On Thu, Mar 1, 2012 at 11:03 AM, Barry Smith wrote: > >MatCreateMPIAIJ(), MatCreateMPIBAIJ(), MatCreateMPISBAIJ() actually > create Seq version of the matrices when run on one process. > >Meanwhile MatMPIXXXSetPreallocation() always do preallocation for MPI > case. > >Shouldn't MatC

[petsc-dev] MatCreateMPIAIJ(), MatCreateMPIBAIJ(), MatCreateMPISBAIJ() wrongly named

2012-03-01 Thread Barry Smith
MatCreateMPIAIJ(), MatCreateMPIBAIJ(), MatCreateMPISBAIJ() actually create Seq version of the matrices when run on one process. Meanwhile MatMPIXXXSetPreallocation() always do preallocation for MPI case. Shouldn't MatCreateMPIXXX() be MatCreateXXX()? Also should we add MatXX