[petsc-dev] DMPlex with vertical numbering?
Jed Brown
jedbrown at mcs.anl.gov
Tue Nov 12 09:59:38 CST 2013
Michael Lange <michael.lange at imperial.ac.uk> writes:
> Hi Matt,
>
> Thanks for the clarification, this does make sense. I have achieved the
> local DoF ordering I want by only permuting the offsets in the created
> section. However, I am now trying to extract the according halo exchange
> information from the associated PetscSF object and, although the local
> leafs have been renumbered according to my permutation, the roots they
> are connected to have not been updated. Is there an easy way to update
> the roots or re-initialise the PetscSF from the reordered section?
You can SFBcast the new root numbers and create a new SF.
Since this is a somewhat common operation that can be optimized by the
SF implementation, it may make sense to provide PetscSFMoveRoots() or
some such.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20131112/fbbe55ac/attachment.sig>
More information about the petsc-dev
mailing list