[Yt-svn] yt: Adding add_quantity and quantity_info to mods

hg at spacepope.org hg at spacepope.org
Mon Dec 6 14:54:07 PST 2010


hg Repository: yt
details:   yt/rev/672c309bd892
changeset: 3577:672c309bd892
user:      Matthew Turk <matthewturk at gmail.com>
date:
Mon Dec 06 14:54:04 2010 -0800
description:
Adding add_quantity and quantity_info to mods

diffstat:

 yt/mods.py |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r e73a9ef6407e -r 672c309bd892 yt/mods.py
--- a/yt/mods.py	Mon Dec 06 13:50:03 2010 -0800
+++ b/yt/mods.py	Mon Dec 06 14:54:04 2010 -0800
@@ -47,6 +47,9 @@
     ValidateParameter, ValidateDataField, ValidateProperty, \
     ValidateSpatial, ValidateGridType
 
+from yt.data_objects.derived_quantities import \
+    add_quantity, quantity_info
+
 from yt.frontends.enzo.api import \
     EnzoStaticOutput, EnzoStaticOutputInMemory, EnzoFieldInfo, \
     add_enzo_field, add_enzo_1d_field, add_enzo_2d_field



More information about the yt-svn mailing list