minor: added point to facet information to the grid object

I really think that I need to create my own point object, and hang the facet information directly off of that. right now there are simply parallel arrays for q, numpy.array(x,y), and {point_index: [adjacent faces]} ...

work to be done!
This commit is contained in:
Stephen Mardson McQuay
2010-02-10 00:20:06 -07:00
parent 9064663600
commit 9ff48f4c12
2 changed files with 40 additions and 27 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ if __name__ == '__main__':
continue
exact = exact_func(X[0], X[1])
if np.abs(exact - answer['final']) < np.abs(exact - answer['qlin']):
if np.abs(exact - answer['final']) <= np.abs(exact - answer['qlin']):
success += 1
if options.verbose: