Skip to content

Commit

Permalink
Merge branch 'v2.11_release' of https://github.com/underworldcode/und…
Browse files Browse the repository at this point in the history
…erworld2 into v2.11_release
  • Loading branch information
julesghub committed Jul 26, 2021
2 parents cbc9a26 + 3275d8e commit 6ae368a
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 41 deletions.
52 changes: 29 additions & 23 deletions docs/examples/04_StokesSinker.ipynb

Large diffs are not rendered by default.

30 changes: 18 additions & 12 deletions docs/examples/06_SlabSubduction.ipynb

Large diffs are not rendered by default.

16 changes: 10 additions & 6 deletions docs/user_guide/08_StokesSolver.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -247,11 +247,15 @@
}
],
"source": [
"solver.set_inner_method(\"mumps\")\n",
"solver.options.scr.ksp_type=\"cg\"\n",
"solver.set_penalty(1.0e7)\n",
"solver.solve()\n",
"solver.print_stats()"
"try:\n",
" solver.set_inner_method(\"mumps\")\n",
" solver.options.scr.ksp_type=\"cg\"\n",
" solver.set_penalty(1.0e7)\n",
" solver.solve()\n",
" solver.print_stats()\n",
"except RuntimeError:\n",
" # If the above fails, \"mumps\" probably isn't installed\n",
" pass"
]
},
{
Expand Down Expand Up @@ -317,7 +321,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.3"
"version": "3.8.10"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 6ae368a

Please sign in to comment.