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

Commit 3c38876

Browse files
committed
Adaptive mesh refinement with NetGen (#266)
* Add amr demo * Update CI * Update pyproject.toml * Simplify dockerfile as vtk is now on pypi on linux arch * Fix indent * Make netgen optional as it is not on pypi on linux/arm * Build netgen from source
1 parent acf248e commit 3c38876

File tree

10 files changed

+858
-23
lines changed

10 files changed

+858
-23
lines changed

.github/workflows/book_stable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
PYVISTA_JUPYTER_BACKEND: "html"
2727

2828
steps:
29-
- uses: actions/checkout@v4
29+
- uses: actions/checkout@v5
3030

3131
- name: Install common packages
3232
uses: ./.github/actions/install-dependencies

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
steps:
3737
- name: Checkout
38-
uses: actions/checkout@v4
38+
uses: actions/checkout@v5
3939

4040
- name: Setup Pages
4141
uses: actions/configure-pages@v5

.github/workflows/publish_docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
steps:
3030
- name: Checkout repository
31-
uses: actions/checkout@v4
31+
uses: actions/checkout@v5
3232

3333
- name: Log in to the Container registry
3434
uses: docker/login-action@v3

.github/workflows/test_nightly.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ jobs:
2727
LIBGL_ALWAYS_SOFTWARE: 1
2828

2929
steps:
30-
- uses: actions/checkout@v4
30+
- uses: actions/checkout@v5
3131

3232
- name: Special handling of some installation
3333
uses: ./.github/actions/install-dependencies
3434

3535
- name: Install requirements
3636
run: |
37-
python3 -m pip install --break-system-packages -U pip setuptools pkgconfig
38-
python3 -m pip install --no-build-isolation --break-system-packages --no-cache-dir --no-binary=h5py . --upgrade
37+
python3 -m pip install --break-system-packages -U pip setuptools pkgconfig poetry-core
38+
python3 -m pip install --no-build-isolation --break-system-packages --no-cache-dir --no-binary=h5py .[netgen] --upgrade
3939
4040
- name: Test building the book
4141
run: PYVISTA_OFF_SCREEN=false jupyter-book build -W .

.github/workflows/test_stable.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,16 @@ jobs:
2121

2222
# Steps represent a sequence of tasks that will be executed as part of the job
2323
steps:
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v5
2525
with:
2626
ref: release
2727

2828
- uses: ./.github/actions/install-dependencies
2929

3030
- name: Install additional deps
3131
run: |
32-
python3 -m pip install --no-binary=h5py .
32+
python3 -m pip install -U pip setuptools pkgconfig poetry-core
33+
python3 -m pip install --no-binary=h5py .[netgen]
3334
3435
- name: Test complex notebooks in parallel
3536
working-directory: chapter1

_toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ parts:
1616
sections:
1717
- file: chapter1/membrane_code
1818
- file: chapter1/membrane_paraview
19+
1920
- caption: A Gallery of finite element solvers
2021
chapters:
2122
- file: chapter2/intro
@@ -39,6 +40,7 @@ parts:
3940
- file: chapter2/helmholtz
4041
sections:
4142
- file: chapter2/helmholtz_code
43+
- file: chapter2/amr
4244

4345
- caption: Subdomains and boundary conditions
4446
chapters:

0 commit comments

Comments
 (0)