[MOAB-dev] iMesh_createEnt vs iMesh_createEntArr
Tim Tautges
tautges at mcs.anl.gov
Mon Jun 14 21:29:55 CDT 2010
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.
- tim
On 06/14/2010 07:18 PM, James Porter wrote:
> Is there a significant benefit to using iMesh_createEntArr versus N
> calls of iMesh_createEnt? (Performance-wise, MOAB ranges, etc.) I notice
> that CopyMesh in MeshKit is going out of its way to use
> iMesh_createEntArr, and if it's not giving us something important, I'd
> rather get rid of it in the name of simplicity. On the other hand, if it
> *is* giving us something important, I'll use it in the ExtrudeMesh code
> too.
>
> - 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