On Sat, Jan 28, 2012 at 11:09, Matthew Knepley <knepley at gmail.com> wrote:

> I think MatSetUpPreallocation() would work. If we are requiring this, what
> about having it called in
> MatSetFromOptions().
>

Does not work because MatSetFromOptions() can change the matrix type, but
the user must call preallocation routines *after* the type has been set.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120128/b65c9c5c/attachment.html>

Reply via email to