Skip to content

Commit c6a572c

Browse files
committed
remove debugging print statements
1 parent f933685 commit c6a572c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/steady-state.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ def f_model(u_model, x, y):
3232
forcing = - (a1 * pi) ** 2 * sin(a1 * pi * x) * sin(a2 * pi * y) - \
3333
(a2 * pi) ** 2 * sin(a1 * pi * x) * sin(a2 * pi * y) + \
3434
ksq * sin(a1 * pi * x) * sin(a2 * pi * y)
35-
print(np.shape(u_xx + u_yy))
3635

3736
f_u = u_xx + u_yy + ksq * u - forcing # = 0
3837

@@ -51,7 +50,7 @@ def f_model(u_model, x, y):
5150
model = CollocationSolverND()
5251
model.compile(layer_sizes, f_model, Domain, BCs)
5352

54-
model.fit(tf_iter=100, newton_iter=100)
53+
model.fit(tf_iter=10000, newton_iter=10000)
5554

5655
# get exact solution
5756
nx, ny = (1001, 1001)

0 commit comments

Comments
 (0)