<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Feb 23, 2018 at 1:33 AM, Danyang Su <span dir="ltr"><<a href="mailto:danyang.su@gmail.com" target="_blank">danyang.su@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
<br>
What cell types does DMPlexCreateFromCellList support? I test this with triangle, tetrahedron and prism. Both triangle and tetrahedron work but prism mesh throws error saying "Cone size 6 not supported for dimension 3".<br>
<br>
Could anyone tell me all the supported cell types?<br></blockquote><div><br></div><div>The limitation occurs in two places:</div><div><br></div><div> 1) Calculating edges and faces: I only know how to do this for tri, tet, quad, and hex. Give PETSC_FALSE to CreateFromCellList() and this error will go away.<br></div><div> You could also provide the information for interpolating prisms, which would depend on how they are ordered when you read in cells.</div><div><br></div><div> 2) Even if you read them in, I have no geometric routines for prisms.</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks,<br>
<br>
Danyang<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.caam.rice.edu/~mk51/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div>
</div></div>