Skip to content

Commit 43824f6

Browse files
jorgensdjuliusgh
andauthored
V0.7.0 (#150)
* Improve workflow handling (#118) * Create common action for all workflows and split them into multiple files * Dokken/update fspace and wmtgs (#127) * fix runs-on * Minor improvements in linearelasticity.md (#124) * Fix various things on release branch * Try adding trame * Revert fundamentals * Membrane code * More updates due to autoformatting * Lagrange -> CG back conversion * Change to github image --------- Co-authored-by: Julius Herb <43179176+juliusgh@users.noreply.github.com> * Update petsc arches * Fix bounding boxes and more (#135) * Start fixing code for nightly build * rerun all files * Try fixing subdomains * Fix meshio * PETSc python API update (#137) * Resolve #136 * Fixes related to: FEniCS/dolfinx#2703 * Update changelog * Make sure all notebooks run. Change to pathlib in some examples * Api changes related to: FEniCS/dolfinx#2763 (#142) * Bump version numbers * Bump version numbers (#149) * Fix petsc arch --------- Co-authored-by: Julius Herb <43179176+juliusgh@users.noreply.github.com>
1 parent c9214c6 commit 43824f6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+4294
-5974
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
name: Install dependencies
22

3-
43
runs:
54
using: composite
65
steps:
76
- name: Install apt dependencies and upgrade pip
87
shell: bash -el {0}
98
run: |
109
apt-get update && apt-get install -y libgl1-mesa-glx libxrender1 xvfb
11-
python3 -m pip install -U pip
12-
# Install `h5py` master branch
13-
# https://github.com/hl5py/h5py/issues/2222
14-
- name: Install h5py and pip requirements
15-
shell: bash -el {0}
16-
run: |
17-
python3 -m pip install --no-binary=h5py git+https://github.com/h5py/h5py@master
10+
python3 -m pip install -U pip

.github/workflows/book_stable.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515
jobs:
1616
build-book:
1717
runs-on: ubuntu-latest
18-
container: ghcr.io/fenics/dolfinx/lab:v0.6.0-r1
18+
container: ghcr.io/fenics/dolfinx/lab:v0.7.0
1919

2020
env:
2121
PYVISTA_TRAME_SERVER_PROXY_PREFIX: "/proxy/"

.github/workflows/test_nightly.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
test-nightly:
1818
# The type of runner that the job will run on
1919
runs-on: ubuntu-latest
20-
container: dolfinx/lab:nightly
20+
container: ghcr.io/fenics/dolfinx/lab:nightly
2121

2222
env:
2323
HDF5_MPI: "ON"

.github/workflows/test_stable.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
test:
2121
# The type of runner that the job will run on
2222
runs-on: ubuntu-latest
23-
container: ghcr.io/fenics/dolfinx/lab:v0.6.0-r1
23+
container: ghcr.io/fenics/dolfinx/lab:v0.7.0
2424
env:
2525
PYVISTA_OFF_SCREEN: true
2626

@@ -37,7 +37,7 @@ jobs:
3737
- name: Test complex notebooks in parallel
3838
run: |
3939
export PKG_CONFIG_PATH=/usr/local/dolfinx-complex/lib/pkgconfig:$PKG_CONFIG_PATH
40-
export PETSC_ARCH=linux-gnu-complex-32
40+
export PETSC_ARCH=linux-gnu-complex128-32
4141
export PYTHONPATH=/usr/local/dolfinx-complex/lib/python3.10/dist-packages:$PYTHONPATH
4242
export LD_LIBRARY_PATH=/usr/local/dolfinx-complex/lib:$LD_LIBRARY_PATH
4343
python3 -c "from pyvista import start_xvfb; start_xvfb(0.1)"

Changelog.md

+14-6
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
11
# Changelog
22

3-
## main
4-
- No changes
3+
## v0.7.0
4+
5+
- Renamed `dolfinx.graph.create_adjacencylist` to `dolfinx.graph.adjacencylist`
6+
- Renamed `dolfinx.plot.create_vtk_mesh` to `dolfinx.plot.vtk_mesh`
7+
- `dolfinx.geometry.BoundingBoxTree` has been changed to `dolfinx.geometry.bb_tree`
8+
- `create_mesh` with Meshio has been modified. Note that you now need to pass dtype `np.int32` to the cell_data.
9+
- Update dolfinx petsc API. Now one needs to explicitly import `dolfinx.fem.petsc` and `dolfinx.fem.nls`, as PETSc is no longer a strict requirement. Replace `petsc4py.PETSc.ScalarType` with `dolfinx.default_scalar_type` in demos where we do not use `petsc4py` explicitly.
510

611
## v0.6.0
12+
713
- Remove `ipygany` and `pythreejs` as plotting backends. Using `panel`.
814
- Add gif-output to [chapter2/diffusion_code] and [chapter2/hyperelasticity].
915
- Replace `dolfinx.fem.Function.geometric_dimension` with `len(dolfinx.fem.Function)`
1016
- Improve [chapter2/ns_code2] to have better splitting scheme and density.
1117
- Improve mesh quality in [chapter3/em].
1218
- `jit_params` and `form_compiler_params` renamed to `*_options`.
1319

14-
1520
## v0.5.0
21+
1622
- Using new GMSH interface in DOLFINx (`dolfinx.io.gmshio`) in all demos using GMSH
1723
- Added a section on custom Newton-solvers, see [chapter4/newton-solver].
1824
- 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]`.
@@ -21,9 +27,11 @@
2127
- Add example of how to use `DOLFINx` in complex mode, see [chapter1/complex_mode].
2228

2329
## 0.4.1
30+
2431
- No changes
2532

2633
## 0.4.0 (05.02.2021)
34+
2735
- All `pyvista` plotting has been rewritten to use `ipygany` and `pythreejs` as well as using a cleaner interface.
2836
- `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`.
2937
- `dolfinx.fem.Function.compute_point_values` has been deprecated. Interpolation into a CG-1 is now the way of getting vertex values.
@@ -34,14 +42,14 @@
3442
- Various API changes relating to the import structure of DOLFINx
3543

3644
## 0.3.0 (09.09.2021)
45+
3746
- Major improvements in [Form compiler parameters](chapter4/compiler_parameters), using pandas and seaborn for visualization of speed-ups gained using form compiler parameters.
3847
- API change: `dolfinx.cpp.la.scatter_forward(u.x)` -> `u.x.scatter_forward`
3948
- Various plotting updates due to new version of pyvista.
4049
- Updating of the [Hyperelasticity demo](chapter2/hyperelasticity), now using DOLFINx wrappers to create the non-linear problem
4150
- Internal updates due to bumping of jupyter-book versions
4251
- Various typos and capitalizations fixed by @mscroggs in [PR 35](https://github.com/jorgensd/dolfinx-tutorial/pull/35).
4352

44-
45-
4653
## 0.1.0 (11.05.2021)
47-
- First tagged release of DOLFINx Tutorial, compatible with [DOLFINx 0.1.0](https://github.com/FEniCS/dolfinx/releases/tag/0.1.0).
54+
55+
- First tagged release of DOLFINx Tutorial, compatible with [DOLFINx 0.1.0](https://github.com/FEniCS/dolfinx/releases/tag/0.1.0).

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/jorgensd/dolfinx-tutorial:v0.6.0.post0
1+
FROM ghcr.io/jorgensd/dolfinx-tutorial:v0.7.0
22

33
# create user with a home directory
44
ARG NB_USER=jovyan

0 commit comments

Comments
 (0)