WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
80d08db
Improve workflow handling (#118)
jorgensd Mar 22, 2023
da48de6
Merge branch 'main' into release
jorgensd Mar 22, 2023
625293c
Merge branch 'main' into release
jorgensd Mar 22, 2023
6b2db88
Dokken/update fspace and wmtgs (#127)
jorgensd Apr 19, 2023
8bcf5f9
Update petsc arches
jorgensd Jun 21, 2023
10a4939
Fix bounding boxes and more (#135)
jorgensd Jul 4, 2023
8eb2770
PETSc python API update (#137)
jorgensd Jul 5, 2023
dd30b8a
Make sure all notebooks run. Change to pathlib in some examples
jorgensd Aug 12, 2023
9e30cab
Api changes related to: https://github.com/FEniCS/dolfinx/pull/2763 (…
jorgensd Sep 23, 2023
662b8b2
Bump version numbers
jorgensd Oct 12, 2023
fb8e738
Bump version numbers (#149)
jorgensd Oct 12, 2023
d9a02c0
Merge branch 'main' into release
jorgensd Oct 12, 2023
b9c7990
Fix petsc arch
jorgensd Oct 12, 2023
8db8b94
Merge branch 'dokken/prepare-v0.7.0' into release
jorgensd Oct 12, 2023
ffe997e
Merge branch 'main' into release
jorgensd Oct 28, 2023
ecd6994
Prepare v0.7.1 (#154)
jorgensd Oct 28, 2023
26ad6bf
Merge branch 'main' into release
jorgensd Oct 28, 2023
69bf939
Updates compatible with nightly branch of DOLFINx (#156)
jorgensd Dec 7, 2023
1a885f2
Fix wrong link
jorgensd Jan 28, 2024
a36ae80
Fix typo in changelog
jorgensd Jan 28, 2024
b4c4a0c
Merge main into release (#189)
jorgensd Apr 30, 2024
f2775eb
Merge branch 'main' into release
jorgensd May 5, 2024
e32797a
add missing checkout (#191)
jorgensd May 5, 2024
45ea6bf
Remove unused import
jorgensd May 5, 2024
fb40ada
Update text to resolve #194 (#195)
jorgensd May 13, 2024
6a67d30
Dokken/update nonlin options (#203)
jorgensd Aug 12, 2024
50b0aad
Update python file as well
jorgensd Aug 12, 2024
4d19c14
Update config ptr (#207)
jorgensd Sep 26, 2024
bf06975
Pressure correction equation fix (#196)
jorgensd Sep 26, 2024
4706eef
Update fundamentals.md (#199)
rossbm1 Sep 26, 2024
1f872e5
Change from vector to petsc_vec (#206)
jorgensd Sep 26, 2024
adf0314
dolfinx.fem.Form changed to dolfinx.fem.form (#213)
MPenaR Oct 2, 2024
aa4ef09
Merge branch 'main' into release
jorgensd Oct 14, 2024
1fcb776
Update book_stable.yml
jorgensd Oct 14, 2024
336a89a
Update test_stable.yml
jorgensd Oct 14, 2024
94447f3
Fix python path in test
jorgensd Oct 14, 2024
ea69c78
Merge branch 'release'
jorgensd Oct 15, 2024
7b2ccb0
Merge branch 'main' into release
jorgensd Oct 15, 2024
0b3745e
Merge branch 'main' into release
jorgensd Oct 15, 2024
3138242
Fix CI (#227)
jorgensd Nov 19, 2024
3fd4b03
Update test_stable.yml (#235)
jorgensd Jan 6, 2025
260fa82
Add libgl flag to ci (#238)
jorgensd Jan 6, 2025
ce168fa
Dokken/bump release (#249)
jorgensd Feb 4, 2025
096fc96
Update linearelasticity_code.ipynb (#246)
mleoni-pf Feb 5, 2025
f084a1f
Update linearelasticity_code.ipynb (#245)
mleoni-pf Feb 5, 2025
3bd537c
Update linearelasticity_code.ipynb (#244)
mleoni-pf Feb 5, 2025
4e9bac0
Update linearelasticity_code.ipynb (#243)
mleoni-pf Feb 5, 2025
389d43a
Update ns_code2.ipynb (#241)
mleoni-pf Feb 5, 2025
de967cc
Add files via upload (#250)
bayswiss Feb 5, 2025
63c5cde
Remove dead link
jorgensd Apr 22, 2025
9d52627
Add fix from https://github.com/jorgensd/dolfinx-tutorial/pull/253 + …
jorgensd Aug 9, 2025
4b5b2bb
Add propsoed solution to #205 (#257)
jorgensd Aug 9, 2025
7fdf1fb
Add singular Poisson demo. Resolves: https://github.com/jorgensd/dolf…
jorgensd Aug 9, 2025
acf248e
Add extra note on conversion from new python files (#265)
jorgensd Aug 12, 2025
3c38876
Adaptive mesh refinement with NetGen (#266)
jorgensd Aug 18, 2025
4856900
Add netgen to stable book build (#267)
jorgensd Aug 18, 2025
1e66dc1
Update text to reflect that there is a docker image (#268)
jorgensd Aug 18, 2025
27f9c84
Strip output and adapt eta definition, ref comment from Jack Hale (#269)
jorgensd Aug 18, 2025
3c87f94
Finish trailing sentence (#270)
jorgensd Aug 18, 2025
c04e742
Try removing xvfb for most tutorials (#278)
jorgensd Oct 5, 2025
19867b7
INstall osmesa
jorgensd Oct 5, 2025
5d01c81
Remove -W
jorgensd Oct 5, 2025
579af78
Add offscreen false to jupyter build
jorgensd Oct 5, 2025
c87b5c2
Remove some more xvfb and move new variables
jorgensd Oct 5, 2025
3147119
Lower bound on vtk
jorgensd Oct 5, 2025
6cd86be
Change tag on release branch
jorgensd Oct 5, 2025
b439d6c
Another rename
jorgensd Oct 5, 2025
36d9d5c
Merge remote-tracking branch 'origin/main' into release
jorgensd Oct 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/install-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ runs:
- name: Install apt dependencies and upgrade pip
shell: bash -el {0}
run: |
apt-get update && apt-get install -y libxrender1
apt-get update && apt-get install -y libxrender1 libgl1-mesa-dev mesa-utils
4 changes: 2 additions & 2 deletions .github/workflows/book_stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

env:
PYVISTA_OFF_SCREEN: false
PYVISTA_JUPYTER_BACKEND: "html"
PYVISTA_JUPYTER_BACKEND: html

steps:
- uses: actions/checkout@v5
Expand All @@ -34,7 +34,7 @@ jobs:
python3 -m pip install --no-binary=h5py .[netgen]

- name: Build the book
run: jupyter-book build . -W
run: jupyter-book build .

- uses: actions/upload-artifact@v4
if: always()
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/test_stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,18 @@ on:
workflow_call:
pull_request:
branches: ["release"]
env:
HDF5_MPI: "ON"
HDF5_DIR: "/usr/local/"
DISPLAY: ":99.0"
DEB_PYTHON_INSTALL_LAYOUT: deb_system
LIBGL_ALWAYS_SOFTWARE: 1

jobs:
test:
runs-on: ubuntu-latest
container: ghcr.io/fenics/dolfinx/lab:stable
env:
HDF5_MPI: "ON"
HDF5_DIR: "/usr/local/"
DEB_PYTHON_INSTALL_LAYOUT: deb_system
PYVISTA_OFF_SCREEN: true
PYVISTA_JUPYTER_BACKEND: html
LIBGL_ALWAYS_SOFTWARE: 1

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/jorgensd/dolfinx-tutorial:release
FROM ghcr.io/jorgensd/dolfinx-tutorial:v0.9.1

# create user with a home directory
ARG NB_USER=jovyan
Expand Down
7 changes: 5 additions & 2 deletions chapter4/compiler_parameters.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@
"id": "4",
"metadata": {},
"source": [
"We start by considering the different levels of optimization that the C compiler can use on the optimized code. A list of optimization options and explanations can be found [here](https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html)"
"We start by considering the different levels of optimization that the C compiler can use on the optimized code.\n",
"A list of optimization options and explanations can be found [here](https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html)"
]
},
{
Expand All @@ -100,7 +101,9 @@
"id": "6",
"metadata": {},
"source": [
"The next option we can choose is if we want to compile the code with `-march=native` or not. This option enables instructions for the local machine, and can give different results on different systems. More information can be found [here](https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html#g_t-march-and--mcpu-Feature-Modifiers)"
"The next option we can choose is if we want to compile the code with `-march=native` or not.\n",
"This option enables instructions for the local machine, and can give different results on different systems.\n",
"More information can be found [here](https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html#g_t-march-and--mcpu-Feature-Modifiers)"
]
},
{
Expand Down
7 changes: 5 additions & 2 deletions chapter4/compiler_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,14 @@ def compile_form(space: str, degree: int, jit_options: Dict):
return end - start


# We start by considering the different levels of optimization that the C compiler can use on the optimized code. A list of optimization options and explanations can be found [here](https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html)
# We start by considering the different levels of optimization that the C compiler can use on the optimized code.
# A list of optimization options and explanations can be found [here](https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html)

optimization_options = ["-O1", "-O2", "-O3", "-Ofast"]

# The next option we can choose is if we want to compile the code with `-march=native` or not. This option enables instructions for the local machine, and can give different results on different systems. More information can be found [here](https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html#g_t-march-and--mcpu-Feature-Modifiers)
# The next option we can choose is if we want to compile the code with `-march=native` or not.
# This option enables instructions for the local machine, and can give different results on different systems.
# More information can be found [here](https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html#g_t-march-and--mcpu-Feature-Modifiers)

march_native = [True, False]

Expand Down
4 changes: 4 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,8 @@ ENV PYVISTA_OFF_SCREEN="false"
ENV PYVISTA_JUPYTER_BACKEND="trame"
ENV LIBGL_ALWAYS_SOFTWARE=1

ENV PYVISTA_OFF_SCREEN="false"
ENV PYVISTA_JUPYTER_BACKEND="trame"
ENV LIBGL_ALWAYS_SOFTWARE=1

ENTRYPOINT ["jupyter", "lab", "--ip", "0.0.0.0", "--no-browser", "--allow-root"]
Loading