Oh, so DMPlexDistribute() can redistribute an already-distributed mesh?
I didn't know that- had assumed it was only for distributing a serial mesh.
If so, that sounds like a much better idea. I'll check it out.
Thanks!
- Adrian
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.
Thanks,
Matt
--
Dr Adrian Croucher
Senior Research Fellow
Department of Engineering Science
University of Auckland, New Zealand
email: [email protected]
tel: +64 (0)9 923 4611