[petsc-users] How to get nodes list refer to unstructure mesh element

陳宗興 barrydog505 at gmail.com
Fri Oct 12 03:56:51 CDT 2018


Hi all,

I have import a .msh file from DMPlexCreateFromFile.
I have found DMDAGetElements in DMDA's ex5 having this function,
how can i do this from DMPlex or unstructure grid.
Are there any methods that can get nodes list refer to unstructure mesh
element?
------------------------------------
for example :
       4
     /     \
   /    1   \
 2 - - - - - 3           element [1]  >> nodes list [2 3 4]

Thanks a lot.

Best regards,
Barry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20181012/d79933e5/attachment.html>


More information about the petsc-users mailing list