[MOAB-dev] r5319 - MOAB/trunk/tools/dagmc

jvporter at wisc.edu jvporter at wisc.edu
Fri Jan 13 14:16:49 CST 2012


Author: jvporter
Date: 2012-01-13 14:16:48 -0600 (Fri, 13 Jan 2012)
New Revision: 5319

Modified:
   MOAB/trunk/tools/dagmc/obb_analysis.cpp
Log:
Remove use of deprecated function


Modified: MOAB/trunk/tools/dagmc/obb_analysis.cpp
===================================================================
--- MOAB/trunk/tools/dagmc/obb_analysis.cpp	2012-01-13 20:01:21 UTC (rev 5318)
+++ MOAB/trunk/tools/dagmc/obb_analysis.cpp	2012-01-13 20:16:48 UTC (rev 5319)
@@ -101,7 +101,8 @@
   CHECKERR( mb2, rval );
   
   Tag lttag;
-  rval = mb2.tag_create( "LEAFTRIS", sizeof(int), MB_TAG_DENSE, MB_TYPE_INTEGER, lttag, 0, 0 );
+  rval = mb2.tag_get_handle( "LEAFTRIS", sizeof(int), MB_TYPE_INTEGER, lttag,
+                             MB_TAG_EXCL|MB_TAG_CREAT|MB_TAG_BYTES|MB_TAG_DENSE, 0);
   CHECKERR( mb2, rval );
 
   int row = grid + 1;







































More information about the moab-dev mailing list