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.
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
Make particle size distribution work with composite electrode. #4687
Make particle size distribution work with composite electrode. #4687
Changes from 12 commits
83dd995
843a9e1
bc1a2b8
d1cc2f1
6b303a8
5ca70ae
19c1feb
03a367c
7a5d56b
55dd848
29f4f3d
d5c8731
835eac6
34ab3a7
fc99bbb
cd9fd36
505495e
b331074
84fd342
f545b5c
a7253b8
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 411 in src/pybamm/expression_tree/averages.py
Codecov / codecov/patch
src/pybamm/expression_tree/averages.py#L411
Check warning on line 415 in src/pybamm/expression_tree/averages.py
Codecov / codecov/patch
src/pybamm/expression_tree/averages.py#L415
Check warning on line 424 in src/pybamm/expression_tree/averages.py
Codecov / codecov/patch
src/pybamm/expression_tree/averages.py#L424
Check warning on line 428 in src/pybamm/expression_tree/averages.py
Codecov / codecov/patch
src/pybamm/expression_tree/averages.py#L428
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.
FYI
geo.domain_params["negative"]
is equivalent togeo.n
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.
I'm not sure how to interpret this comment, as far as I can tell, I never use
geo.domain_params['negative']
. Is there something here you want changed?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.
sorry I wasn’t clear. I meant that instead of doing an if statement by domain and getting eg
geo.n
you can dogeo.domain_params[domain]
. More of a comment then necessarily a suggestion / required change.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.
looks like I left this comment in the wrong place too lol
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.
sounds good, thanks
Check warning on line 440 in src/pybamm/expression_tree/averages.py
Codecov / codecov/patch
src/pybamm/expression_tree/averages.py#L440
Check warning on line 446 in src/pybamm/expression_tree/averages.py
Codecov / codecov/patch
src/pybamm/expression_tree/averages.py#L445-L446
Check warning on line 88 in src/pybamm/geometry/battery_geometry.py
Codecov / codecov/patch
src/pybamm/geometry/battery_geometry.py#L88
Check warning on line 112 in src/pybamm/geometry/battery_geometry.py
Codecov / codecov/patch
src/pybamm/geometry/battery_geometry.py#L112
Check warning on line 85 in src/pybamm/models/submodels/active_material/base_active_material.py
Codecov / codecov/patch
src/pybamm/models/submodels/active_material/base_active_material.py#L85
Check warning on line 87 in src/pybamm/models/submodels/active_material/base_active_material.py
Codecov / codecov/patch
src/pybamm/models/submodels/active_material/base_active_material.py#L87
Check warning on line 92 in src/pybamm/models/submodels/active_material/base_active_material.py
Codecov / codecov/patch
src/pybamm/models/submodels/active_material/base_active_material.py#L92
Check warning on line 94 in src/pybamm/models/submodels/active_material/base_active_material.py
Codecov / codecov/patch
src/pybamm/models/submodels/active_material/base_active_material.py#L94
Check warning on line 331 in src/pybamm/models/submodels/interface/base_interface.py
Codecov / codecov/patch
src/pybamm/models/submodels/interface/base_interface.py#L331