[MOAB-dev] Order of elements in loaded meshes
Tim Tautges
tautges at mcs.anl.gov
Wed Feb 9 19:04:32 CST 2011
In most cases, I think order is conserved. The exception will be if the particular reader changes, but you knew that.
Another exception will be comparing order between an application where the mesh is generated vs. where the mesh is read
in clean, but your cases didn't really cover that.
- tim
On 02/09/2011 05:06 PM, Steve Jackson wrote:
> When MOAB loads a mesh file, the mesh elements have a certain order in EntityHandle space. I'd like to know how reliable/repeatable this ordering is. (Note I'm asking about the order of handles, not their specific values.)
>
> For a given mesh file, what guarantees do I get about the order of EntityHandles...
>
> * ...between separate runs of the same program? (i.e. May I assume the order of entity handles will be the same every time MOAB loads a file?)
>
> * ...between runs of two different programs using the same MOAB library? (Does the order of entities loaded from a file depend on the program that is calling MOAB?)
>
> * ...between runs of two programs using different versions of MOAB? (Does the order of entities depend on changes to MOAB, even if those changes do not affect the specific file reader that loads the mesh?)
>
> What I am looking for is a way to consistently refer to "the 1st/2nd/nth tetrahedron" in a given file, preferably without resorting to tags.
> ~S
--
================================================================
"You will keep in perfect peace him whose mind is
steadfast, because he trusts in you." Isaiah 26:3
Tim Tautges Argonne National Laboratory
(tautges at mcs.anl.gov) (telecommuting from UW-Madison)
phone: (608) 263-8485 1500 Engineering Dr.
fax: (608) 263-4499 Madison, WI 53706
More information about the moab-dev
mailing list