[petsc-users] Local/global numbering to natural numbering?
Matthew Knepley
knepley at gmail.com
Fri Mar 6 10:48:39 CST 2015
You will finally get this soon. There is a postdoc at LSU writing the code
to output in original, or "natural", numbering the same way that DMDA does
now.
Thanks,
Matt
On Sun, Nov 9, 2014 at 4:33 AM, Justin Chang <jychang48 at gmail.com> wrote:
> 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 <jychang48 at gmail.com> 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
>>
>
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150306/e819d793/attachment.html>
More information about the petsc-users
mailing list