@@ -28,16 +28,15 @@ Colab <https://fem-on-colab.github.io/index.html>`__ by `Francesco
28
28
Ballarin <https://www.francescoballarin.it> `__, you can run the notebooks on
29
29
Google Colab through your web browser, without installing Firedrake.
30
30
31
- We also provide links to non -interactive renderings of the notebooks using
32
- ` Jupyter nbviewer <https://nbviewer.jupyter.org >`__.
31
+ Non -interactive renderings of the notebooks can also be seen on ` GitHub
32
+ <https://github.com/firedrakeproject/firedrake/tree/release/docs/notebooks > `__.
33
33
34
34
35
35
A first example
36
36
===============
37
37
In this notebook, we solve the symmetric positive definite "Helmholtz"
38
38
equation, and learn about meshes and function spaces. A rendered
39
- version of this notebook is available `here
40
- <https://nbviewer.jupyter.org/github/firedrakeproject/firedrake/blob/release/docs/notebooks/01-spd-helmholtz.ipynb> `__
39
+ version of this notebook is available `here <https://github.com/firedrakeproject/firedrake/blob/release/docs/notebooks/01-spd-helmholtz.ipynb >`__
41
40
and there is a version `on Colab <https://colab.research.google.com/github/firedrakeproject/notebooks/blob/main/01-spd-helmholtz.ipynb >`__
42
41
43
42
@@ -47,7 +46,7 @@ Incorporating strong boundary conditions
47
46
Next, we modify the problem slightly and solve the Poisson equation.
48
47
We introduce strong (Dirichlet) boundary conditions and `how to use
49
48
them
50
- <https://nbviewer.jupyter.org/ github/firedrakeproject/firedrake/blob/release/docs/notebooks/02-poisson.ipynb> `__.
49
+ <https://github.com /firedrakeproject/firedrake/blob/release/docs/notebooks/02-poisson.ipynb> `__.
51
50
You can run this notebook yourself `on Colab <https://colab.research.google.com/github/firedrakeproject/notebooks/blob/main/02-poisson.ipynb >`__
52
51
53
52
@@ -58,7 +57,7 @@ Moving on from scalar problems, we look at our first vector-valued problem,
58
57
namely the equations of linear elasticity. In this notebook, we learn about
59
58
some of UFL's support for tensor algebra, and start looking at `configuring
60
59
linear solvers
61
- <https://nbviewer.jupyter.org/ github/firedrakeproject/firedrake/blob/release/docs/notebooks/03-elasticity.ipynb> `__.
60
+ <https://github.com /firedrakeproject/firedrake/blob/release/docs/notebooks/03-elasticity.ipynb> `__.
62
61
You can run this notebook yourself `on Colab
63
62
<https://colab.research.google.com/github/firedrakeproject/notebooks/blob/main/03-elasticity.ipynb> `__
64
63
@@ -70,7 +69,7 @@ This notebook looks at a simple nonlinear problem, the viscous
70
69
Burgers' equation, and also treats simple timestepping schemes. We
71
70
learn about formulating nonlinear, as opposed to linear problems, and
72
71
also a little bit about how to write `efficient Firedrake code
73
- <https://nbviewer.jupyter.org/ github/firedrakeproject/firedrake/blob/release/docs/notebooks/04-burgers.ipynb> `__.
72
+ <https://github.com /firedrakeproject/firedrake/blob/release/docs/notebooks/04-burgers.ipynb> `__.
74
73
You can run this notebook yourself `on Colab
75
74
<https://colab.research.google.com/github/firedrakeproject/notebooks/blob/main/04-burgers.ipynb> `__
76
75
@@ -79,7 +78,7 @@ A mixed formulation of the Poisson equation
79
78
===========================================
80
79
81
80
`In this notebook
82
- <https://nbviewer.jupyter.org/ github/firedrakeproject/firedrake/blob/release/docs/notebooks/05-mixed-poisson.ipynb> `__.,
81
+ <https://github.com /firedrakeproject/firedrake/blob/release/docs/notebooks/05-mixed-poisson.ipynb> `__.,
83
82
we look at our first mixed finite element problem. A dual formulation of the
84
83
Poisson equation. This equation also appears in the context of flow in porous
85
84
media, as Darcy flow. We introduce mixed function spaces and how to work with
@@ -95,7 +94,7 @@ PDE-constrained optimisation with `dolfin-adjoint <http://www.dolfin-adjoint.org
95
94
96
95
Now that we've learnt how to solve some PDEs, we might want to consider
97
96
optimisation subject to PDE constraints. `This notebook
98
- <https://nbviewer.jupyter.org/ github/firedrakeproject/firedrake/blob/release/docs/notebooks/06-pde-constrained-optimisation.ipynb> `__
97
+ <https://github.com /firedrakeproject/firedrake/blob/release/docs/notebooks/06-pde-constrained-optimisation.ipynb> `__
99
98
introduces the use of `dolfin-adjoint <http://www.dolfin-adjoint.org/ >`__ to
100
99
solve PDE constrained optimisation problems. We solve the Stokes equations and
101
100
minimise energy loss due to heat, controlling inflow/outflow in a pipe. You can
@@ -109,7 +108,7 @@ Geometric multigrid
109
108
The next notebook looks a little bit at the support Firedrake has for
110
109
geometric multigrid, and how you can configure complex multilevel
111
110
solvers purely using `PETSc options
112
- <https://nbviewer.jupyter.org/ github/firedrakeproject/firedrake/blob/release/docs/notebooks/07-geometric-multigrid.ipynb> `__.
111
+ <https://github.com /firedrakeproject/firedrake/blob/release/docs/notebooks/07-geometric-multigrid.ipynb> `__.
113
112
You can run this notebook yourself `on Colab
114
113
<https://colab.research.google.com/github/firedrakeproject/notebooks/blob/main/07-geometric-multigrid.ipynb> `__
115
114
@@ -121,7 +120,7 @@ We next dive a little deeper into the advanced ways in which Firedrake
121
120
and PETSc enable solvers and preconditioners to be composed in
122
121
arbitrarily complex ways to `create an optimal solution strategy for a
123
122
particular problem
124
- <https://nbviewer.jupyter.org/ github/firedrakeproject/firedrake/blob/release/docs/notebooks/08-composable-solvers.ipynb> `__.
123
+ <https://github.com /firedrakeproject/firedrake/blob/release/docs/notebooks/08-composable-solvers.ipynb> `__.
125
124
You can run this notebook yourself `on Colab
126
125
<https://colab.research.google.com/github/firedrakeproject/notebooks/blob/main/08-composable-solvers.ipynb> `__
127
126
@@ -132,7 +131,7 @@ Hybridisation
132
131
Building on the theme of composable solvers, we now explore
133
132
`Firedrake's capabilities in the area of static condensation and
134
133
hybridisation
135
- <https://nbviewer.jupyter.org/ github/firedrakeproject/firedrake/blob/release/docs/notebooks/09-hybridisation.ipynb> `__.
134
+ <https://github.com /firedrakeproject/firedrake/blob/release/docs/notebooks/09-hybridisation.ipynb> `__.
136
135
You can run this notebook yourself `on Colab
137
136
<https://colab.research.google.com/github/firedrakeproject/notebooks/blob/main/09-hybridisation.ipynb> `__
138
137
@@ -143,7 +142,7 @@ Sum Factorisation
143
142
In this notebook, we take a look under the hood at the sorts of performance
144
143
optimisation that Firedrake's compilers can generate. In this case, we focus on
145
144
`sum factorisation for tensor product elements
146
- <https://nbviewer.jupyter.org/ github/firedrakeproject/firedrake/blob/release/docs/notebooks/10-sum-factorisation.ipynb> `__.
145
+ <https://github.com /firedrakeproject/firedrake/blob/release/docs/notebooks/10-sum-factorisation.ipynb> `__.
147
146
You can run this notebook yourself `on Colab
148
147
<https://colab.research.google.com/github/firedrakeproject/notebooks/blob/main/10-sum-factorisation.ipynb> `__
149
148
@@ -154,7 +153,7 @@ Solving adjoint problems
154
153
In some cases, it can be useful to extract adjoint solution data which is
155
154
written to tape by `dolfin-adjoint `. This notebook shows how to do that:
156
155
`solving adjoint equations using firedrake-adjoint
157
- <https://nbviewer.jupyter.org/ github/firedrakeproject/firedrake/blob/release/docs/notebooks/11-extract-adjoint-solutions.ipynb> `__.
156
+ <https://github.com /firedrakeproject/firedrake/blob/release/docs/notebooks/11-extract-adjoint-solutions.ipynb> `__.
158
157
You can run this notebook yourself `on Colab
159
158
<https://colab.research.google.com/github/firedrakeproject/notebooks/blob/main/11-extract-adjoint-solutions.ipynb> `__
160
159
@@ -165,7 +164,7 @@ Running on HPC
165
164
When it comes to running Firedrake on a high performance computer
166
165
there are a range of different techniques to get the best performance
167
166
from your code. The `HPC demonstration
168
- <https://nbviewer.jupyter.org/ github/firedrakeproject/firedrake/blob/release/docs/notebooks/12-HPC_demo.ipynb> `__
167
+ <https://github.com /firedrakeproject/firedrake/blob/release/docs/notebooks/12-HPC_demo.ipynb> `__
169
168
notebook builds up a multigrid solver for an elliptic problem
170
169
specifically designed for solving very large problems using Firedrake on
171
170
HPC. You can run this notebook yourself `on Colab
0 commit comments