>Date: Thu, 20 Aug 2009 09:25:25 +0200 (CEST)
>From: Tim Kroeger <tim.kroeger@...>
>Subject: Re: [Libmesh-users] Mesh::write() and read()
>Also, I notice that that Mesh::read() will already call
>Mesh::prepare_for_use() at its end where the argument is false except
>if the file name contains the string ".gmv". Hence I tried renaming
>my mesh file from "1mesh.xdr" to "1.gmvmesh.xdr", but that still
>didn't do the trick for me, although I don't understand why.
>Anyway, if it should be so easy (i.e. assuming that I made some silly
>mistake), I wonder why this isn't the default. I can't think of any
>application where it is more useful the renumber the elements than not
>to do so. If there is a reason, I would at least vote for a more
>intuitive API for that, eg. an optional argument to Mesh::read().
I have done Tim's suggestion in my customized version of libmesh. It's
useful for some purposes, and it won't break anyone's code.
I wrote a messagem sometime about this issue: