[MOAB-dev] Order of entities in unordered entity sets?

James Porter jvporter at wisc.edu
Tue Jun 1 20:47:33 CDT 2010


On 06/01/10, Jason Kraftcheck  <kraftche at cae.wisc.edu> wrote:
> MOAB may happen to store unordered sets sorted by handle order, but it is a) not required to preserve that ordering through the iMesh interface and b) is likely to do so only when asked for the immediate contents of a set.  For recursive queries, getting adjacencies of entities in a set, etc. there are no guarantees for either ordered or unordered sets.

I'm pretty sure the code in CopyMesh meets the conditions of (b), but in the long run, I'd rather not make this assumption, since I think it'd be nice for MeshKit to not fail catastrophically on non-MOAB implementations of iMesh.

- Jim


More information about the moab-dev mailing list