<div dir="ltr"><div dir="ltr">On Fri, Jun 30, 2023 at 4:40 PM neil liu <<a href="mailto:liufield@gmail.com">liufield@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear Petsc developers,<br><div><br></div><div>I am reading P2 mesh from GMSH. And used DMFieldGetClosure_Internal to check the coordinates for each tetrahedron, It seems reasonable. </div><div>But when I tried DMGetCoordinates (dm, &global), it seems the vector global is not consistent with the node number, Then what is global here? </div></div></blockquote><div><br></div><div>Reading high order coordinates works for quads/hexes, but not simplices right now because I need to figure out what order GMsh stores the coordinates in. Thus we are defaulting to affine coordinates here.</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Thanks, </div><div><br></div><div>Xiaodong</div></div>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><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.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>