[petsc-users] Input arguments of DMPlexCreateFromDAG
Cedric Doucet
cedric.doucet at inria.fr
Thu Jan 30 12:19:02 CST 2014
Hello,
I tried to use DMPlexCreateFromDAG function to create a DM structure from a hybrid mesh.
To understand how it works, I look at ex5.c file.
Unfortunately, there are some things that I do not understand.
1. Why does coneSize lists faces of cells first, then faces of vertices and finally faces of edges (in 2D)? Listing faces of vertices, then faces of edges and finally faces of cells is not simpler?
2 What does coneOrientations contain? For two counterclockwise oriented triangles sharing an edge e={v0,v1}, I understand that {v0,v1} is the right oriented edge for the second triangle (and e for the first one) but what is the meaning of value -2? I read that it is -(o+1) with o=1 but why does o equal 1 in this case?
Thank you very much for your help!
Best regards,
Cédric Doucet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140130/f9b1b9c0/attachment.html>
More information about the petsc-users
mailing list