-
-
Notifications
You must be signed in to change notification settings - Fork 589
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
Issue 933 remove reactions dict #948
Merged
Merged
Changes from 5 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
66dd222
#933 start removing reactions dict
valentinsulzer 2181a54
Merge branch 'develop' into issue-933-remove-reactions-dict
valentinsulzer 5957a80
#933 remove reactions dict
valentinsulzer 18e7fd4
#933 fix tests
valentinsulzer d6a7f39
#933 merge develop
valentinsulzer 23c6e2a
#933 merge #546
valentinsulzer 4fdf3d8
#933 fix tests except public functions
valentinsulzer b3b78fd
Merge branch 'develop' of github.com:pybamm-team/PyBaMM into issue-93…
valentinsulzer 3fc821f
Merge branch 'develop' into issue-933-remove-reactions-dict
valentinsulzer ef04516
Merge branch 'develop' of github.com:pybamm-team/PyBaMM into issue-93…
valentinsulzer e0fce7d
#933 debugging
valentinsulzer 82a5cdf
Merge branch 'develop' into issue-933-remove-reactions-dict
valentinsulzer 0450158
Merge branch 'develop' into issue-933-remove-reactions-dict
valentinsulzer 0aea591
#933 fix unit tests
valentinsulzer a338812
#933 fixing tests
valentinsulzer 9af70dd
#933 fix integration tests
valentinsulzer 68bdfd9
#933 fix weirdly broken test ...
valentinsulzer 0eb8e14
#933 merge
valentinsulzer 43f9243
Merge branch 'issue-963-misc-bugs' into issue-933-remove-reactions-dict
valentinsulzer 8d1daa8
#933 fix test
valentinsulzer 23522eb
Merge branch 'issue-963-misc-bugs' into issue-933-remove-reactions-dict
valentinsulzer c270b12
#933 fix example
valentinsulzer 6473727
Merge branch 'develop' into issue-933-remove-reactions-dict
valentinsulzer 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
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.
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.
instead of having
set_other_reaction_submodels_to_zero
could we have something likeset_reaction_submodels(self,[list of reactions]):
which then sets the appropriate models from the list (and setsNoReaction
for things that aren't in the list)? I'm just thinking of how this extends in the future and works with model options. It would be nice to have an option "reactions" which takes a list of names of any reactions you want to include. Actually it looks like this already happens, and these are always zero for li-ion. Maybe there could be a comment or this method renamed, as seeing it in e.g. DFN was a little confusing -- it wasn't clear which reactions this referred to.