Thanks Matt. I will look into DMComposite. Shao-Ching
On Fri, Oct 28, 2011 at 5:17 PM, Matthew Knepley <knepley at gmail.com> wrote: > 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 >
