On Fri, Apr 23, 2010 at 10:44:19AM +0100, Garth N. Wells wrote: > > > Anders Logg wrote: > > On Fri, Apr 23, 2010 at 09:34:16AM +0100, Garth N. Wells wrote: > >> This sounds very PETSc-speecific. Should it be a parameter of > >> PETScMatrix only? > >> > >> Garth > > > > Yes, perhaps. I find it a bit strange that MatZeroRows breaks for > > rows without elements. > > > > Send a PETSc bug report?
Yes, that might be the best option. > A solution would be to check the number of row entries, if possible. I also though of that but didn't find a fast way to check it. Perhaps I've overlooked some PETSc function that does this? -- Anders
signature.asc
Description: Digital signature
_______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : [email protected] Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp

