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 12 and Version 13 of iMeshComponent


Ignore:
Timestamp:
02/18/09 14:41:50 (14 years ago)
Author:
billings
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • iMeshComponent

    v12 v13  
    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 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: 
     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 "tricks" are used: 
    1616 
    1717* Copying incoming arrays can be avoided if the stride of the array is equal to one.  
     18[[BR]] 
    1819* Outgoing arrays can always be "borrowed," so long as the memory doesn't magically disappear. 
    1920