-
-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Write and read mesh using ADIOS2 #3291
Open
ampdes
wants to merge
68
commits into
FEniCS:main
Choose a base branch
from
ampdes:checkpointing
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
68 commits
Select commit
Hold shift + click to select a range
8c2756f
Add basic write function
ampdes 42487b3
Update CMakeLists and dolfinx_io
ampdes bf40802
Add checkpointing demo
ampdes e66b319
Update dolfinx/io CMakeLists
ampdes df6ed6d
Merge branch 'main' into checkpointing
ampdes bf78637
Add implementation of mesh write
ampdes 339c1f0
Remove const and clean
ampdes 6ebac6e
Add checkpointing demo to regression tests
ampdes 5a4d190
clang formatting
ampdes e644b5e
Merge branch 'main' into checkpointing
ampdes 1d97e78
Minor cahnges in layout
jorgensd 1b2a243
Cast adios2 variable creation args to unsigned long int
ampdes f2d3115
Declare with uint instead of cast later
ampdes 5dd47c6
Fix offset computations
ampdes 0e1b770
Add ADIOS2Engine class adapted from ADIOS2Writer
ampdes b8ebd93
Update documentation
ampdes 76f018f
Include headers in demo
ampdes 7ae238a
Remove demo from tests
ampdes eb0e813
Update copyright text
ampdes d3a965b
Clean up
ampdes 729846b
Rename variables
ampdes 6025802
Merge branch 'main' into checkpointing
ampdes b2f4bd0
Pass ADIOS2Engine writer to write function
ampdes 011027b
Merge branch 'update' into checkpointing
ampdes d7e8e3a
Update docs
ampdes ca94e17
Update from review
ampdes 55b9288
Pass IO and Engine shared ptrs
ampdes 241fbef
ADIOS IO and Engine without ptrs
ampdes 43f6481
Pass mesh without shared ptr
ampdes 4d71e4c
Add python demo
ampdes 659281a
Rename nodes to vertices
ampdes 38bb3d5
Scope into sections
ampdes f8d5701
Remove python demo
ampdes 0940f59
Remove ADIOS_utils
ampdes 2a4a986
Switch to pass by reference
ampdes cbc6fb2
WIP-buggy code dump for mesh_read
ampdes d82a412
Fix errors in read_mesh, add version, git_hash
ampdes 5f4a50d
Add read_mesh of one type
ampdes d537461
Fix docs
ampdes 4178385
Templated read_mesh
ampdes 6d34167
Add python demo for ADIOS2 wrapper write
ampdes 3f6ce60
isort and formatting
ampdes 8162339
Fix docs
ampdes b93cc2e
Add missing has_adios2
ampdes 73a2643
Update docs
ampdes c81221d
Rename to ADIOS2Wrapper and engine_type
ampdes 20708f5
Add python API for write_mesh
ampdes 5f7d505
Fix includes and docs
ampdes 55b266c
Add read_mesh
ampdes 1c548db
Update from review
ampdes ff0fb62
Update from review
ampdes a3fe473
Add config file input to ADIOS2 wrapper
ampdes dd524c7
Merge branch 'main' into checkpointing
ampdes 636f742
Refactor and clean
ampdes 77f059f
Parametrize ghost_mode; add cpp demo to doc
ampdes 64480e2
Add test; add ufl_domain to the read_mesh
ampdes 61a8288
Fix import errors
ampdes 2611b1b
Merge branch 'main' into checkpointing
ampdes e988a0a
Add version compatibility check
ampdes 2cfebf2
Reorganize namespaces
ampdes 2688e51
Redesign ADIOS2Wrapper to hold multiple IO and Engine
ampdes fb39916
Clean up and update for the new wrapper
ampdes 8bec1a1
Add time dependent mesh write
ampdes 24bab34
Add read_timestamps in readrandomaccess mode
ampdes a0543eb
Replace basic loops with std::ranges::transform
ampdes 80265ae
Merge branch 'main' into checkpointing
ampdes 9583a3b
Add tests for time dependent mesh
ampdes 473bba4
Merge branch 'main' into checkpointing
ampdes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could use
std::for_each
to illustrate good coding practices, see:https://godbolt.org/z/97osavhb6