[MOAB-dev] r4378 - MOAB/trunk/tools/dagmc
sjackson at cae.wisc.edu
sjackson at cae.wisc.edu
Wed Dec 15 16:04:31 CST 2010
Author: sjackson
Date: 2010-12-15 16:04:31 -0600 (Wed, 15 Dec 2010)
New Revision: 4378
Modified:
MOAB/trunk/tools/dagmc/DagMC.cpp
MOAB/trunk/tools/dagmc/cub2h5m.cc
MOAB/trunk/tools/dagmc/dagmc_preproc.cpp
Log:
Always treat GEOM_SENSE_2 as a sparse tag
Modified: MOAB/trunk/tools/dagmc/DagMC.cpp
===================================================================
--- MOAB/trunk/tools/dagmc/DagMC.cpp 2010-12-15 20:46:08 UTC (rev 4377)
+++ MOAB/trunk/tools/dagmc/DagMC.cpp 2010-12-15 22:04:31 UTC (rev 4378)
@@ -152,7 +152,7 @@
facetingTolTag = get_tag(FACETING_TOL_TAG_NAME, sizeof(double), MB_TAG_SPARSE, MB_TYPE_DOUBLE );
// get sense of surfaces wrt volumes
- senseTag = get_tag( "GEOM_SENSE_2", 2*sizeof(EntityHandle), MB_TAG_DENSE, MB_TYPE_HANDLE );
+ senseTag = get_tag( "GEOM_SENSE_2", 2*sizeof(EntityHandle), MB_TAG_SPARSE, MB_TYPE_HANDLE );
int matid = 0;
const void *def_matid = &matid;
Modified: MOAB/trunk/tools/dagmc/cub2h5m.cc
===================================================================
--- MOAB/trunk/tools/dagmc/cub2h5m.cc 2010-12-15 20:46:08 UTC (rev 4377)
+++ MOAB/trunk/tools/dagmc/cub2h5m.cc 2010-12-15 22:04:31 UTC (rev 4378)
@@ -1209,7 +1209,7 @@
result = MBI->tag_create(CATEGORY_TAG_NAME, CATEGORY_TAG_SIZE, MB_TAG_SPARSE,
MB_TYPE_OPAQUE, categoryTag, NULL, true );
if(MB_SUCCESS != result) return result;
- result = MBI->tag_create("GEOM_SENSE_2", 2*sizeof(EntityHandle), MB_TAG_DENSE,
+ result = MBI->tag_create("GEOM_SENSE_2", 2*sizeof(EntityHandle), MB_TAG_SPARSE,
MB_TYPE_HANDLE, senseTag, NULL, true );
if(MB_SUCCESS != result) return result;
result = MBI->tag_create( "GEOM_SIZE", sizeof(double), MB_TAG_DENSE,
Modified: MOAB/trunk/tools/dagmc/dagmc_preproc.cpp
===================================================================
--- MOAB/trunk/tools/dagmc/dagmc_preproc.cpp 2010-12-15 20:46:08 UTC (rev 4377)
+++ MOAB/trunk/tools/dagmc/dagmc_preproc.cpp 2010-12-15 22:04:31 UTC (rev 4378)
@@ -315,7 +315,7 @@
MB_TYPE_INTEGER, idTag, NULL, true );
CHECKERR( mbi, ret );
- ret = mbi.tag_create("GEOM_SENSE_2", 2*sizeof(EntityHandle), MB_TAG_DENSE,
+ ret = mbi.tag_create("GEOM_SENSE_2", 2*sizeof(EntityHandle), MB_TAG_SPARSE,
MB_TYPE_HANDLE, senseTag, NULL, true );
CHECKERR( mbi, ret );
More information about the moab-dev
mailing list