Ok - I have a semi-large XML file that I generate outside of FEniCS. The mesh file loads and plots without FEniCS complaining about it, and it does indeed look like I wanted it to look in the plot command. However, it appears that the order of the nodes gets altered during import. An example triangle tag in the file is:
<triangle index="46" v0="49" v1="43" v2="46" />
However, if inside of the script, I ask it for the nodes the make up cell 46, I get:
mesh = Mesh("stuff.xml.gz")
mesh.cells()[46]
array([43, 46, 49], dtype=uint32)
I was wondering if there was some way to import the mesh without having anything done to the node ordering, since I have a couple of mesh function files that I am loading, and one of them depends on the order of the edges in the cells being left alone.
I am using the OS X 10.7 snapshot from yesterday (17-Nov-2013).