<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi, Iulian:<div><br></div><div>I agree that if we don't need to support cubit10.0, we don't need to separate the code using CUBIT_12 flag.</div><div><br></div><div>One thing I want to point out that I noticed that you also removed the flag for cubit13 in itaps, which is because moab and above are not using the reflect and scale funtions. In case later, you want to use any of them (hopefully not), as long as we support cubit12 and cubit13, please note that the interface is different for these two versions.</div><div><br>Jane Hu<br>
<br>
Asst. Researcher<br>
Dept. of Engineering Physics<br>
UW @ Madison<br>
<br>
"And we know that for those who love God, that is, for those who are called according to his purpose, all things are working together for good." (Romans 8:28)<br><br>--- On <b>Thu, 2/14/13, iulian@mcs.anl.gov <i><iulian@mcs.anl.gov></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: iulian@mcs.anl.gov <iulian@mcs.anl.gov><br>Subject: [MOAB-dev] r6002 - MOAB/trunk/src/io<br>To: moab-dev@mcs.anl.gov<br>Date: Thursday, February 14, 2013, 12:04 PM<br><br><div class="plainMail">Author: iulian<br>Date: 2013-02-14 11:04:34 -0600 (Thu, 14 Feb 2013)<br>New Revision: 6002<br><br>Modified:<br>   MOAB/trunk/src/io/ReadCGM.cpp<br>Log:<br>remove reference to CUBIT_12, it is not needed anymore, because we are not going to support<br>cubit 10 anymore, and cubit 13 has the same signature for the import_solid_model and<br>export_... methods (as cubit
 12)<br><br><br>Modified: MOAB/trunk/src/io/ReadCGM.cpp<br>===================================================================<br>--- MOAB/trunk/src/io/ReadCGM.cpp    2013-02-13 17:19:42 UTC (rev 6001)<br>+++ MOAB/trunk/src/io/ReadCGM.cpp    2013-02-14 17:04:34 UTC (rev 6002)<br>@@ -41,9 +41,7 @@<br> <br> #include "moab/GeomTopoTool.hpp"<br> <br>-#ifdef CUBIT_12<br> # include "CubitCompat.hpp"<br>-#endif<br> <br> #include <stdio.h><br> #include <algorithm><br>@@ -193,11 +191,7 @@<br>   if (!file_type || !strcmp(file_type ,"CUBIT")) <br>     return MB_FAILURE;<br> <br>-#ifndef CUBIT_12<br>-  s = GeometryQueryTool::instance()->import_solid_model( cgm_file_name, file_type );<br>-#else<br>   s = CubitCompat_import_solid_model( cgm_file_name, file_type );<br>-#endif<br>   if (CUBIT_SUCCESS != s) {<br> 
    readUtilIface->report_error( "%s: Failed to read file of type \"%s\"", cgm_file_name, file_type );<br>     return MB_FAILURE;<br><br></div></blockquote></div></td></tr></table>