itaps-parallel iMeshP_getAllVtxCoords, iMeshP_getAdjEntities, and iMesh_isEntContained
Jason Kraftcheck
kraftche at cae.wisc.edu
Fri Oct 17 12:22:27 CDT 2008
Would it be possible to drop the "in_entity_set" argument from
iMeshP_getAllVtxCoord and iMeshP_getAdjEntities? It is probably too late to
change the iMesh versions of these functions, but we could still fix the
iMeshP ones. Most of the time, the caller neither wants nor cares about
whether or not the resulting entities were also contained in the input set.
The cost of allocating this array, the (probably) O(n^2) cost of
populating it, and the nuisance of the caller having to free it need not be
incurred if the caller doesn't want the data. There would be no extra (run
time) cost to adding an array form of "iMesh_isEntContained" that can be
used to determine if the result entities are in the set for the few cases
where that information is required.
- jason
More information about the itaps-parallel
mailing list