Skip to content

Commit 191ccf4

Browse files
authored
Update AIMS schedule (#4216)
* Add tape.svg image * Add links to Devtio * Remove dead links
1 parent 25958a5 commit 191ccf4

File tree

4 files changed

+1761
-15
lines changed

4 files changed

+1761
-15
lines changed

demos/eigenvalues_QG_basinmodes/qgbasinmodes.py.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ We define the Test Function :math:`\phi` and the Trial Function
138138
To build the weak formulation of our equation we need to build two PETSc
139139
matrices in the form of a generalized eigenvalue problem,
140140
:math:`A\psi = \lambda M\psi`. This eigenproblem takes `restrict=True` to help
141-
users to avoid convergence failures by removing eigenvalues on the
141+
users to avoid convergence failures by removing eigenvalues on the
142142
boundary, while preserving the original function space for the eigenmodes. ::
143143

144144
eigenproblem = LinearEigenproblem(

docs/source/adjoint.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Consider now the function signatures of the symbols in :eq:`eq:djdm`. Here we ar
8181
only concerned with the arguments, as these determine the sizes of the
8282
resulting assembled tensors:
8383

84-
.. math::
84+
.. math::
8585
:label:
8686
8787
\frac{\mathrm{d}\hat{J}}{\mathrm{d}m}: M\rightarrow \mathbb{R}
@@ -102,16 +102,16 @@ Instead, we define:
102102

103103
.. math::
104104
:label: eq:adjoint
105-
105+
106106
\lambda^*(\in V\rightarrow\mathbb{R}) = -\frac{\partial J}{\partial u}\frac{\partial f}{\partial u}^{-1}.
107107
108108
We actually solve the adjoint to this equation. That is find `\lambda \in V`
109-
such that:
109+
such that:
110110

111111
.. math::
112112
:label:
113113
114-
\frac{\partial f}{\partial u}^{*}(u, m; \lambda, v) =
114+
\frac{\partial f}{\partial u}^{*}(u, m; \lambda, v) =
115115
-\frac{\partial J}{\partial u}(u, m; v) \qquad \forall v \in V.
116116
117117
Note that these terms include `u`, so it is first necessary to solve
@@ -144,8 +144,8 @@ How Firedrake and Pyadjoint automate derivative calculation
144144
-----------------------------------------------------------
145145

146146
Firedrake automates the process in the preceding section using the methodology
147-
first published in :cite:`Farrell2013` using the implementation in
148-
`Pyadjoint <https://pyadjoint.org>`__ :cite:`Mitusch2019`.
147+
first published in :cite:`Farrell2013` using the implementation in
148+
`Pyadjoint <https://pyadjoint.org>`__ :cite:`Mitusch2019`.
149149

150150
The essence of this process is:
151151

@@ -273,7 +273,7 @@ The sequence of recorded operations is stored on an object called the tape. The
273273
currently active tape can be accessed by calling
274274
:func:`~pyadjoint.get_working_tape`. The user usually has limited direct
275275
interaction with the tape, but there is some useful information which can be
276-
extracted.
276+
extracted.
277277

278278
Visualising the tape
279279
~~~~~~~~~~~~~~~~~~~~
@@ -289,11 +289,11 @@ are to be found on `the pygraphviz website
289289

290290
.. _fig-tape:
291291

292-
.. figure:: images/tape.pdf
292+
.. figure:: images/tape.svg
293293

294294
A visualisation of the Burgers equation example above shortened to a single
295295
timestep. Operations (blocks) recorded on the tape are shown as grey
296-
rectangles, while taped variables are shown as ovals.
296+
rectangles, while taped variables are shown as ovals.
297297

298298
The numbered blocks in the tape visualisation are as follows:
299299

@@ -423,4 +423,4 @@ themselves with this since annotated operations will return overloaded types.
423423
:filter: False
424424

425425
Farrell2013
426-
Mitusch2019
426+
Mitusch2019

docs/source/aims_25.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ reading is available on the links above.
2222

2323
.. list-table::
2424

25-
* -
25+
* -
2626
- **Tuesday**
2727
- **Wednesday**
2828
- **Thursday**
@@ -32,7 +32,7 @@ reading is available on the links above.
3232
- `Function spaces and inner products <https://wp.doc.ic.ac.uk/spo/wp-content/uploads/sites/31/2013/11/notes.pdf>`__
3333
- `The Ciarlet finite element <https://finite-element.github.io/L2_fespaces.html>`__
3434
- `Nonlinear problems <https://finite-element.github.io/8_nonlinear_problems.html>`__
35-
- Devito: inverse tomography
35+
- Devito: `sympy <https://colab.research.google.com/github/devitocodes/devito/blob/JDBetteridge%2Faims_25/examples/userapi/00_sympy.ipynb>`__, `Devito <https://colab.research.google.com/github/devitocodes/devito/blob/JDBetteridge%2Faims_25/examples/userapi/01_dsl.ipynb>`__, `Acoustic Wave equation <https://colab.research.google.com/github/devitocodes/devito/blob/JDBetteridge%2Faims_25/examples/seismic/tutorials/01_modelling.ipynb>`__
3636
- Software for adjoints: differentiable programming
3737
* - **Late AM**
3838
- `Our first finite element problem <https://finite-element.github.io/L1_introduction.html>`__
@@ -44,13 +44,13 @@ reading is available on the links above.
4444
- Firedrake practical 1: `Helmholtz Equation <https://colab.research.google.com/github/firedrakeproject/notebooks/blob/aims/01-spd-helmholtz.ipynb>`__
4545
- `Systems with more than one variable <https://finite-element.github.io/9_mixed_problems.html>`__
4646
- An introduction to solvers and preconditioners
47-
- Devito: inverse tomography
47+
- Devito: `Full Waveform Inversion <https://colab.research.google.com/github/devitocodes/devito/blob/JDBetteridge%2Faims_25/examples/seismic/tutorials/03_fwi.ipynb>`__
4848
- `Deep learning introduction <https://github.com/NBoulle/physics-driven-ml/raw/main/tutorials/intro_deep_learning.pdf>`__, `practical <https://colab.research.google.com/github/NBoulle/physics-driven-ml/blob/main/tutorials/Tutorial_1_ex.ipynb>`__
4949
* - **Late PM**
5050
- Firedrake practical 2: `Dirichlet boundary conditions <https://colab.research.google.com/github/firedrakeproject/notebooks/blob/aims/02-poisson.ipynb>`__
5151
- Firedrake practical 4: `mixed Poisson <https://colab.research.google.com/github/firedrakeproject/notebooks/blob/aims/05-mixed-poisson.ipynb>`__
5252
- Firedrake practical 6: `solvers <https://colab.research.google.com/github/firedrakeproject/notebooks/blob/aims/08-composable-solvers.ipynb>`__
53-
- Adjoint practical 1: `Burgers again <https://colab.research.google.com/github/firedrakeproject/notebooks/blob/aims/13_adjoint_calculations.ipynb#scrollTo=e7b5808f-f0ae-4e40-bcca-eff67f251fc9>`__
53+
- Adjoint practical 1: `Burgers again <https://colab.research.google.com/github/firedrakeproject/notebooks/blob/aims/13_adjoint_calculations.ipynb>`__
5454
- `Scientific machine learning <https://github.com/NBoulle/physics-driven-ml/raw/main/tutorials/sciml_intro.pdf>`__, `practical <https://colab.research.google.com/github/NBoulle/physics-driven-ml/blob/main/tutorials/Tutorial_2_ex.ipynb>`__
5555

5656

0 commit comments

Comments
 (0)