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

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Tue Jul 14 17:02:12 CDT 2009


Author: kraftche
Date: 2009-07-14 17:02:12 -0500 (Tue, 14 Jul 2009)
New Revision: 3009

Modified:
   MOAB/trunk/tools/dagmc/DagMC.cpp
Log:
fix build errors

Modified: MOAB/trunk/tools/dagmc/DagMC.cpp
===================================================================
--- MOAB/trunk/tools/dagmc/DagMC.cpp	2009-07-14 20:30:36 UTC (rev 3008)
+++ MOAB/trunk/tools/dagmc/DagMC.cpp	2009-07-14 22:02:12 UTC (rev 3009)
@@ -1291,7 +1291,7 @@
       } else {
 	// apply tag to range of volumes
 	grp_ents.clear();
-	grp_ents = intersect(grp_sets.vols);
+	grp_ents = intersect(grp_sets,vols);
 	  matid_list.assign(grp_ents.size(),matid);
 	density_list.assign(grp_ents.size(),density);
 	MBI->tag_set_data(matTag ,grp_ents,&(*matid_list.begin()));
@@ -1302,7 +1302,7 @@
     case BC_WHITE:
       bc_id = keywords[tokens[0]];
       grp_ents.clear();
-      grp_ents = intersect(grp_sets.surfs);
+      grp_ents = intersect(grp_sets,surfs);
       bc_id_list.assign(grp_ents.size(),bc_id);
       MBI->tag_set_data(bcTag ,grp_ents, &(*bc_id_list.begin()));
       break;



More information about the moab-dev mailing list