[petsc-users] parallel dual porosity

Adrian Croucher a.croucher at auckland.ac.nz
Wed May 29 21:38:07 CDT 2019


On 28/05/19 11:32 AM, Matthew Knepley wrote:
> I would not do that. It should be much easier, and better from a 
> workflow standpoint,
> to just redistribute in parallel. We now have several test examples 
> that redistribute
> in parallel, for example
> https://bitbucket.org/petsc/petsc/src/cd762eb66180d8d1fcc3950bd19a3c1b423f4f20/src/dm/impls/plex/examples/tests/ex1.c#lines-486
> Let us know if you have problems.

If you use DMPlexDistribute() a second time to redistribute the mesh, 
presumably it will first delete all the partition ghost cells created 
from the initial distribution (and create new ones after redistribution).

If I have also used DMPlexConstructGhostCells() to create boundary 
condition ghost cells on the distributed mesh, what happens to them when 
I redistribute? Do they get copied over to the redistributed mesh? or is 
it better not to add them until the mesh has been redistributed?

- Adrian

Dr Adrian Croucher
Senior Research Fellow
Department of Engineering Science
University of Auckland, New Zealand
email: a.croucher at auckland.ac.nz
tel: +64 (0)9 923 4611

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190530/1f6464c6/attachment.html>

More information about the petsc-users mailing list