[petsc-users] Structured multi-block topology

Barry Smith bsmith at mcs.anl.gov
Fri Apr 25 13:40:42 CDT 2014


   Are you thinking of the case of two or three (or so blocks) or are you thinking of many blocks? 

   DMComposite helps with multiple DM’s but unfortunately does not do the difficult task of setting up the communication of data between the different block boundaries.  

    There are some other packages out there for multi block domains that might be better for your case thus I ask about your particular situation and what you need.


On Apr 25, 2014, at 1:31 PM, Mark Lohry <mlohry at gmail.com> wrote:

> To resurrect this thread:
> https://lists.mcs.anl.gov/mailman/htdig/petsc-users/2012-August/014930.html
> Matt Knepley suggested the correct way to handle a structred
> multi-block mesh was to use DMComposite. I'm not seeing anything in
> the documentation about how to properly use DMComposite, however.
> What are the necessary steps to go from a single-block code using DMDA
> to a multi-block code that handles all the appropriate data passing at
> block boundaries?

More information about the petsc-users mailing list