[MOAB-dev] r2536 - MOAB/trunk/tools/iMesh

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Tue Jan 13 15:06:15 CST 2009


Author: kraftche
Date: 2009-01-13 15:06:15 -0600 (Tue, 13 Jan 2009)
New Revision: 2536

Modified:
   MOAB/trunk/tools/iMesh/iMesh_MOAB.cpp
Log:
ITAPS spec requires that option strings begin with the separator character.
Thus the PARALLEL option must be passed as ";PARALLEL" (or any other 
destired leading separator character).  Change iMesh_newMesh to expect
the leading separator.


Modified: MOAB/trunk/tools/iMesh/iMesh_MOAB.cpp
===================================================================
--- MOAB/trunk/tools/iMesh/iMesh_MOAB.cpp	2009-01-13 20:53:08 UTC (rev 2535)
+++ MOAB/trunk/tools/iMesh/iMesh_MOAB.cpp	2009-01-13 21:06:15 UTC (rev 2536)
@@ -251,7 +251,7 @@
   {
     std::string tmp_options(options, options_len);
     eatwhitespace(tmp_options);
-    FileOptions opts(tmp_options.c_str());
+    FileOptions opts((std::string(";") + tmp_options).c_str());
 
     MBInterface* core;
 




More information about the moab-dev mailing list