Tests octree order

This commit is contained in:
Rowan Cockett
2015-11-10 17:11:08 -08:00
parent da7fbbb461
commit f6c5b011e8
4 changed files with 299 additions and 37 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ class OrderTest(unittest.TestCase):
def function(xc):
r = xc - np.array([0.5]*len(xc))
dist = np.sqrt(r.dot(r))
if dist < 0.3:
if dist < 0.2:
return levels
return levels-1
self.M.refine(function,balance=False)