[Yt-svn] yt-commit r1504 - trunk/yt/lagos
mturk at wrangler.dreamhost.com
mturk at wrangler.dreamhost.com
Wed Oct 28 17:16:14 PDT 2009
Author: mturk
Date: Wed Oct 28 17:16:13 2009
New Revision: 1504
URL: http://yt.enzotools.org/changeset/1504
Log:
Made the float_type for EnzoStaticOutputInMemory be chosen more intelligently
Modified:
trunk/yt/lagos/HierarchyType.py
Modified: trunk/yt/lagos/HierarchyType.py
==============================================================================
--- trunk/yt/lagos/HierarchyType.py (original)
+++ trunk/yt/lagos/HierarchyType.py Wed Oct 28 17:16:13 2009
@@ -1000,7 +1000,7 @@
self.parameter_file = weakref.proxy(pf) # for _obtain_enzo
if data_style is None: data_style = self._data_style
enzo = self._obtain_enzo()
- self.float_type = 'float64'
+ self.float_type = enzo.hierarchy_information["GridLeftEdge"].dtype
self.data_style = data_style # Mandated
self.directory = os.getcwd()
self.num_grids = enzo.hierarchy_information["GridDimensions"].shape[0]
More information about the yt-svn
mailing list