<div dir="ltr"><div><div>Are you using the master branch? A while ago I also had this problem which was caused by different vertex numberings being used by DMPlex and gmsh. But this is fixed now if you use master.<br><br></div>Thanks,<br></div>Sander<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 14 August 2016 at 20:49, Santos Teixeira  Frederico <span dir="ltr"><<a href="mailto:fsantost@student.ethz.ch" target="_blank">fsantost@student.ethz.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Hi folks,
<div><br>
</div>
<div>Based on ex62, I started a project and I would like to use gmsh. </div>
<div>It seems however that I am missing something, because it works very well with both 2D and 3D meshes from PETSc (with <span style="font-size:10pt">DMPlexCreateBoxMesh), it works quite well with 2D meshes from gmsh, but it fails with the 3D gmsh. Also,
 the Initial Residual vector for this latter case contains big values, while it is almost zero for the other successful cases.</span></div>
<div><span style="font-size:10pt"><br>
</span></div>
<div><span style="font-size:13.3333px">The full output is attached, along with</span><span style="font-size:10pt"> the code, .msh files and command-line options, where these issues can hopefully be reproduced. </span><span style="font-size:10pt">Any hint
 is highly appreciated.</span></div>
<div><span style="font-size:10pt"><br>
</span></div>
<div><span style="font-size:10pt">Regards,</span></div>
<div><span style="font-size:10pt"> Frederico.</span></div>
</div>
</div>

</blockquote></div><br></div>