Skip to content

Commit 14ea6d7

Browse files
committed
Merge branch 'main' into pbrubeck/trace
2 parents 6f28776 + 49f19c3 commit 14ea6d7

55 files changed

Lines changed: 5344 additions & 124050 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/actions/install/action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,9 @@ runs:
124124
python3 -m venv venv
125125
. venv/bin/activate
126126
127+
echo 'Cython!=3.2.6' > constraints.txt
128+
export PIP_CONSTRAINT=constraints.txt
129+
127130
: # Empty the pip cache to ensure that everything is compiled from scratch
128131
pip cache purge
129132

.github/workflows/core.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,8 @@ jobs:
536536
- name: Install system dependencies
537537
run: |
538538
apt-get update
539-
apt-get -y install inkscape texlive-full
539+
# pandoc is required by nbsphinx to render the tutorial notebooks
540+
apt-get -y install inkscape texlive-full pandoc
540541
541542
- uses: actions/checkout@v5
542543
with:
@@ -577,7 +578,7 @@ jobs:
577578
with:
578579
name: github-pages
579580
path: firedrake-repo/docs/build/html
580-
retention-days: 1
581+
retention-days: 5
581582

582583
# Some files are automatically generated when we install or build the
583584
# docs (e.g. AUTHORS.rst). These files are committed to the repository

.github/workflows/push.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
python-version: '3.13'
4141

4242
- name: Install dependencies
43-
run: pip install nbformat
43+
run: pip install nbformat jupytext
4444

4545
- name: Checkout Firedrake
4646
uses: actions/checkout@v5
@@ -55,8 +55,15 @@ jobs:
5555
path: notebooks
5656
token: ${{ secrets.NOTEBOOKS_REPO_TOKEN }}
5757

58+
- name: Convert notebooks to .ipynb
59+
run: jupytext --to ipynb firedrake/docs/notebooks/*.py
60+
5861
- name: Copy notebooks
59-
run: cp -r firedrake/docs/notebooks/* notebooks/
62+
# Ship the generated notebooks and all their data files, but not the
63+
# jupytext .py sources or config.
64+
run: |
65+
rsync -a --exclude='*.py' --exclude='jupytext.toml' \
66+
firedrake/docs/notebooks/ notebooks/
6067
6168
- name: Prepare notebooks for Colab
6269
working-directory: notebooks

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ __pycache__/
2727
/docs/source/teamgrid.rst
2828
/docs/source/teaminactive.rst
2929
/docs/source/demos
30+
/docs/source/notebooks
3031
/firedrake/cython/*.c
3132
/firedrake.egg-info
3233
/firedrake/_check/Makefile

AGENTS.md

Lines changed: 369 additions & 0 deletions
Large diffs are not rendered by default.

demos/demo_references.bib

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,79 @@
1+
@Article{Farrell:2019,
2+
author = {Farrell, Patrick E. and Mitchell, Lawrence and Wechsung, Florian},
3+
title = {{An augmented Lagrangian preconditioner for the 3D stationary incompressible Navier--Stokes equations at High Reynolds Number}},
4+
journal = {SIAM Journal on Scientific Computing},
5+
year = {2019},
6+
volume = {41},
7+
number = {5},
8+
pages = {A3073--A3096},
9+
doi = {10.1137/18M1219370},
10+
}
11+
12+
@book{Fortin:1983,
13+
author = {Fortin, Michel and Glowinski, Roland},
14+
title = {{Augmented Lagrangian Methods: Applications to the Numerical Solution of Boundary-Value Problems}},
15+
publisher = {North-Holland},
16+
year = {1983},
17+
}
18+
19+
@phdthesis{Schoberl:1999,
20+
author = {Sch\"{o}berl, Joachim},
21+
title = {{Robust multigrid methods for parameter dependent problems}},
22+
school = {Johannes Kepler Universit\"{a}t Linz},
23+
year = {1999},
24+
}
25+
26+
@Article{Silvester:1994,
27+
author = {Silvester, David and Wathen, Andrew J.},
28+
title = {{Fast iterative solution of stabilised {S}tokes systems. {Part II}: {U}sing general block preconditioners}},
29+
journal = {SIAM Journal on Numerical Analysis},
30+
year = {1994},
31+
volume = {31},
32+
number = {5},
33+
pages = {1352--1367},
34+
doi = {10.1137/0731070},
35+
}
36+
37+
@Article{Farrell:2021b,
38+
author = {Farrell, Patrick E. and Mitchell, Lawrence and Scott, L. Ridgway and Wechsung, Florian},
39+
title = {{A Reynolds-robust preconditioner for the Scott--Vogelius discretization of the stationary incompressible Navier--Stokes equations}},
40+
journal = {SMAI Journal of Computational Mathematics},
41+
year = {2021},
42+
volume = {7},
43+
pages = {75--96},
44+
doi = {10.5802/smai-jcm.72},
45+
}
46+
47+
@Article{Farrell:2021,
48+
author = {Farrell, Patrick E. and Mitchell, Lawrence and Scott, L. Ridgway and Wechsung, Florian},
49+
title = {{Robust multigrid for nearly incompressible elasticity using macro elements}},
50+
journal = {IMA Journal on Numerical Analysis},
51+
year = {2021},
52+
doi = {10.1093/imanum/drab083},
53+
}
54+
55+
@Article{Benzi:2006,
56+
author = {Benzi, Michele and Olshanskii, Maxim A.},
57+
title = {{An augmented {L}agrangian-based approach to the {O}seen problem}},
58+
journal = {{SIAM} Journal on Scientific Computing},
59+
year = {2006},
60+
volume = {28},
61+
number = {6},
62+
pages = {2095--2113},
63+
doi = {10.1137/050646421},
64+
}
65+
66+
@Article{Hong:2015,
67+
author = {Hong, Qingguo and Kraus, Johannes and Xu, Jinchao and Zikatanov, Ludmil},
68+
title = {{A robust multigrid method for discontinuous {G}alerkin discretizations of {S}tokes and linear elasticity equations}},
69+
journal = {Numerische Mathematik},
70+
year = {2015},
71+
volume = {132},
72+
number = {1},
73+
pages = {23--49},
74+
doi = {10.1007/s00211-015-0712-y},
75+
}
76+
177
@Article{Egger:2018,
278
author = {Egger, Herbert and Fellner, Klemens and Pietschmann, Jan-Frederik and Tang, Bao Quoc},
379
title = {{Analysis and numerical solution of coupled volume-surface reaction-diffusion systems with application to cell biology}},
@@ -416,3 +492,26 @@ @article{brune2015composing
416492
publisher={SIAM},
417493
doi={10.1137/130936725}
418494
}
495+
496+
@article{Mardal:2002,
497+
doi = {10.1137/s0036142901383910},
498+
year = 2002,
499+
volume = {40},
500+
number = {5},
501+
pages = {1605--1631},
502+
author = {Kent-Andre Mardal and Xue-Cheng Tai and Ragnar Winther},
503+
title = {A robust finite element method for {Darcy--Stokes} flow},
504+
journal = {{SIAM} Journal on Numerical Analysis}
505+
}
506+
507+
@article{John:2017,
508+
doi = {10.1137/15m1047696},
509+
year = 2017,
510+
volume = {59},
511+
number = {3},
512+
pages = {492--544},
513+
author = {Volker John and Alexander Linke and Christian Merdon and Michael Neilan and Leo G. Rebholz},
514+
title = {On the divergence constraint in mixed finite element methods for incompressible flows},
515+
journal = {{SIAM} Review}
516+
}
517+

0 commit comments

Comments
 (0)