-
Notifications
You must be signed in to change notification settings - Fork 49
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
feat[next]: Embedded support for skip value connectivities #1441
Merged
havogt
merged 24 commits into
GridTools:main
from
havogt:embedded_skip_value_connectivity
Feb 23, 2024
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
bf1f1f8
skip value connectivity
havogt 5495937
fix formatting
havogt 512d795
Merge remote-tracking branch 'upstream/main' into embedded_skip_value…
havogt c7b01eb
Merge remote-tracking branch 'upstream/main' into embedded_skip_value…
havogt d51cfca
cleanup parts and tests
havogt fdb4423
skip fvm test with no atlas
havogt 1e0e228
testcase which requires broadcasting the mask
havogt 05bdc67
Merge remote-tracking branch 'upstream/main' into embedded_skip_value…
havogt 96090e8
add comment
havogt 8c408dd
cleanup
havogt ea798d1
Merge remote-tracking branch 'upstream/main' into embedded_skip_value…
havogt b96280e
fix lowering issue past to itir
havogt 8669f33
fix bug
havogt fab1185
fix connectivity names
havogt d24f6a3
explicit xp.newaxis
havogt dcf17e2
wrap the mask hypercube
havogt 3804eb6
prepare configurable skip_value
havogt e4a6f39
fix test
havogt 1f9ac85
skip value refactoring
havogt 07cffa6
fix skip_value check
havogt 93bf889
fix assert
havogt cb1d017
Merge remote-tracking branch 'upstream/main' into embedded_skip_value…
havogt 35bc515
Merge remote-tracking branch 'upstream/main' into embedded_skip_value…
havogt 75d1b03
SKIP_VALUE -> _DEFAULT_SKIP_VALUE
havogt 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
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.
Out of scope of this PR but just to not forget: it doesn't make sense to use a property for plain attribute access just because a property was defined in a parent class. We could add a simple utility to eve to disable parent properties by overwriting them with a non-data descriptor like this:
then this should work:
Inside a dataclass, it would also work to define a field with a default like this:
although this would change the semantics by making
codomain
optional, wheredisable_property
wouldn't affect the behavior of the dataclass at all.