[MOAB-dev] r3550 - in MOAB/trunk: . tools/dagmc

sjackson at cae.wisc.edu sjackson at cae.wisc.edu
Thu Feb 18 17:22:40 CST 2010


Author: sjackson
Date: 2010-02-18 17:22:40 -0600 (Thu, 18 Feb 2010)
New Revision: 3550

Modified:
   MOAB/trunk/MBOrientedBoxTreeTool.hpp
   MOAB/trunk/tools/dagmc/DagMC.hpp
Log:
Small cleanups:
* Remove redundant declaration in DagMC.hpp
* Implement small but important functions for
  MBOrientedBoxTreeTool::TrvStats

Modified: MOAB/trunk/MBOrientedBoxTreeTool.hpp
===================================================================
--- MOAB/trunk/MBOrientedBoxTreeTool.hpp	2010-02-18 22:10:16 UTC (rev 3549)
+++ MOAB/trunk/MBOrientedBoxTreeTool.hpp	2010-02-18 23:22:40 UTC (rev 3550)
@@ -137,9 +137,11 @@
       public:
 
         //! return counts of nodes visited, indexed by tree depth
-        const std::vector< unsigned >& nodes_visited() const ;
+        const std::vector< unsigned >& nodes_visited() const
+        { return nodes_visited_count; }
         //! return counts of traversals ended, indexed by tree depth
-        const std::vector< unsigned >& traversals_ended() const ;
+        const std::vector< unsigned >& traversals_ended() const 
+        { return traversals_ended_count; }        
         //! reset all counters on this structure
         void reset();
         //! print the contents of this structure to given stream

Modified: MOAB/trunk/tools/dagmc/DagMC.hpp
===================================================================
--- MOAB/trunk/tools/dagmc/DagMC.hpp	2010-02-18 22:10:16 UTC (rev 3549)
+++ MOAB/trunk/tools/dagmc/DagMC.hpp	2010-02-18 23:22:40 UTC (rev 3550)
@@ -79,8 +79,6 @@
   MBErrorCode load_file(const char* cfile,
 			const double facet_tolerance = 0);
 
-  MBErrorCode init_OBBtree();
-
   MBErrorCode write_mesh(const char* ffile,
 			 const int flen);
 



More information about the moab-dev mailing list