Or would PetscSF sort of give you that information? Say if I had auxiliary data associated for each vertex point, I would first distribute the mesh via DMPlexDistribute, obtain the PetscSF from that routine, and then call DMPlexDistributeField for the vector containing said auxiliary data?
Thanks, Justin On Sun, Nov 9, 2014 at 4:10 AM, Justin Chang <[email protected]> wrote: > Hi all, > > Given the local/global numbering of vector/array entries generated after > DMPlexDistribute(), is it possible to obtain the "natural numbering"? That > is, the numbering of the vertex points before the mesh was distributed. I > see that this has been discussed thoroughly for DMDA's but is it possible > to obtain some sort of natural numbering for DMPlex? > > For instance, when I call DMPlexCreateFromDAG() or > DMPlexCreateFromCellList() I would consider vertexCoords[] to be of > "natural numbering" since it's the original ordering specified by the mesh > generator. > > Thanks, > Justin >
