Skip to content

Commit afece59

Browse files
authored
Update version to 0.4.0 (#75)
* Update version to 0.4.0 * Update underlying docker images
1 parent d6e5260 commit afece59

24 files changed

+325
-304
lines changed

.github/workflows/build-publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
build:
2121
# The type of runner that the job will run on
2222
runs-on: ubuntu-latest
23-
container: dokken92/dolfinx_custom:17032022
23+
container: dokken92/dolfinx_custom:02052022
2424

2525
env:
2626
HDF5_MPI: "ON"

.github/workflows/docker-image.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ jobs:
3737
run: echo ${{ secrets.DOCKERHUB_TOKEN }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
3838
- name: Push to the DockerHub registry
3939
run: |
40-
docker push dokken92/dolfinx_custom:17032022
40+
docker push dokken92/dolfinx_custom:02052022

Changelog.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Changelog
22

3-
## Dev
3+
## Dev
4+
- No changes
5+
6+
## 0.4.0 (05.02.2021)
47
- All `pyvista` plotting has been rewritten to use `ipygany` and `pythreejs` as well as using a cleaner interface.
58
- `dolfinx.plot.create_vtk_topology` has been renamed to `dolfinx.plot.create_vtk_mesh` and can now be directly used as input to `pyvista.UnstructuredGrid`.
69
- `dolfinx.fem.Function.compute_point_values` has been deprecated. Interpolation into a CG-1 is now the way of getting vertex values.

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM dokken92/dolfinx_custom:17032022
1+
FROM dokken92/dolfinx_custom:02052022
22

33
# create user with a home directory
44
ARG NB_USER

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ and run
3131
```bash
3232
docker run --rm -ti -v $(pwd):/root/shared -w /root/shared --init -p 8888:8888 local_lab_env
3333
```
34-
from the main directory
34+
from the main directory.

chapter1/fundamentals_code.ipynb

+8-8
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
"We now have the boundary data (and in this case the solution of \n",
143143
"the finite element problem) represented in the discrete function space.\n",
144144
"Next we would like to apply the boundary values to all degrees of freedom that are on the boundary of the discrete domain. We start by identifying the facets (line-segments) representing the outer boundary, using `dolfinx.mesh.compute_boundary_facets`.\n",
145-
"This function returns an array of booleans of the same size as the number of facets on this processor, where `True` indicates that the local facet $i$ is on the boundary. To reduce this to only the indices that are `True`, we use [`numpy.flatnonzero`](https://numpy.org/doc/stable/reference/generated/numpy.flatnonzero.html)."
145+
"This function returns an array of integers of the same size as the number of facets on this processor, where `1` indicates that the local facet $i$ is on the boundary. To reduce this to only the indices that are equal to `1`, we use [`numpy.flatnonzero`](https://numpy.org/doc/stable/reference/generated/numpy.flatnonzero.html)."
146146
]
147147
},
148148
{
@@ -343,7 +343,7 @@
343343
"output_type": "stream",
344344
"text": [
345345
"Error_L2 : 8.24e-03\n",
346-
"Error_max : 2.22e-15\n"
346+
"Error_max : 2.00e-15\n"
347347
]
348348
}
349349
],
@@ -409,12 +409,12 @@
409409
{
410410
"data": {
411411
"application/vnd.jupyter.widget-view+json": {
412-
"model_id": "c0fbae39627443d095ae8e138ed6eb5b",
412+
"model_id": "be85adc5c1eb4871a7d86de3509c438e",
413413
"version_major": 2,
414414
"version_minor": 0
415415
},
416416
"text/plain": [
417-
"Renderer(camera=PerspectiveCamera(aspect=1.3333333333333333, children=(DirectionalLight(color='#fefefe', inten"
417+
"Renderer(camera=PerspectiveCamera(aspect=1.3333333333333333, children=(DirectionalLight(intensity=0.25, positi"
418418
]
419419
},
420420
"metadata": {},
@@ -464,12 +464,12 @@
464464
{
465465
"data": {
466466
"application/vnd.jupyter.widget-view+json": {
467-
"model_id": "8865425a451440cbbab2398e17448c41",
467+
"model_id": "12ac381a9d92468b88ac86a9348fb316",
468468
"version_major": 2,
469469
"version_minor": 0
470470
},
471471
"text/plain": [
472-
"Renderer(camera=PerspectiveCamera(aspect=1.3333333333333333, children=(DirectionalLight(color='#fefefe', inten"
472+
"Renderer(camera=PerspectiveCamera(aspect=1.3333333333333333, children=(DirectionalLight(intensity=0.25, positi"
473473
]
474474
},
475475
"metadata": {},
@@ -503,7 +503,7 @@
503503
{
504504
"data": {
505505
"application/vnd.jupyter.widget-view+json": {
506-
"model_id": "291ccff816554752956b35a46b1ccc07",
506+
"model_id": "1089f8c8d3d648c5be3284509702bf97",
507507
"version_major": 2,
508508
"version_minor": 0
509509
},
@@ -533,7 +533,7 @@
533533
},
534534
{
535535
"cell_type": "code",
536-
"execution_count": 19,
536+
"execution_count": 20,
537537
"metadata": {},
538538
"outputs": [],
539539
"source": [

chapter1/membrane_code.ipynb

+5-5
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@
8383
"text": [
8484
"Info : Meshing 1D...\n",
8585
"Info : Meshing curve 1 (Ellipse)\n",
86-
"Info : Done meshing 1D (Wall 0.000709738s, CPU 0.000866s)\n",
86+
"Info : Done meshing 1D (Wall 0.000912963s, CPU 0.000868s)\n",
8787
"Info : Meshing 2D...\n",
8888
"Info : Meshing surface 1 (Plane, Frontal-Delaunay)\n",
89-
"Info : Done meshing 2D (Wall 0.0881007s, CPU 0.086016s)\n",
89+
"Info : Done meshing 2D (Wall 0.0879933s, CPU 0.085647s)\n",
9090
"Info : 1550 nodes 3099 elements\n"
9191
]
9292
}
@@ -304,12 +304,12 @@
304304
{
305305
"data": {
306306
"application/vnd.jupyter.widget-view+json": {
307-
"model_id": "b488188eb55746359cfb4e887ee24fbb",
307+
"model_id": "2c73502e2eb841e0836fcec2f73df258",
308308
"version_major": 2,
309309
"version_minor": 0
310310
},
311311
"text/plain": [
312-
"Renderer(camera=PerspectiveCamera(aspect=1.3333333333333333, children=(DirectionalLight(color='#fefefe', inten"
312+
"Renderer(camera=PerspectiveCamera(aspect=1.3333333333333333, children=(DirectionalLight(intensity=0.25, positi"
313313
]
314314
},
315315
"metadata": {},
@@ -353,7 +353,7 @@
353353
{
354354
"data": {
355355
"application/vnd.jupyter.widget-view+json": {
356-
"model_id": "cbb80d941c1d49b18b2aa767a4ecab4f",
356+
"model_id": "005557f7534c452fb96cd6f8b2c71fa4",
357357
"version_major": 2,
358358
"version_minor": 0
359359
},

chapter1/nitsche.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -192,12 +192,12 @@
192192
{
193193
"data": {
194194
"application/vnd.jupyter.widget-view+json": {
195-
"model_id": "8034af5a19554feab775b613a7877a0d",
195+
"model_id": "0a2508a473d04c9ba002bd095af29434",
196196
"version_major": 2,
197197
"version_minor": 0
198198
},
199199
"text/plain": [
200-
"Renderer(camera=PerspectiveCamera(aspect=1.3333333333333333, children=(DirectionalLight(color='#fefefe', inten"
200+
"Renderer(camera=PerspectiveCamera(aspect=1.3333333333333333, children=(DirectionalLight(intensity=0.25, positi"
201201
]
202202
},
203203
"metadata": {},

0 commit comments

Comments
 (0)