[MOAB-dev] r5478 - MOAB/trunk/itaps/imesh

tautges at mcs.anl.gov tautges at mcs.anl.gov
Thu Apr 12 12:55:11 CDT 2012


Author: tautges
Date: 2012-04-12 12:55:11 -0500 (Thu, 12 Apr 2012)
New Revision: 5478

Modified:
   MOAB/trunk/itaps/imesh/iMeshP_MOAB.cpp
Log:
If iBase_ALL_TYPES is passed in for ghost_dim to exchange ghost entities, change 
that to -1 for input to MOAB.



Modified: MOAB/trunk/itaps/imesh/iMeshP_MOAB.cpp
===================================================================
--- MOAB/trunk/itaps/imesh/iMeshP_MOAB.cpp	2012-04-11 20:45:52 UTC (rev 5477)
+++ MOAB/trunk/itaps/imesh/iMeshP_MOAB.cpp	2012-04-12 17:55:11 UTC (rev 5478)
@@ -1708,6 +1708,7 @@
   
   ParallelComm* pcomm = PCOMM;
   ErrorCode rval;
+  if (iBase_ALL_TYPES == ghost_dim) ghost_dim = -1;
   rval = pcomm->exchange_ghost_cells( ghost_dim, bridge_dim, num_layers, 0, true );
   CHKERR(rval,"ghost exchange failed");
   RETURN(iBase_SUCCESS);









































More information about the moab-dev mailing list