[Yt-svn] yt-commit r817 - in trunk/yt/lagos: . hop
mturk at wrangler.dreamhost.com
mturk at wrangler.dreamhost.com
Mon Oct 6 10:13:38 PDT 2008
Author: mturk
Date: Mon Oct 6 10:13:37 2008
New Revision: 817
URL: http://yt.spacepope.org/changeset/817
Log:
Import order fix, and addition of a tab in the header for hop
Modified:
trunk/yt/lagos/__init__.py
trunk/yt/lagos/hop/HopOutput.py
Modified: trunk/yt/lagos/__init__.py
==============================================================================
--- trunk/yt/lagos/__init__.py (original)
+++ trunk/yt/lagos/__init__.py Mon Oct 6 10:13:37 2008
@@ -74,8 +74,8 @@
import PointCombine
import HDF5LightReader
from EnzoDefs import *
-from ParallelTools import *
from DerivedFields import *
+from ParallelTools import *
from DerivedQuantities import DerivedQuantityCollection, GridChildMaskWrapper
from DataReadingFuncs import *
from ClusterFiles import *
Modified: trunk/yt/lagos/hop/HopOutput.py
==============================================================================
--- trunk/yt/lagos/hop/HopOutput.py (original)
+++ trunk/yt/lagos/hop/HopOutput.py Mon Oct 6 10:13:37 2008
@@ -111,7 +111,6 @@
Write out standard HOP information to *filename*.
"""
f = open(filename,"w")
- f.write("# Center of mass does NOT account for periodicity!\n")
f.write("\t".join(["# Group","Mass","# part","max dens"
"x","y","z", "center-of-mass",
"x","y","z",
@@ -126,6 +125,7 @@
f.write("\t".join(["%0.9e" % v for v in group.center_of_mass()]))
f.write("\t")
f.write("\t".join(["%0.9e" % v for v in group.bulk_velocity()]))
+ f.write("\t")
f.write("%0.9e\t" % group.maximum_radius())
f.write("\n")
f.close()
More information about the yt-svn
mailing list