Skip to content

Commit f63ca63

Browse files
committed
Capture output in monolothic
1 parent 4e03823 commit f63ca63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

notebooks/rainier-monolithic.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@
408408
"\n",
409409
"sparams = {\n",
410410
" \"solver_parameters\": {\n",
411-
" \"snes_monitor\": None,\n",
411+
" \"snes_monitor\": \":rainier-output-monolothic.txt\",\n",
412412
" \"snes_type\": \"newtonls\",\n",
413413
" \"snes_max_it\": 200,\n",
414414
" \"snes_linesearch_type\": \"nleqerr\",\n",
@@ -653,7 +653,7 @@
653653
"axes.set_aspect(\"equal\")\n",
654654
"axes.set_xlim((0, 10e3))\n",
655655
"axes.set_ylim((0, 10e3))\n",
656-
"colors = firedrake.tripcolor(u, num_sample_points=1, shading=\"flat\", axes=axes)\n",
656+
"colors = firedrake.tripcolor(us[-1], num_sample_points=1, shading=\"flat\", axes=axes)\n",
657657
"firedrake.triplot(mesh, axes=axes)\n",
658658
"firedrake.tricontour(a, levels=[0, 1], colors=\"tab:orange\", axes=axes)\n",
659659
"fig.colorbar(colors);"

0 commit comments

Comments
 (0)