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.
- Timestamp:
-
02/18/09 14:41:50 (14 years ago)
- Author:
-
billings
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v12
|
v13
|
|
13 | 13 | The 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. |
14 | 14 | |
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: |
| 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 "tricks" are used: |
16 | 16 | |
17 | 17 | * Copying incoming arrays can be avoided if the stride of the array is equal to one. |
| 18 | [[BR]] |
18 | 19 | * Outgoing arrays can always be "borrowed," so long as the memory doesn't magically disappear. |
19 | 20 | |