-
-
Notifications
You must be signed in to change notification settings - Fork 563
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 1115 surface area #1120
Issue 1115 surface area #1120
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1120 +/- ##
===========================================
+ Coverage 97.82% 97.87% +0.05%
===========================================
Files 245 245
Lines 13281 13382 +101
===========================================
+ Hits 12992 13098 +106
+ Misses 289 284 -5
Continue to review full report at Codecov.
|
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 to me, thanks @rtimms ! I might have missed it, but is there an example for setting particle shape to "user"?
} | ||
) | ||
|
||
return a_n, a_p |
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.
Shouldn't this return variables
? Otherwise it is just quietly updating them.
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.
yep, good point, thanks.
thanks @tinosulzer will add an example for "user" then merge |
Description
Computes surface area per unit volume
a
as a function of particle shape. A major change is that the modules that contained the standard parameters are now classes (so they can take options, such as particle shape).Also fixes some bugs in the models when
R=R(x)
. For now we don't allow active material volume fraction to be a function of x (see #1119), so we only havea(x)
when we haveR(x)
.Fixes #1115
Type 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: