[MOAB-dev] r5038 - MOAB/trunk/tools/mbzoltan

hongjun at mcs.anl.gov hongjun at mcs.anl.gov
Fri Jun 24 17:37:53 CDT 2011


Author: hongjun
Date: 2011-06-24 17:37:53 -0500 (Fri, 24 Jun 2011)
New Revision: 5038

Modified:
   MOAB/trunk/tools/mbzoltan/mbpart.cpp
Log:
o GeometryQueryTool::import(export)_solid_model" functions are changed to CubitCompat functions
o Passes make check


Modified: MOAB/trunk/tools/mbzoltan/mbpart.cpp
===================================================================
--- MOAB/trunk/tools/mbzoltan/mbpart.cpp	2011-06-24 22:36:43 UTC (rev 5037)
+++ MOAB/trunk/tools/mbzoltan/mbpart.cpp	2011-06-24 22:37:53 UTC (rev 5038)
@@ -5,6 +5,7 @@
 
 #ifdef CGM
 #include "InitCGMA.hpp"
+#include "CubitCompat.hpp"
 #endif
 
 #include <iostream>
@@ -270,8 +271,7 @@
 
       int junk;
       DLIList<RefEntity*> ref_entity_list;
-      CubitStatus status = GeometryQueryTool::instance()->
-        export_solid_model(ref_entity_list,
+      CubitStatus status = CubitCompat_export_solid_model(ref_entity_list,
                            tmp_output_file.str().c_str(),
                            file_type, junk,
                            CubitString(__FILE__));































More information about the moab-dev mailing list