[Yt-svn] yt-commit r979 - trunk/yt/lagos

mturk at wrangler.dreamhost.com mturk at wrangler.dreamhost.com
Thu Dec 4 11:28:41 PST 2008


Author: mturk
Date: Thu Dec  4 11:28:40 2008
New Revision: 979
URL: http://yt.spacepope.org/changeset/979

Log:
Fixed the add_field function, which got set to adding an Orion field by
default.



Modified:
   trunk/yt/lagos/__init__.py

Modified: trunk/yt/lagos/__init__.py
==============================================================================
--- trunk/yt/lagos/__init__.py	(original)
+++ trunk/yt/lagos/__init__.py	Thu Dec  4 11:28:40 2008
@@ -88,6 +88,10 @@
 from OrionFields import *
 fieldInfo = EnzoFieldInfo
 
+# NOT the same as fieldInfo.add_field
+# We by-default add universal fields.
+add_field = FieldInfo.add_field
+
 from DerivedQuantities import DerivedQuantityCollection, GridChildMaskWrapper
 from DataReadingFuncs import *
 from ClusterFiles import *



More information about the yt-svn mailing list