On Thu, Jun 9, 2011 at 15:03, Matthew Knepley <knepley at gmail.com> wrote:

> 2) If you want the matrix and vector to be divided the same way
> automatically, give them the same blocksize


Alternatively, just call MatGetVecs() to get compatible vectors after the
matrix is configured.

Depending on how your spatial discretization is managed, you may want to
specify the local sizes instead of letting PETSc choose something based on
the global sizes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110609/f920b9a7/attachment.htm>

Reply via email to