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

pebay at mcs.anl.gov pebay at mcs.anl.gov
Fri Dec 28 14:50:43 CST 2007


Author: pebay
Date: 2007-12-28 14:50:42 -0600 (Fri, 28 Dec 2007)
New Revision: 1498

Added:
   MOAB/trunk/refiner/MBSimplexTemplateTagAssigner.cpp
   MOAB/trunk/refiner/MBSimplexTemplateTagAssigner.hpp
Modified:
   MOAB/trunk/refiner/CMakeLists.txt
   MOAB/trunk/refiner/MBMeshRefiner.hpp
   MOAB/trunk/refiner/MBSimplexTemplateRefiner.cpp
Log:
ENH: added a "tag assigner" class
ENH: various minor changes


Modified: MOAB/trunk/refiner/CMakeLists.txt
===================================================================
--- MOAB/trunk/refiner/CMakeLists.txt	2007-12-28 04:53:50 UTC (rev 1497)
+++ MOAB/trunk/refiner/CMakeLists.txt	2007-12-28 20:50:42 UTC (rev 1498)
@@ -4,6 +4,7 @@
   MBEntityRefiner.cpp
   MBMeshRefiner.cpp
   MBSimplexTemplateRefiner.cpp
+  MBSimplexTemplateTagAssigner.cpp
   )
 
 add_library( MOABrefiner

Modified: MOAB/trunk/refiner/MBMeshRefiner.hpp
===================================================================
--- MOAB/trunk/refiner/MBMeshRefiner.hpp	2007-12-28 04:53:50 UTC (rev 1497)
+++ MOAB/trunk/refiner/MBMeshRefiner.hpp	2007-12-28 20:50:42 UTC (rev 1498)
@@ -18,6 +18,7 @@
   * This is an class that contains the method used for mesh refinement.
   *
   * \author Philippe Pebay
+  * \author David Thompson
   *
   * \date 19 November 2007
   */

Modified: MOAB/trunk/refiner/MBSimplexTemplateRefiner.cpp
===================================================================
--- MOAB/trunk/refiner/MBSimplexTemplateRefiner.cpp	2007-12-28 04:53:50 UTC (rev 1497)
+++ MOAB/trunk/refiner/MBSimplexTemplateRefiner.cpp	2007-12-28 20:50:42 UTC (rev 1498)
@@ -1441,10 +1441,11 @@
 }
 
 void MBSimplexTemplateRefiner::evaluate_tags_at_facepoint( const double* c0, const void* t0,
-				   const double* c1, const void* t1,
-				   const double* c2, const void* t2,
-				   const double* cm, void* tm ) const
+                                                           const double* c1, const void* t1,
+                                                           const double* c2, const void* t2,
+                                                           const double* cm, void* tm ) const
 {
+
 }
 
 /*

Added: MOAB/trunk/refiner/MBSimplexTemplateTagAssigner.cpp
===================================================================
--- MOAB/trunk/refiner/MBSimplexTemplateTagAssigner.cpp	                        (rev 0)
+++ MOAB/trunk/refiner/MBSimplexTemplateTagAssigner.cpp	2007-12-28 20:50:42 UTC (rev 1498)
@@ -0,0 +1,22 @@
+#include "MBSimplexTemplateTagAssigner.hpp"
+
+#include "MBMeshRefiner.hpp"
+
+/// Construct a template tag assigner.
+MBSimplexTemplateTagAssigner::MBSimplexTemplateTagAssigner( MBMeshRefiner* )
+{
+}
+
+/// Empty destructor for good form.
+MBSimplexTemplateTagAssigner::~MBSimplexTemplateTagAssigner()
+{
+}
+
+void MBSimplexTemplateTagAssigner::operator()( const void* ta, const void* tb, void* tp )
+{
+}
+
+void MBSimplexTemplateTagAssigner::operator()( const void* ta, const void* tb, const void* tc, void* tp )
+{
+}
+

Added: MOAB/trunk/refiner/MBSimplexTemplateTagAssigner.hpp
===================================================================
--- MOAB/trunk/refiner/MBSimplexTemplateTagAssigner.hpp	                        (rev 0)
+++ MOAB/trunk/refiner/MBSimplexTemplateTagAssigner.hpp	2007-12-28 20:50:42 UTC (rev 1498)
@@ -0,0 +1,45 @@
+/**
+ * MOAB, a Mesh-Oriented datABase, is a software component for creating,
+ * storing and accessing finite element mesh data.
+ * 
+ * Copyright 2007 Sandia Corporation.  Under the terms of Contract
+ * DE-AC04-94AL85000 with Sandia Coroporation, the U.S. Government
+ * retains certain rights in this software.
+ * 
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ * 
+ */
+
+/** \class MBSimplexTemplateTagAssigner
+  *
+  * This is an class that embodies the process of assigning tag
+  * values to new vertices based on some pre-existing neighbors in a 
+  * simplicial mesh.
+  *
+  * \author David Thompson
+  * \author Philippe Pebay
+  *
+  * \date 28 December 2007
+  */
+#ifndef MB_SIMPLEXTEMPLATETAGASSIGNER_H
+#define MB_SIMPLEXTEMPLATETAGASSIGNER_H
+
+#include "MBMeshRefiner.hpp"
+
+class MB_DLL_EXPORT MBSimplexTemplateTagAssigner
+{
+public:
+  MBSimplexTemplateTagAssigner( MBMeshRefiner* );
+  virtual ~MBSimplexTemplateTagAssigner();
+
+  virtual void operator()( const void* ta, const void* tb, void* tp );
+  virtual void operator()( const void* ta, const void* tb, const void* tc, void* tp );
+
+protected:
+  MBMeshRefiner* mesh_refiner;
+};
+
+#endif // MB_SIMPLEXTEMPLATETAGASSIGNER_H




More information about the moab-dev mailing list