working on implementing the cubic interpolation. need to split that routine out of the run_baker method
This commit is contained in:
+1
-1
@@ -103,4 +103,4 @@ if __name__ == '__main__':
|
||||
errors.append(cur_error)
|
||||
|
||||
print rms(errors)
|
||||
print "%s of %s won" % (success, len(mesh_dest.points))
|
||||
print >>sys.stderr, "%s of %s won" % (success, len(mesh_dest.points))
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ exact = exact_func_3D(X)
|
||||
print "exact solution: %0.6f" % exact
|
||||
|
||||
phis = get_phis_3D(X, R.points)
|
||||
print "phi values (should all be positive): ", phis
|
||||
print "phi values (should all be positive): ", phis, sum(phis)
|
||||
if [i for i in phis if i < 0.0]:
|
||||
print "problems"
|
||||
sys.exit(1)
|
||||
|
||||
Reference in New Issue
Block a user