Skip to content

Commit 72a263a

Browse files
committed
Bump to 0.11. Update jupytext version. Sync notebook with .py file
1 parent 8cde85a commit 72a263a

27 files changed

Lines changed: 31 additions & 30 deletions

chapter1/complex_mode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# extension: .py
77
# format_name: light
88
# format_version: '1.5'
9-
# jupytext_version: 1.18.1
9+
# jupytext_version: 1.19.4
1010
# kernelspec:
1111
# display_name: Python 3 (DOLFINx complex)
1212
# language: python

chapter1/fundamentals_code.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# extension: .py
77
# format_name: light
88
# format_version: '1.5'
9-
# jupytext_version: 1.19.1
9+
# jupytext_version: 1.19.4
1010
# kernelspec:
1111
# display_name: Python 3 (ipykernel)
1212
# language: python
@@ -114,11 +114,11 @@
114114
# Once the mesh has been created, we can create the finite element function space $V$.
115115
# The finite element function space does not need to be the same as the one used to describe the mesh.
116116
# DOLFINx supports a wide range of arbitrary order finite element function spaces, see:
117-
# [Supported elements in DOLFINx](https://defelement.org/lists/implementations/basix.ufl.html)
117+
# [Supported elements in DOLFINx](https://defelement.org/lists/implementations/basix_ufl.html)
118118
# for an extensive list.
119119
# To create a function space, we need to specify what mesh the space is defined on,
120-
# what element famil the space is based on, and the degree of the element.
121-
# These can for instance be defned through a tuple `("family", degree)`, as shown below
120+
# what element family the space is based on, and the degree of the element.
121+
# These can for instance be defined through a tuple `("family", degree)`, as shown below
122122

123123
# +
124124
from dolfinx import fem

chapter1/membrane_code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# extension: .py
77
# format_name: light
88
# format_version: '1.5'
9-
# jupytext_version: 1.18.1
9+
# jupytext_version: 1.19.4
1010
# kernelspec:
1111
# display_name: Python 3 (ipykernel)
1212
# language: python

chapter1/nitsche.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# extension: .py
77
# format_name: light
88
# format_version: '1.5'
9-
# jupytext_version: 1.18.1
9+
# jupytext_version: 1.19.4
1010
# kernelspec:
1111
# display_name: Python 3 (ipykernel)
1212
# language: python

chapter2/amr.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@
191191
},
192192
"outputs": [],
193193
"source": [
194+
"plotter = pyvista.Plotter()\n",
194195
"curved_grid = pyvista.UnstructuredGrid(*dolfinx.plot.vtk_mesh(curved_mesh))\n",
195196
"curved_grid.cell_data[\"ct\"] = ct.values\n",
196197
"plotter.add_mesh(\n",

chapter2/amr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# extension: .py
88
# format_name: light
99
# format_version: '1.5'
10-
# jupytext_version: 1.18.1
10+
# jupytext_version: 1.19.4
1111
# ---
1212

1313
# # Adaptive mesh refinement with NetGen and DOLFINx

chapter2/diffusion_code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# extension: .py
77
# format_name: light
88
# format_version: '1.5'
9-
# jupytext_version: 1.18.1
9+
# jupytext_version: 1.19.4
1010
# kernelspec:
1111
# display_name: Python 3 (ipykernel)
1212
# language: python

chapter2/heat_code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# extension: .py
77
# format_name: light
88
# format_version: '1.5'
9-
# jupytext_version: 1.18.1
9+
# jupytext_version: 1.19.4
1010
# kernelspec:
1111
# display_name: Python 3 (ipykernel)
1212
# language: python

chapter2/helmholtz_code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# extension: .py
77
# format_name: light
88
# format_version: '1.5'
9-
# jupytext_version: 1.18.1
9+
# jupytext_version: 1.19.4
1010
# kernelspec:
1111
# display_name: Python 3 (DOLFINx complex)
1212
# language: python

chapter2/hyperelasticity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# extension: .py
77
# format_name: light
88
# format_version: '1.5'
9-
# jupytext_version: 1.18.1
9+
# jupytext_version: 1.19.4
1010
# kernelspec:
1111
# display_name: Python 3 (ipykernel)
1212
# language: python

0 commit comments

Comments
 (0)