don't implicitly set q in DD.rect_grid

This commit is contained in:
Stephen McQuay 2011-05-19 15:44:21 -06:00
parent 8a56078f65
commit fef4f8b71f
1 changed files with 1 additions and 2 deletions

View File

@ -17,13 +17,12 @@ class rect_grid(basegrid):
verts = []
q = []
q = np.zeros( xres * yres )
for x in xrange(xres):
cur_x = xmin + (x * xdel)
for y in xrange(yres):
cur_y = ymin + (y * ydel)
verts.append([cur_x, cur_y])
q.append(exact_func((cur_x, cur_y)))
basegrid.__init__(self, verts, q)