[MOAB-dev] r3349 - MOAB/trunk/tools/iMesh
kraftche at cae.wisc.edu
kraftche at cae.wisc.edu
Mon Nov 16 08:28:20 CST 2009
Author: kraftche
Date: 2009-11-16 08:28:20 -0600 (Mon, 16 Nov 2009)
New Revision: 3349
Modified:
MOAB/trunk/tools/iMesh/iMesh_MOAB.cpp
Log:
patch from Jed Brown: convert ITAPS format option string to MOAB format for write_file call
Modified: MOAB/trunk/tools/iMesh/iMesh_MOAB.cpp
===================================================================
--- MOAB/trunk/tools/iMesh/iMesh_MOAB.cpp 2009-11-16 14:27:49 UTC (rev 3348)
+++ MOAB/trunk/tools/iMesh/iMesh_MOAB.cpp 2009-11-16 14:28:20 UTC (rev 3349)
@@ -354,9 +354,10 @@
eatwhitespace(tmp_filename);
eatwhitespace(tmp_options);
-
+ std::string opts = ";"; opts += tmp_options;
+
MBEntityHandle set = ENTITY_HANDLE(handle);
- MBErrorCode result = MBI->write_file(tmp_filename.c_str(), NULL, tmp_options.c_str(),
+ MBErrorCode result = MBI->write_file(tmp_filename.c_str(), NULL, opts.c_str(),
&set, 1);
if (MB_SUCCESS != result) {
More information about the moab-dev
mailing list