[Yt-svn] yt-commit r1488 - in trunk/yt: lagos raven

mturk at wrangler.dreamhost.com mturk at wrangler.dreamhost.com
Mon Oct 19 18:36:13 PDT 2009


Author: mturk
Date: Mon Oct 19 18:36:11 2009
New Revision: 1488
URL: http://yt.enzotools.org/changeset/1488

Log:
Removed old VTKInterface.py and removed the (experimental, never worked)
references to the CUDA version of PointsInVolume.



Removed:
   trunk/yt/raven/VTKInterface.py
Modified:
   trunk/yt/lagos/BaseDataTypes.py

Modified: trunk/yt/lagos/BaseDataTypes.py
==============================================================================
--- trunk/yt/lagos/BaseDataTypes.py	(original)
+++ trunk/yt/lagos/BaseDataTypes.py	Mon Oct 19 18:36:11 2009
@@ -1029,12 +1029,6 @@
                       na.outer(_co[1,:,:], self._y_vec)
         self._pixelmask = na.ones(self.dims*self.dims, dtype='int8')
 
-        try:
-            import IIIPointsInVolumeCUDA as pvc
-            self._pv = pvc.VolumeFinder(self._coord, self.dims)
-        except (ImportError, NoCUDAException):
-            self._pv = None
-
         if node_name is False:
             self._refresh_data()
         else:
@@ -1172,12 +1166,9 @@
 
     def _get_point_indices(self, grid):
         if self._pixelmask.max() == 0: return []
-        if self._pv is not None:
-            k = self._pv(grid)
-        else:
-            k = PV.PointsInVolume(self._coord, self._pixelmask,
-                                  grid.LeftEdge, grid.RightEdge,
-                                  grid.child_mask, just_one(grid['dx']))
+        k = PV.PointsInVolume(self._coord, self._pixelmask,
+                              grid.LeftEdge, grid.RightEdge,
+                              grid.child_mask, just_one(grid['dx']))
         return k
 
     def _gen_node_name(self):



More information about the yt-svn mailing list