-
Notifications
You must be signed in to change notification settings - Fork 35
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
Object versioning for DataCarrier object #579
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
0ff6b73
Object versioning for DataCarrier object (finality: firedrake.Constant)
nbouziani c945975
Update object versioning + add test
nbouziani f44f7eb
Merge remote-tracking branch 'origin/master' into DataCarrier-object-…
nbouziani 43aca1e
Merge remote-tracking branch 'origin/master' into DataCarrier-object-…
nbouziani 6e0178b
Merge remote-tracking branch 'origin/master' into DataCarrier-object-…
nbouziani fe63bf7
Merge remote-tracking branch 'origin/master' into DataCarrier-object-…
nbouziani e5af975
Update AUTHORS
nbouziani ff738b2
Merge branch 'master' into DataCarrier-object-versionning
nbouziani 516454d
Update data versioning for Dat and Mat (base and petsc_base classes)
nbouziani 07a47b3
Merge remote-tracking branch 'origin/master' into DataCarrier-object-…
nbouziani 29973b1
Add some missing DataCarrier inits
nbouziani 7d3d4be
Merge master
nbouziani 6d39e69
Merge remote-tracking branch 'origin/master' into DataCarrier-object-…
nbouziani 520078b
Add mat.py
nbouziani d89e93c
Refactor object versioning using PETSc state counter
nbouziani ca5e50d
Fix typo
nbouziani 54dd188
Add tests for Dat
nbouziani 18f9fa4
Remove spurious incrementations from VecAccessMixin
nbouziani 2836c7a
Cleanup
nbouziani 7bcde5a
Add dat_version to MixedDat + test
nbouziani 0e879bd
Specify petsc branch in ci.yml
nbouziani 55ad119
Update few things
nbouziani 82f9ac5
Update test + remove @abstractmethod from increment_dat_version
nbouziani 3edaf9a
Merge branch 'DataCarrier-object-versionning' of github.com:OP2/PyOP2…
nbouziani ba8d12c
Merge master
nbouziani 0989f1d
Fix lint
nbouziani a1d9d9f
Update ci.yml
nbouziani 9eabf60
Add tests for Dat context managers
nbouziani ff58332
Merge branch 'DataCarrier-object-versionning' of github.com:OP2/PyOP2…
nbouziani 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
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
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
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.
declare this abstract.
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.
The problem is that this requires all the subclasses to implement it and at the moment
Global
,Dat
andMixedDat
get the implementation ofincrement_dat_version
via another route, i.e.VecAccessMixin
. That’s because we don’t want to duplicate the object versioning setup inGlobal
andAbstractDat
objects so I put it in the appropriate common ancestor (VecAccessMixin
).