[MOAB-dev] iMesh_createEnt vs iMesh_createEntArr

Tim Tautges tautges at mcs.anl.gov
Tue Jun 15 08:54:44 CDT 2010


Yes, it does work out.

- tim

On 06/15/2010 12:22 AM, James Porter wrote:
> On Mon, 2010-06-14 at 21:29 -0500, Tim Tautges wrote:
>> This will definitely affect the layout of entities in sequences.  If
>> you call the individual entity version, your sequences will be laid
>> out in 4k chunks; if the array version, and the arrays are>  4k long,
>> that will be the sequence size.  In general, it's usually better to
>> have larger sequences.  But, some of this depends on how much bending
>> over backwards is being done, and whether those sequences are ever
>> going to be large.
>
> If you use the array version and always (or just usually) have<  4k
> elements per array, everything works out, right? Anyway, except for that
> one question, that's good enough for me. I'll just clean up the code so
> that it's a little easier to follow, then.
>
> - 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