On Fri, Oct 28, 2011 at 11:48 PM, Shao-Ching Huang <span dir="ltr">&lt;<a href="mailto:huangsc@gmail.com">huangsc@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi<br>
<br>
We are planning a new (finite volume) multiblock code, in which each<br>
block has logically structured mesh. We plan to create one DMDA for<br>
one block (which could span across 1 or more processes; we already<br>
have code). What would be the recommended PETSc-way to couple these<br>
blocks together for implicit solves? We also need ghosted region<br>
between two connected blocks (just like the ghost regions among the<br>
subdomains within a DMDA) for interpolation.<br></blockquote><div><br></div><div>I think the idea here is to use a DMComposite to couple together these DMDAs. You</div><div>would have to specify the coupling explicitly since we have no way of knowing how they</div>
<div>are connected, but after that, the GlobalToLocal() should work just the same.</div><div><br></div><div>  Thanks,</div><div><br></div><div>     Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Thanks.<br>
<font color="#888888"><br>
Shao-Ching<br>
</font></blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener<br>