-
-
Notifications
You must be signed in to change notification settings - Fork 566
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
simplify nondimensionalisation of kinetics #2236
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #2236 +/- ##
========================================
Coverage 99.36% 99.36%
========================================
Files 357 357
Lines 19514 19514
========================================
+ Hits 19390 19391 +1
+ Misses 124 123 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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 good, thanks @tinosulzer!
BTW, should we set a deprecation warning for the unused constants with the deprecated package? |
the parameters are still there, so where were you thinking of adding the warning? Also I have no idea why that test is failing, and only on python 3.7 |
Yes, not too fussed about the test. I mean that, if the dimensionless numbers are not used, we might want to get rid of them eventually. If so, we can use deprecated to fail at a given release so we remove it. |
Description
Simplifies non-dimensionalisation of the kinetics, which I think was making things overly complicated.
Previously,
j0
was calculated as =but
and we are currently scaling
j0(...)
asj0(...) = j0_dim(...) / j0_ref
, soand if instead we scale
j0(...) = j0_dim(...) / j_scale
thenType of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.
Key checklist:
$ flake8
$ python run-tests.py --unit
$ cd docs
and then$ make clean; make html
You can run all three at once, using
$ python run-tests.py --quick
.Further checks: