[MOAB-dev] r5970 - MOAB/trunk/src/parallel

iulian at mcs.anl.gov iulian at mcs.anl.gov
Fri Feb 1 21:07:34 CST 2013


Author: iulian
Date: 2013-02-01 21:07:34 -0600 (Fri, 01 Feb 2013)
New Revision: 5970

Modified:
   MOAB/trunk/src/parallel/ParallelComm.cpp
Log:
a closing parantheses was misplaced during settling of the
intersection points; also remove a warning in printing a debug message;


Modified: MOAB/trunk/src/parallel/ParallelComm.cpp
===================================================================
--- MOAB/trunk/src/parallel/ParallelComm.cpp	2013-02-01 22:58:16 UTC (rev 5969)
+++ MOAB/trunk/src/parallel/ParallelComm.cpp	2013-02-02 03:07:34 UTC (rev 5970)
@@ -250,7 +250,7 @@
       if (tag < MB_MESG_REMOTEH_ACK) myDebug->print(3, ", recv_ent_reqs=");
       else if (tag < MB_MESG_TAGS_ACK) myDebug->print(3, ", recv_remoteh_reqs=");
       else myDebug->print(3, ", recv_tag_reqs=");
-      for (unsigned int i = 0; i < reqs.size(); i++) myDebug->printf(3, " %p", (void*)reqs[i]);
+      for (unsigned int i = 0; i < reqs.size(); i++) myDebug->printf(3, " %x", reqs[i]);
       myDebug->print(3, "\n");
     }
   }
@@ -8794,12 +8794,14 @@
               found =true;
               break;
             }
-            if (!found)
-            {
-              // warning ?
-              result = MB_FAILURE;
-            }
           }
+          if (!found)
+          {
+            //
+            std::cout<<" pk:" << pk[0] << " " << pk[1] << " " << pk[2] << " not found \n";
+            result = MB_FAILURE;
+          }
+
         }
         // after we are done resetting, we can set the new positions of nodes:
         result = mbImpl->set_coords(&intx_nodes[0], nverts, &current_positions[0]  );



More information about the moab-dev mailing list