diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-04-11 09:10:40 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-04-11 09:10:40 +0200 |
commit | 1cd78a50c54d1631e1d450299ce3354deb96c881 (patch) | |
tree | 332603cda93c3d39b2e42bcc3a570f5a4a1b70bf | |
parent | ed27046a1eeddcd064b51cf69546b9189b5d7f86 (diff) |
RefinementLevel: remove outdated/broken __str__()
-rw-r--r-- | cactus_utils.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/cactus_utils.py b/cactus_utils.py index 14fc40c..a68767c 100644 --- a/cactus_utils.py +++ b/cactus_utils.py @@ -1105,13 +1105,6 @@ class RefinementLevel: def slice(self, iteration = -1, time = -1): return RefinedSlice(self._sd, self, time, iteration) - def __str__(self): - return 'Refinement level %d; extent [%g, %g, %g] -- [%g, %g, %g] ([%g, %g, %g] -- [%g, %g, %g]); dx = [%g, %g, %g]; dt = %g' % \ - (self.n, self.x[self.ghosts[0]], self.y[self.ghosts[1]], self.z[self.ghosts[2]], - self.x[-self.ghosts[0] - 1], self.y[-self.ghosts[1] - 1], self.z[-self.ghosts[2] - 1], - self.x[0], self.y[0], self.z[0], self.x[-1], self.y[-1], self.z[-1], - self.dx[0], self.dx[1], self.dx[2], self.dt) - class GridFunction: """ |