test fix for changed interp.grid.grid symantics

This commit is contained in:
Stephen M. McQuay 2011-09-18 00:17:06 -06:00
parent 5ee12b1f57
commit e50e12dcbe

View File

@ -50,7 +50,10 @@ class Test(unittest.TestCase):
self.q = [exact_func(v) for v in self.verts]
self.g = grid(self.verts, self.q)
self.g = grid()
self.g.verts = self.verts
self.g.q = self.q
self.R, self.R_q = (self.verts[:3], self.q[:3])
self.S, self.S_q = (self.verts[3:], self.q[3:])
@ -73,8 +76,6 @@ class Test(unittest.TestCase):
self.X = [4, 5]
self.g = grid(self.verts, self.q)
self.phis, self.qlin = baker.qlinear(self.X, self.R, self.q)
self.exact = exact_func(self.X)
self.answer = baker.interpolate(self.X, self.R,