-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Time dependency and multiple functions per file (#49)
* Start adding functionality for time dependency. * Add tests for time-dependent/multi-function checkpointing * Add notes * Remove newline * Fix kwarg * Add Dolfin legacy compatible interface. Add adios4dolfinx backwards compatibility * Linting * Add note to readme * Change to github images * Add legacy checkpoint test * Try fixing pipelines * Add new workflow to test-code
- Loading branch information
Showing
15 changed files
with
456 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Generate adios4dolfinx legacy data | ||
|
||
on: | ||
workflow_call: | ||
|
||
env: | ||
data_dir: "legacy_checkpoint" | ||
adios4dolfinx_version: "0.7.1" | ||
|
||
jobs: | ||
create-adios-data: | ||
runs-on: "ubuntu-22.04" | ||
container: ghcr.io/fenics/dolfinx/dolfinx:v0.7.3 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install legacy version of adios4dolfinx | ||
- run: python3 -m pip install adios4dolfinx==${adios4dolfinx_version} | ||
|
||
- name: Create datasets | ||
run: python3 ./tests/create_legacy_checkpoint.py --output-dir=$data_dir | ||
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ env.data_dir }} | ||
path: ./${{ env.data_dir }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.