<div class="gmail_quote">On Fri, Sep 2, 2011 at 09:20, Alan Wei <span dir="ltr">&lt;<a href="mailto:zhenglun.wei@gmail.com">zhenglun.wei@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;">
 I thought there is a ghosted grid around Dirichlet and Neumann BC&#39;s.</blockquote></div><br><div>Only if you ask for it with DMDA_BOUNDARY_GHOSTED (not available in petsc-3.1). This example does not.</div>