You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: Changelog.md
+3
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,9 @@
1
1
# Changelog
2
2
3
3
## Dev
4
+
- No Changes
5
+
6
+
## v0.5.0
4
7
- Using new GMSH interface in DOLFINx (`dolfinx.io.gmshio`) in all demos using GMSH
5
8
- Added a section on custom Newton-solvers, see [chapter4/newton-solver].
6
9
- Various minor DOLFINx API updates. `dolfinx.mesh.compute_boundary_facets` -> `dolfinx.mesh.exterior_facet_indices` with slightly different functionality. Use `dolfinx.mesh.MeshTagsMetaClass.find` instead of `mt.indices[mt.values==value]`.
Copy file name to clipboardexpand all lines: chapter3/neumann_dirichlet_code.ipynb
+2
Original file line number
Diff line number
Diff line change
@@ -11,9 +11,11 @@
11
11
"\n",
12
12
"Let's return to the Poisson problem from the [Fundamentals chapter](./../chapter1/fundamentals.md) and see how to extend the mathematics and the implementation to handle Dirichlet condition in combination with a Neumann condition.\n",
13
13
"The domain is still the unit square, but now we set the Dirichlet condition $u=u_D$ at the left and right sides, while the Neumann condition \n",
14
+
"\n",
14
15
"$$\n",
15
16
"-\\frac{\\partial u}{\\partial n}=g\n",
16
17
"$$\n",
18
+
"\n",
17
19
"is applied to the remaining sides $y=0$ and $y=1$.\n",
Copy file name to clipboardexpand all lines: chapter3/neumann_dirichlet_code.py
+2
Original file line number
Diff line number
Diff line change
@@ -19,9 +19,11 @@
19
19
#
20
20
# Let's return to the Poisson problem from the [Fundamentals chapter](./../chapter1/fundamentals.md) and see how to extend the mathematics and the implementation to handle Dirichlet condition in combination with a Neumann condition.
21
21
# The domain is still the unit square, but now we set the Dirichlet condition $u=u_D$ at the left and right sides, while the Neumann condition
22
+
#
22
23
# $$
23
24
# -\frac{\partial u}{\partial n}=g
24
25
# $$
26
+
#
25
27
# is applied to the remaining sides $y=0$ and $y=1$.
Copy file name to clipboardexpand all lines: fem.md
+10-5
Original file line number
Diff line number
Diff line change
@@ -27,18 +27,23 @@ As this book has been published as a Jupyter Book, we provide interactive notebo
27
27
## Obtaining the software
28
28
29
29
If you would like to work with DOLFINx outside of the binder-notebooks, you need to install the FEniCS software.
30
-
The recommended way of installing DOLFINx for new usesers is by using Docker.
30
+
The recommended way of installing DOLFINx for new users is by using Docker.
31
31
Docker is a software that uses *containers* to supply software across different kinds of operating systems (Linux, Mac, Windows). The first step is to install docker, following the instructions at their [webpage](https://docs.docker.com/get-started/).
32
32
33
33
All notebooks can be converted to python files using [nbconvert](https://nbconvert.readthedocs.io/en/latest/).
34
34
35
35
### Tutorial compatible docker images
36
-
The tutorial uses several dependencies for meshing, plotting and timings. A compatible `JupyterLab` image is available at [DockerHub/dokken92/dolfinx_custom:10082022](https://hub.docker.com/r/dokken92/dolfinx_custom/tags)
36
+
The tutorial uses several dependencies for meshing, plotting and timings. A compatible `JupyterLab` image is available at [DockerHub/dokken92/dolfinx_custom:v0.5.0](https://hub.docker.com/r/dokken92/dolfinx_custom/tags)
37
37
38
-
To use the notebookes in this tutorial with DOLFINx on your own computer, you should use the docker image using the following command
38
+
To use the notebooks in this tutorial with DOLFINx on your own computer, you should use the docker image using the following command
39
+
```bash
40
+
docker run --init -p 8888:8888 -v "$(pwd)":/root/shared dokken92/dolfinx_custom:v0.5.0
39
41
```
40
-
docker run --init -p 8888:8888 -v "$(pwd)":/root/shared dokken92/dolfinx_custom:10082022
42
+
This image can also be used as a normal docker container by adding:
43
+
```bash
44
+
docker run --ti -v "$(pwd)":/root/shared --entrypoint="/bin/bash" dokken92/dolfinx_custom:v0.5.0
41
45
```
46
+
42
47
The tutorials can also be exported as a notebook or PDF by clicking the -symbol in the top right corner of the relevant tutorialThe notebook can in turn be used with a Python kernel which has DOLFINx.
43
48
44
49
### Official images
@@ -47,7 +52,7 @@ The FEniCS project supplies pre-built docker images at [https://hub.docker.com/r
47
52
The [Dockerfile](https://github.com/FEniCS/dolfinx/blob/main/docker/Dockerfile)
48
53
provides a definitive build recipe. As the DOLFINx docker images are hosted at Docker-hub, one can directly access the image
49
54
```
50
-
docker run dolfinx/dolfinx
55
+
docker run dolfinx/dolfinx:v0.5.0
51
56
```
52
57
There are several ways of customizing a docker container, such as mounting volumes/sharing folder, setting a working directory, sharing graphical interfaces etc. See `docker run --help` for an extensive list.
0 commit comments