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:
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user