Skip to content

Commit adf0314

Browse files
authored
dolfinx.fem.Form changed to dolfinx.fem.form (#213)
* Update compiler_parameters.ipynb In the text it was mentioned that `dolfinx.fem.Form` was used to compile the form, instead of `dolfinx.fem.form`. Not matching the code cell. * jupytext sync * Form -> form in both py and ipynb and LinearProblem -> fem.petsc.LinearProblem
1 parent 1f872e5 commit adf0314

23 files changed

+24
-23
lines changed

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.16.1
9+
# jupytext_version: 1.16.4
1010
# kernelspec:
1111
# display_name: Python 3 (DOLFINx complex)
1212
# language: python

chapter1/fundamentals_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.16.1
9+
# jupytext_version: 1.16.4
1010
# kernelspec:
1111
# display_name: Python 3 (ipykernel)
1212
# language: python

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.16.1
9+
# jupytext_version: 1.16.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.16.1
9+
# jupytext_version: 1.16.4
1010
# kernelspec:
1111
# display_name: Python 3 (ipykernel)
1212
# language: python

chapter2/diffusion_code.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"outputs": [],
2525
"source": [
2626
"import matplotlib as mpl\n",
27+
"import matplotlib.pyplot as plt\n",
2728
"import pyvista\n",
2829
"import ufl\n",
2930
"import numpy as np\n",

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.16.1
9+
# jupytext_version: 1.16.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.16.1
9+
# jupytext_version: 1.16.4
1010
# kernelspec:
1111
# display_name: Python 3 (ipykernel)
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.16.1
9+
# jupytext_version: 1.16.4
1010
# kernelspec:
1111
# display_name: Python 3 (ipykernel)
1212
# language: python

chapter2/linearelasticity_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.16.1
9+
# jupytext_version: 1.16.4
1010
# kernelspec:
1111
# display_name: Python 3 (ipykernel)
1212
# language: python

chapter2/nonlinpoisson_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.16.1
9+
# jupytext_version: 1.16.4
1010
# kernelspec:
1111
# display_name: Python 3 (ipykernel)
1212
# language: python

0 commit comments

Comments
 (0)