[petsc-users] Identifier for DMs within DMComposite

Jed Brown jed at jedbrown.org
Mon Sep 15 18:05:20 CDT 2014


Gautam Bisht <gbisht at lbl.gov> writes:

> Hi,
>
> In my application, the number and order of DMs within a DMComposite could
> vary. Is there a way to tag (perhaps using an integer value) individual DMs
> within a DMComposite?

One option is to name the DMs via PetscObjectSetName and
programmatically get them out using DMCompositeGetEntriesArray and
friends.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140915/47333cb8/attachment.pgp>


More information about the petsc-users mailing list