-
-
Notifications
You must be signed in to change notification settings - Fork 374
Update ReactorSurface / generalize ReactorBase #1864
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
Conversation
ee57499
to
b371bdf
Compare
b371bdf
to
cd5e719
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1864 +/- ##
==========================================
- Coverage 74.36% 74.34% -0.02%
==========================================
Files 443 443
Lines 55407 55391 -16
Branches 9105 9109 +4
==========================================
- Hits 41201 41181 -20
- Misses 11108 11111 +3
- Partials 3098 3099 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
17c9051
to
efd5aa4
Compare
@speth ... I decided to revise this PR once more as I was unsatisfied with the previous version. At this point, the name of the base class remains |
881a78d
to
6e8cb37
Compare
Rebased after merge of #1665. |
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.
Thanks, @ischoegl for moving ahead with this approach. I'm not sure I fully agree with my previous suggestion to have ReactorSurface
derive from ReactorBase
, but at least this is not too invasive, and I think there is a route to eventually resolving some of the oddities that this introduces. I had just a few suggestions before we merge this.
Co-authored-by: Bang-Shiuh Chen <[email protected]>
6e8cb37
to
ebdd610
Compare
Thanks, @speth ... I addressed both comments, so this PR should be ready for a merge. Regarding oddities: yes, I am aware of some. For |
Changes proposed in this pull request
This PR pulls in suggestions from #1788, while trying to avoid unnecessary churn.
ReactorSurface
is now a specialization ofReactorBase
Reservoir
)Changes are made in anticipation of the experimental CLib zeroD interface per Cantera/enhancements#220; other references are Cantera/enhancements#202 and Cantera/enhancements#61.
The resulting inheritance diagram is:

If applicable, fill in the issue number this pull request is fixing
Closes Cantera/enhancements#213
If applicable, provide an example illustrating new features this pull request is introducing
Checklist
scons build
&scons test
) and unit tests address code coverage