hi
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: [email protected]
tel: +64 (0)9 923 4611