[MOAB-dev] r5187 - MOAB/trunk/tools/dagmc

sjackson at cae.wisc.edu sjackson at cae.wisc.edu
Thu Oct 6 17:23:58 CDT 2011


Author: sjackson
Date: 2011-10-06 17:23:58 -0500 (Thu, 06 Oct 2011)
New Revision: 5187

Modified:
   MOAB/trunk/tools/dagmc/DagMC.cpp
Log:
Avoid assertion error when building CGM mappings after constructing implicit complement

Modified: MOAB/trunk/tools/dagmc/DagMC.cpp
===================================================================
--- MOAB/trunk/tools/dagmc/DagMC.cpp	2011-10-06 20:45:43 UTC (rev 5186)
+++ MOAB/trunk/tools/dagmc/DagMC.cpp	2011-10-06 22:23:58 UTC (rev 5187)
@@ -1506,6 +1506,7 @@
     i = 0;
     rit = vols.begin();
     for (; rit != vols.end(); rit++, i++) {
+      if( is_implicit_complement( *rit ) ) continue;
       RefEntity *this_vol = GeometryQueryTool::instance()->
         get_ref_volume(ids[i]);
       assert(NULL != this_vol);









































More information about the moab-dev mailing list