[petsc-users] Pulling submeshes out of a DMPlex object
Lawrence Mitchell
lawrence.mitchell at imperial.ac.uk
Wed Sep 6 15:25:28 CDT 2017
On 6 Sep 2017, at 20:58, Matthew Knepley <knepley at gmail.com> wrote:
>> 1. The locally visible part of a distributed mesh (so that I can
>> discretise and solve independent problems on each local part)
>
> This is already a standalone Plex. If you delete the PetscSF, it never knows anyone else is out there :)
So I'd Dmclone and then delete the point SF. Do I not also need to replace the communicator on the DM so that VecCreate DTRT.
I'll follow up to the rest with some examples probably next week.
Lawrence
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170906/918cf37b/attachment.html>
More information about the petsc-users
mailing list