<div class="gmail_quote">On Mon, May 2, 2011 at 09:33, ilyas ilyas <span dir="ltr"><<a href="mailto:ilyascfd@gmail.com">ilyascfd@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>I was looking at </div><div><a href="http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-dev/src/snes/examples/tutorials/ex31.c" target="_blank">http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-dev/src/snes/examples/tutorials/ex31.c</a></div>
<div><br></div><div>Although ghost cell support is available in DMDA, DMDA in this example is defined to have PERIODIC BC,</div><div>in order to implement/force inflow/outflow bc's. Do you have an idea why it is defined so? or Am I missing something?</div>
</blockquote></div><br><div>It just wasn't changed since DMDA_BOUNDARY_GHOSTED was added.</div>