Skip to content

Commit 762574e

Browse files
committed
fixed?
1 parent 06a92d1 commit 762574e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

projects/parallelSDC/preconditioner_playground.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def main():
4141
setup_list = [('heat', 63, [10.0 ** i for i in range(-3, 3)]),
4242
('advection', 64, [10.0 ** i for i in range(-3, 3)]),
4343
('vanderpol', 2, [0.1 * 2 ** i for i in range(0, 10)]),
44-
('fisher', 63, [2 ** i for i in range(-2, 4)])]
44+
('fisher', 63, [2 ** i for i in range(-2, 3)])]
4545
# setup_list = [('fisher', 63, [2 * i for i in range(1, 6)])]
4646

4747
# pre-fill results with lists of setups
@@ -117,7 +117,7 @@ def main():
117117
problem_params['nu'] = 1
118118
problem_params['lambda0'] = param
119119
problem_params['newton_maxiter'] = 20
120-
problem_params['newton_tol'] = 1E-09
120+
problem_params['newton_tol'] = 1E-10
121121
problem_params['interval'] = (-5, 5)
122122

123123
level_params['dt'] = 0.01
@@ -152,7 +152,7 @@ def main():
152152
id = ID(setup=setup, qd_type=qd_type, param=param)
153153
results[id] = niter
154154

155-
assert len(results) == (6 + 6 + 10 + 6) * 5 + 4, 'ERROR: did not get all results, got %s' % len(results)
155+
assert len(results) == (6 + 6 + 10 + 5) * 5 + 4, 'ERROR: did not get all results, got %s' % len(results)
156156

157157
# write out for later visualization
158158
file = open('data/parallelSDC_iterations_precond.pkl', 'wb')

0 commit comments

Comments
 (0)