Warning: Can't synchronize with repository "(default)" (/disks/svn_mcs/repos/neams-ibm does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Version 11 and Version 12 of iMeshComponent


Ignore:
Timestamp:
02/18/09 14:40:13 (14 years ago)
Author:
billings
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • iMeshComponent

    v11 v12  
    1313The SIDL file for this component was developed from a previous SIDL wrapping included with MOAB. The most important difference is that this version does not use objects and, instead, passes an opaque pointer to the mesh with each function call. The component is implemented in C and is a direct 1-1 wrapping of the iMesh C interface. 
    1414 
    15 There are some important memory considerations when wrapping a library with SIDL. In particular, SIDL defines its own array type and efficiently transferring information to and from this type must be considered to avoid a performance hit. Copying incoming arrays can be avoided if the stride of the array is equal to one. Outgoing arrays can always be "borrowed," so long as the memory doesn't magically disappear. 
     15There are some important memory considerations when wrapping a library with SIDL. In particular, SIDL defines its own array type and the efficient transfer of information to and from this type must be considered to avoid a performance hit. In this component, the following techniques are employed: 
     16 
     17* Copying incoming arrays can be avoided if the stride of the array is equal to one.  
     18* Outgoing arrays can always be "borrowed," so long as the memory doesn't magically disappear. 
    1619 
    1720== Tests ==