<div class="gmail_quote">On Thu, Jun 9, 2011 at 15:03, Matthew Knepley <span dir="ltr">&lt;<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
2) If you want the matrix and vector to be divided the same way automatically, give them the same blocksize</blockquote></div><br><div>Alternatively, just call MatGetVecs() to get compatible vectors after the matrix is configured.</div>
<div><br></div><div>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.</div>