added one more 2D gmsh test case
This commit is contained in:
parent
37f056e49b
commit
456ecf759f
@ -13,7 +13,7 @@ if __name__ == '__main__':
|
||||
sys.exit(1)
|
||||
|
||||
g = gmsh_grid(sys.argv[1])
|
||||
g.dump_to_blender_files()
|
||||
# g.dump_to_blender_files()
|
||||
|
||||
X = np.array([0.2, 0.5, 0.0])
|
||||
R = g.get_containing_simplex(X)
|
||||
@ -57,3 +57,9 @@ if __name__ == '__main__':
|
||||
e = exact_func(X)
|
||||
print e
|
||||
print improved_answer(a, e)
|
||||
|
||||
a = g.run_baker(X, order=3, extra_points = 10)
|
||||
print a
|
||||
e = exact_func(X)
|
||||
print e
|
||||
print improved_answer(a, e)
|
||||
|
Loading…
Reference in New Issue
Block a user