[MOAB-dev] r1499 - MOAB/trunk/refiner

pebay at mcs.anl.gov pebay at mcs.anl.gov
Fri Dec 28 14:58:04 CST 2007


Author: pebay
Date: 2007-12-28 14:58:04 -0600 (Fri, 28 Dec 2007)
New Revision: 1499

Modified:
   MOAB/trunk/refiner/MBEdgeSizeEvaluator.cpp
   MOAB/trunk/refiner/MBSimplexTemplateRefiner.hpp
   MOAB/trunk/refiner/MBSimplexTemplateTagAssigner.cpp
Log:
ENH: SimplexTemplateRefiners now have an MBSimplexTemplateTagRefiner
ENH: minor doc edits


Modified: MOAB/trunk/refiner/MBEdgeSizeEvaluator.cpp
===================================================================
--- MOAB/trunk/refiner/MBEdgeSizeEvaluator.cpp	2007-12-28 20:50:42 UTC (rev 1498)
+++ MOAB/trunk/refiner/MBEdgeSizeEvaluator.cpp	2007-12-28 20:58:04 UTC (rev 1499)
@@ -31,7 +31,7 @@
   * given identical input values!
   *
   * A list of tags passed in \a t0, \a t1, and \a t2 is stored in the vertex_tags member.
-  * The vertexSize member stores the total length of data associated with each pointer (in bytes).
+  * The vertex_size member stores the total length of data associated with each pointer (in bytes).
   * Subclasses may access vertex_tags and vertexSize directly; the refiner uses public methods to
   * populate vertex_tags before evaluate_edge() is called.
   */

Modified: MOAB/trunk/refiner/MBSimplexTemplateRefiner.hpp
===================================================================
--- MOAB/trunk/refiner/MBSimplexTemplateRefiner.hpp	2007-12-28 20:50:42 UTC (rev 1498)
+++ MOAB/trunk/refiner/MBSimplexTemplateRefiner.hpp	2007-12-28 20:58:04 UTC (rev 1499)
@@ -30,6 +30,7 @@
 #define MB_SIMPLEXTEMPLATEREFINER_H
 
 #include "MBEntityRefiner.hpp"
+#include "MBSimplexTemplateTagAssigner.hpp"
 
 class MB_DLL_EXPORT MBSimplexTemplateRefiner : public MBEntityRefiner
 {
@@ -40,7 +41,11 @@
   virtual bool refine_entity( MBEntityHandle entity );
   virtual unsigned long get_heap_size_bound( int max_recursions ) const { return 48 * 4 * ( 1 << max_recursions ); }
 
+  virtual void set_tag_assigner( MBSimplexTemplateTagAssigner* ta ) { this->tag_assigner = ta; }
+  MBSimplexTemplateTagAssigner* get_tag_assigner( MBSimplexTemplateTagAssigner* ta ) const { return this->tag_assigner; }
+
 protected:
+  MBSimplexTemplateTagAssigner* tag_assigner;
   static int template_index[64][2];
   static int permutations_from_index[24][14];
   static int templates[];

Modified: MOAB/trunk/refiner/MBSimplexTemplateTagAssigner.cpp
===================================================================
--- MOAB/trunk/refiner/MBSimplexTemplateTagAssigner.cpp	2007-12-28 20:50:42 UTC (rev 1498)
+++ MOAB/trunk/refiner/MBSimplexTemplateTagAssigner.cpp	2007-12-28 20:58:04 UTC (rev 1499)
@@ -19,4 +19,3 @@
 void MBSimplexTemplateTagAssigner::operator()( const void* ta, const void* tb, const void* tc, void* tp )
 {
 }
-




More information about the moab-dev mailing list