[petsc-users] multiblock question

Matthew Knepley knepley at gmail.com
Fri Oct 28 19:17:51 CDT 2011


On Fri, Oct 28, 2011 at 11:48 PM, Shao-Ching Huang <huangsc at gmail.com>wrote:

> Hi
>
> We are planning a new (finite volume) multiblock code, in which each
> block has logically structured mesh. We plan to create one DMDA for
> one block (which could span across 1 or more processes; we already
> have code). What would be the recommended PETSc-way to couple these
> blocks together for implicit solves? We also need ghosted region
> between two connected blocks (just like the ghost regions among the
> subdomains within a DMDA) for interpolation.
>

I think the idea here is to use a DMComposite to couple together these
DMDAs. You
would have to specify the coupling explicitly since we have no way of
knowing how they
are connected, but after that, the GlobalToLocal() should work just the
same.

  Thanks,

     Matt


> Thanks.
>
> Shao-Ching
>



-- 
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111029/f24af256/attachment.htm>


More information about the petsc-users mailing list