[yt-svn] commit/yt: MatthewTurk: Expanding the number of cells visible, for Blue Waters.
Bitbucket
commits-noreply at bitbucket.org
Wed Jun 6 07:46:02 PDT 2012
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/changeset/72eca81466a4/
changeset: 72eca81466a4
branch: yt
user: MatthewTurk
date: 2012-06-06 16:44:41
summary: Expanding the number of cells visible, for Blue Waters.
affected #: 1 file
diff -r 8eb893f367cb88ce0bc679e43e987b16e4275786 -r 72eca81466a4ac2e28332fc34ef9d970758f2df4 yt/data_objects/hierarchy.py
--- a/yt/data_objects/hierarchy.py
+++ b/yt/data_objects/hierarchy.py
@@ -381,18 +381,18 @@
"""
Prints out (stdout) relevant information about the simulation
"""
- header = "%3s\t%6s\t%11s" % ("level","# grids", "# cells")
+ header = "%3s\t%6s\t%14s" % ("level","# grids", "# cells")
print header
print "%s" % (len(header.expandtabs())*"-")
for level in xrange(MAXLEVEL):
if (self.level_stats['numgrids'][level]) == 0:
break
- print "% 3i\t% 6i\t% 11i" % \
+ print "% 3i\t% 6i\t% 14i" % \
(level, self.level_stats['numgrids'][level],
self.level_stats['numcells'][level])
dx = self.select_grids(level)[0].dds[0]
print "-" * 28
- print " \t% 6i\t% 11i" % (self.level_stats['numgrids'].sum(), self.level_stats['numcells'].sum())
+ print " \t% 6i\t% 14i" % (self.level_stats['numgrids'].sum(), self.level_stats['numcells'].sum())
print "\n"
try:
print "z = %0.8f" % (self["CosmologyCurrentRedshift"])
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list