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

smithrm-mcs at zimbra.anl.gov smithrm-mcs at zimbra.anl.gov
Tue Jun 1 19:04:13 CDT 2010


Am I missing something here?  I thought sets were unordered but no duplicates and lists are ordered but can have duplicates.  if isList=false shouldn't that mean its not a list and so not ordered as Jim said?
--Bob 
Sent from my Verizon Wireless BlackBerry

-----Original Message-----
From: Tim Tautges <tautges at mcs.anl.gov>
Date: Tue, 01 Jun 2010 18:31:32 
To: <moab-dev at mcs.anl.gov>
Subject: Re: [MOAB-dev] Order of entities in unordered entity sets?

Um, if isList=false, the set should be ordered.  If it is unordered, isList should be true, which means it is NOT stored 
in order.  Basically, an iMesh set is either a set or a list.

- tim

On 06/01/2010 06:05 PM, James Porter wrote:
> Hey all,
>
> I was under the impression that unordered entity sets (isList=false) in
> MOAB store their entities in sorted order, which means that they're also
> sorted by dimension. However, I'm seeing vertices stored *after* edges
> and faces in some code from MeshKit. If this is a bug, I'll see if I can
> come up with a minimal test-case that fails, but I wanted to make sure
> I'm not going crazy first.
>
> - Jim
>
>

-- 
================================================================
"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