[petsc-users] specifying vertex coordinates using DMPlexCreateFromCellListParallel

Hassan Raiesi Hassan.Raiesi at aero.bombardier.com
Tue Apr 11 09:21:29 CDT 2017


Hello,

I'm trying to use DMPlexCreateFromCellListParallel to create a DM from an already partitioned mesh,
It requires an array of numVertices*spaceDim numbers, but how should one order the coordinates of the vertices?
we only pass the global vertex numbers using 'const int cells[]' to define the cell-connectivity, so passing the vertex coordinates in local ordering wouldn't make sense?
If it needs to be in global ordering, should I sort the global index of the node numbers owned by each rank (as they wont be continuous).


Thank you

Hassan Raiesi,
Bombardier Aerospace
www.bombardier.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170411/ba7148c9/attachment.html>


More information about the petsc-users mailing list