[MOAB-dev] r5715 - in MOAB/trunk/src/moab/point_locater: . element_maps

rhl6856 at mcs.anl.gov rhl6856 at mcs.anl.gov
Wed Aug 29 14:31:54 CDT 2012


Author: rhl6856
Date: 2012-08-29 14:31:54 -0500 (Wed, 29 Aug 2012)
New Revision: 5715

Modified:
   MOAB/trunk/src/moab/point_locater/element_maps/linear_hex_map.hpp
   MOAB/trunk/src/moab/point_locater/element_maps/linear_tet_map.hpp
   MOAB/trunk/src/moab/point_locater/element_maps/quadratic_hex_map.hpp
   MOAB/trunk/src/moab/point_locater/element_maps/spectral_hex_map.hpp
   MOAB/trunk/src/moab/point_locater/parametrizer.hpp
   MOAB/trunk/src/moab/point_locater/point_locater.hpp
Log:
add moab core to interface for element maps

Modified: MOAB/trunk/src/moab/point_locater/element_maps/linear_hex_map.hpp
===================================================================
--- MOAB/trunk/src/moab/point_locater/element_maps/linear_hex_map.hpp	2012-08-29 18:17:28 UTC (rev 5714)
+++ MOAB/trunk/src/moab/point_locater/element_maps/linear_hex_map.hpp	2012-08-29 19:31:54 UTC (rev 5715)
@@ -40,8 +40,10 @@
 
  public:
     //Natural coordinates
-    template< typename Entity_handle, typename Points, typename Point>
-    std::pair< bool, Point> operator()( const Entity_handle & h, 
+    template< typename Moab, typename Entity_handle, 
+	      typename Points, typename Point>
+    std::pair< bool, Point> operator()( const Moab & moab,
+					const Entity_handle & h, 
 					const Points & v, 
 					const Point & p, 
 					const double tol=1.e-6) const{

Modified: MOAB/trunk/src/moab/point_locater/element_maps/linear_tet_map.hpp
===================================================================
--- MOAB/trunk/src/moab/point_locater/element_maps/linear_tet_map.hpp	2012-08-29 18:17:28 UTC (rev 5714)
+++ MOAB/trunk/src/moab/point_locater/element_maps/linear_tet_map.hpp	2012-08-29 19:31:54 UTC (rev 5715)
@@ -16,8 +16,9 @@
     //Copy constructor
     Linear_tet_map( const Self & f ) : Tinv( f.Tinv), eh( f.eh){}
     //Natural coordinates
-    template< typename Points, typename Point>
-    std::pair< bool, Point> operator()( const Entity_handle eh, 
+    template< typename Moab, typename Points, typename Point>
+    std::pair< bool, Point> operator()( const Moab & moab,
+					const Entity_handle eh, 
 				        const Points & v, 
 					const Point & p, 
 					const double tol=1e-6) {

Modified: MOAB/trunk/src/moab/point_locater/element_maps/quadratic_hex_map.hpp
===================================================================
--- MOAB/trunk/src/moab/point_locater/element_maps/quadratic_hex_map.hpp	2012-08-29 18:17:28 UTC (rev 5714)
+++ MOAB/trunk/src/moab/point_locater/element_maps/quadratic_hex_map.hpp	2012-08-29 19:31:54 UTC (rev 5715)
@@ -51,8 +51,10 @@
 
  public:
     //Natural coordinates
-    template< typename Entity_handle, typename Points, typename Point>
-    std::pair< bool, Point> operator()( const Entity_handle & h, 
+    template< typename Moab, typename Entity_handle, 
+	      typename Points, typename Point>
+    std::pair< bool, Point> operator()( const Moab & moab,
+					const Entity_handle & h, 
 					const Points & v, 
 					const Point & p, 


More information about the moab-dev mailing list