[MOAB-dev] r4512 - in MOAB/trunk/itaps: igeom imesh

jvporter at wisc.edu jvporter at wisc.edu
Thu Feb 17 11:47:24 CST 2011


Author: jvporter
Date: 2011-02-17 11:47:24 -0600 (Thu, 17 Feb 2011)
New Revision: 4512

Modified:
   MOAB/trunk/itaps/igeom/iGeom_MOAB.cpp
   MOAB/trunk/itaps/imesh/iMesh.h
   MOAB/trunk/itaps/imesh/iMesh_MOAB.cpp
   MOAB/trunk/itaps/imesh/testc_cbind.c
Log:
Back out r4508


Modified: MOAB/trunk/itaps/igeom/iGeom_MOAB.cpp
===================================================================
--- MOAB/trunk/itaps/igeom/iGeom_MOAB.cpp	2011-02-17 17:13:19 UTC (rev 4511)
+++ MOAB/trunk/itaps/igeom/iGeom_MOAB.cpp	2011-02-17 17:47:24 UTC (rev 4512)
@@ -1257,7 +1257,7 @@
    if (_smooth)
    {
       // correct the intersection point and the distance for smooth surfaces
-      for (unsigned int i=0; i<sets.size(); i++)
+      for (i=0; i<sets.size(); i++)
       {
          //EntityHandle geoSet = MBH_cast(sets[i]);
          SmoothFaceEval* sFace = _faces[sets[i]];
@@ -2237,7 +2237,7 @@
       iBase_EntitySetHandle entity_set_handle, iBase_TagHandle tag_handle,
       char** tag_value, int* tag_value_allocated, int* tag_value_size, int *err) {
    iMesh_getEntSetData(IMESH_INSTANCE(instance), entity_set_handle, tag_handle,
-         (void**)tag_value, tag_value_allocated, tag_value_size, err);
+         tag_value, tag_value_allocated, tag_value_size, err);
    ERRORR("Failure to get arbitrary data from entity set.");
 }
 
@@ -2286,7 +2286,7 @@
       iBase_TagHandle tag_handle, char** tag_values, int* tag_values_allocated,
       int* tag_values_size, int *err) {
    iMesh_getArrData(IMESH_INSTANCE(instance), entity_handles,
-         entity_handles_size, tag_handle, (void**)tag_values, tag_values_allocated,
+         entity_handles_size, tag_handle, tag_values, tag_values_allocated,
          tag_values_size, err);
    ERRORR("Failure to get tag values of arbitrary type on an array of entities.");
 }
@@ -2369,7 +2369,7 @@
       iBase_TagHandle tag_handle, char** tag_value, int *tag_value_allocated,
       int *tag_value_size, int *err) {
    iMesh_getData(IMESH_INSTANCE(instance), entity_handle, tag_handle,
-         (void**)tag_value, tag_value_allocated, tag_value_size, err);
+         tag_value, tag_value_allocated, tag_value_size, err);
    ERRORR("Failure to get tag values of an entity.");
 }
 

Modified: MOAB/trunk/itaps/imesh/iMesh.h
===================================================================
--- MOAB/trunk/itaps/imesh/iMesh.h	2011-02-17 17:13:19 UTC (rev 4511)
+++ MOAB/trunk/itaps/imesh/iMesh.h	2011-02-17 17:47:24 UTC (rev 4512)
@@ -7,7 +7,7 @@
 
   /**\brief iMesh Interface Specification Minor Release Number
     */
-#define IMESH_MINOR_VERSION 1
+#define IMESH_MINOR_VERSION 0


More information about the moab-dev mailing list