working on implementing the cubic interpolation. need to split that routine out of the run_baker method

This commit is contained in:
Stephen Mardson McQuay
2010-03-19 21:27:51 -06:00
parent f089848a1b
commit bd8f24d64f
4 changed files with 19 additions and 18 deletions
+1 -1
View File
@@ -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
View File
@@ -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)