Hi,
I want to use DMPlexDistribute from PETSc for computing overlapping and
play with the different partitioners supported.
However, after calling DMPlexDistribute, I noticed the elements are
renumbered and then the original number is lost.
What would be the best way to keep track of the element renumbering?
a) Adding an optional parameter to let the user retrieve a vector or
"IS" giving the old number?
b) Adding a DMLabel (seems a wrong good solution)
c) Other idea?
Of course, I don't want to loose performances with the need of this
"mapping"...
You need to call
before call DMPlexDistribute(). Then you can call
to map back to the original numbering if you want. This is the same thing that DMDA is doing.
Thanks,
Matt
Thanks,
Eric
--
Eric Chamberland, ing., M. Ing
Professionnel de recherche
GIREF/Université Laval
(418) 656-2131 poste 41 22 42