<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks for the quick reply.<div><br><div><div>On 09.06.2011, at 15:12, Jed Brown wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="gmail_quote">On Thu, Jun 9, 2011 at 15:03, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>></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>
</blockquote></div><br></div></body></html>