[MOAB-dev] r4057 - MOAB/trunk/src/io

jain at mcs.anl.gov jain at mcs.anl.gov
Thu Jul 15 10:40:18 CDT 2010


Author: jain
Date: 2010-07-15 10:40:17 -0500 (Thu, 15 Jul 2010)
New Revision: 4057

Modified:
   MOAB/trunk/src/io/WriteCCMIO.cpp
Log:
o Returning back if empty Neumann sets are present when writing external faces


Modified: MOAB/trunk/src/io/WriteCCMIO.cpp
===================================================================
--- MOAB/trunk/src/io/WriteCCMIO.cpp	2010-07-14 19:57:28 UTC (rev 4056)
+++ MOAB/trunk/src/io/WriteCCMIO.cpp	2010-07-15 15:40:17 UTC (rev 4057)
@@ -1230,6 +1230,8 @@
 ErrorCode WriteCCMIO::write_external_faces(CCMIOID rootID, CCMIOID topologyID, 
                                            int set_num, Range &facets) 
 {
+  if (set_num == 0)
+    return MB_SUCCESS;
   CCMIOError error = kCCMIONoErr;
   CCMIOID mapID, id;
 








































More information about the moab-dev mailing list