<div dir="ltr">Dear all,<div><br></div><div>This is driving me round the bend. When I have a meshing coming from a rectilinear source, I get NANs from my normal and face area calculations.  When all other input meshes are used, i.e. unstructured, the results are correct. To test this I've written the following test code which makes a single cell mesh and produces the NANs.  I then demonstrate that by using the transform classes, with zero rotation, I can then extract the same mesh back as a structured grid, and the errors disappear.  I can also apply a non-zero rotation and the errors disappear too.  </div>

<div><br></div><div>Note I apply a rotation, zero or otherwise, because my hypothesis having stepped through 6.1 in the debugger, is that the vtk_pixel cell type (axis aligned) coming from the rectilinear grid does not play well with the normal calculation.  But I can't find the bug, only that all entries of the normal are zero and the rest of the function fails.</div>

<div><br></div><div>Clearly, and more likely, is that I could also not be using the classes correctly, and if so please let me know??  Hope somebody can find the bug, I've got nowhere on this after a day of looking.  Again, anything non-axis aligned and or non vtk_pixel would appear to work as expected.<br>

</div><div><br></div><div>Help appreciated,</div><div><br></div><div>Cheers again,</div><div>Andy</div><div><br></div></div>