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

sjackson at mcs.anl.gov sjackson at mcs.anl.gov
Fri Jul 13 17:19:35 CDT 2012


Author: sjackson
Date: 2012-07-13 17:19:35 -0500 (Fri, 13 Jul 2012)
New Revision: 5633

Modified:
   MOAB/trunk/tools/dagmc/DagMC.cpp
   MOAB/trunk/tools/dagmc/DagMC.hpp
   MOAB/trunk/tools/dagmc/dagmc_preproc.cpp
Log:
Remove out-of-date metadata functions

Some tabs-to-spaces fixes snuck into DagMC.cpp
as well.

Modified: MOAB/trunk/tools/dagmc/DagMC.cpp
===================================================================
--- MOAB/trunk/tools/dagmc/DagMC.cpp	2012-07-13 22:19:31 UTC (rev 5632)
+++ MOAB/trunk/tools/dagmc/DagMC.cpp	2012-07-13 22:19:35 UTC (rev 5633)
@@ -37,23 +37,7 @@
 #define MB_OBB_TREE_TAG_NAME "OBB_TREE"
 #define FACETING_TOL_TAG_NAME "FACETING_TOL"
 #define CATEGORY_TAG_LENGTH 32
-#define COMP_NAME_TAG_LENGTH 64
 
-#define MAT_GROUP 0
-#define BC_SPEC 1
-#define BC_WHITE 2
-#define IMP_ZERO 3
-#define TALLY_GROUP 4
-#define COMP_GROUP 5
-
-#define MATERIAL_TAG_NAME "DAGMC_MATERIAL_ID"
-#define DENSITY_TAG_NAME  "DAGMC_MATERIAL_DENSITY"
-#define BC_TAG_NAME       "DAGMC_BOUNDARY_CONDITION"
-#define IMP_TAG_NAME      "DAGMC_IMPORTANCE"
-#define TALLY_TAG_NAME    "DAGMC_TALLY"
-#define COMP_TAG_NAME     "DAGMC_COMPOSITION"
-
-
 #define MBI moab_instance()
 
 namespace moab {
@@ -101,7 +85,6 @@
   instance_ = new DagMC(mb_impl);
 }
 
-
 float DagMC::version(std::string *version_string) 
 {
   if (NULL != version_string)
@@ -130,10 +113,6 @@
   numericalPrecision = .001; 
   useCAD = false;  
   
-  memset( specReflectName, 0, NAME_TAG_SIZE );
-  strcpy( specReflectName, "spec_reflect" );
-  memset( whiteReflectName, 0, NAME_TAG_SIZE );
-  strcpy( whiteReflectName, "white_reflect" );
   memset( implComplName, 0, NAME_TAG_SIZE );
   strcpy( implComplName , "impl_complement" );
 
@@ -145,7 +124,7 @@
 /* SECTION I: Geometry Initialization */
 
 ErrorCode DagMC::load_file(const char* cfile,


More information about the moab-dev mailing list