Skip to content

Commit

Permalink
Update version to 0.4.0 (#75)
Browse files Browse the repository at this point in the history
* Update version to 0.4.0

* Update underlying docker images
  • Loading branch information
jorgensd authored May 3, 2022
1 parent d6e5260 commit afece59
Show file tree
Hide file tree
Showing 24 changed files with 325 additions and 304 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
container: dokken92/dolfinx_custom:17032022
container: dokken92/dolfinx_custom:02052022

env:
HDF5_MPI: "ON"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ jobs:
run: echo ${{ secrets.DOCKERHUB_TOKEN }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
- name: Push to the DockerHub registry
run: |
docker push dokken92/dolfinx_custom:17032022
docker push dokken92/dolfinx_custom:02052022
5 changes: 4 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Changelog

## Dev
## Dev
- No changes

## 0.4.0 (05.02.2021)
- All `pyvista` plotting has been rewritten to use `ipygany` and `pythreejs` as well as using a cleaner interface.
- `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`.
- `dolfinx.fem.Function.compute_point_values` has been deprecated. Interpolation into a CG-1 is now the way of getting vertex values.
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM dokken92/dolfinx_custom:17032022
FROM dokken92/dolfinx_custom:02052022

# create user with a home directory
ARG NB_USER
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ and run
```bash
docker run --rm -ti -v $(pwd):/root/shared -w /root/shared --init -p 8888:8888 local_lab_env
```
from the main directory
from the main directory.
16 changes: 8 additions & 8 deletions chapter1/fundamentals_code.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
"We now have the boundary data (and in this case the solution of \n",
"the finite element problem) represented in the discrete function space.\n",
"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",
"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)."
"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)."
]
},
{
Expand Down Expand Up @@ -343,7 +343,7 @@
"output_type": "stream",
"text": [
"Error_L2 : 8.24e-03\n",
"Error_max : 2.22e-15\n"
"Error_max : 2.00e-15\n"
]
}
],
Expand Down Expand Up @@ -409,12 +409,12 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "c0fbae39627443d095ae8e138ed6eb5b",
"model_id": "be85adc5c1eb4871a7d86de3509c438e",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Renderer(camera=PerspectiveCamera(aspect=1.3333333333333333, children=(DirectionalLight(color='#fefefe', inten"
"Renderer(camera=PerspectiveCamera(aspect=1.3333333333333333, children=(DirectionalLight(intensity=0.25, positi"
]
},
"metadata": {},
Expand Down Expand Up @@ -464,12 +464,12 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "8865425a451440cbbab2398e17448c41",
"model_id": "12ac381a9d92468b88ac86a9348fb316",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Renderer(camera=PerspectiveCamera(aspect=1.3333333333333333, children=(DirectionalLight(color='#fefefe', inten"
"Renderer(camera=PerspectiveCamera(aspect=1.3333333333333333, children=(DirectionalLight(intensity=0.25, positi"
]
},
"metadata": {},
Expand Down Expand Up @@ -503,7 +503,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "291ccff816554752956b35a46b1ccc07",
"model_id": "1089f8c8d3d648c5be3284509702bf97",
"version_major": 2,
"version_minor": 0
},
Expand Down Expand Up @@ -533,7 +533,7 @@
},
{
"cell_type": "code",
"execution_count": 19,
"execution_count": 20,
"metadata": {},
"outputs": [],
"source": [
Expand Down
10 changes: 5 additions & 5 deletions chapter1/membrane_code.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@
"text": [
"Info : Meshing 1D...\n",
"Info : Meshing curve 1 (Ellipse)\n",
"Info : Done meshing 1D (Wall 0.000709738s, CPU 0.000866s)\n",
"Info : Done meshing 1D (Wall 0.000912963s, CPU 0.000868s)\n",
"Info : Meshing 2D...\n",
"Info : Meshing surface 1 (Plane, Frontal-Delaunay)\n",
"Info : Done meshing 2D (Wall 0.0881007s, CPU 0.086016s)\n",
"Info : Done meshing 2D (Wall 0.0879933s, CPU 0.085647s)\n",
"Info : 1550 nodes 3099 elements\n"
]
}
Expand Down Expand Up @@ -304,12 +304,12 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "b488188eb55746359cfb4e887ee24fbb",
"model_id": "2c73502e2eb841e0836fcec2f73df258",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Renderer(camera=PerspectiveCamera(aspect=1.3333333333333333, children=(DirectionalLight(color='#fefefe', inten"
"Renderer(camera=PerspectiveCamera(aspect=1.3333333333333333, children=(DirectionalLight(intensity=0.25, positi"
]
},
"metadata": {},
Expand Down Expand Up @@ -353,7 +353,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "cbb80d941c1d49b18b2aa767a4ecab4f",
"model_id": "005557f7534c452fb96cd6f8b2c71fa4",
"version_major": 2,
"version_minor": 0
},
Expand Down
4 changes: 2 additions & 2 deletions chapter1/nitsche.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,12 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "8034af5a19554feab775b613a7877a0d",
"model_id": "0a2508a473d04c9ba002bd095af29434",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Renderer(camera=PerspectiveCamera(aspect=1.3333333333333333, children=(DirectionalLight(color='#fefefe', inten"
"Renderer(camera=PerspectiveCamera(aspect=1.3333333333333333, children=(DirectionalLight(intensity=0.25, positi"
]
},
"metadata": {},
Expand Down
Loading

0 comments on commit afece59

Please sign in to comment.