-
-
Notifications
You must be signed in to change notification settings - Fork 350
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
Enhance Python Func1 Interface #1521
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1521 +/- ##
==========================================
+ Coverage 70.52% 70.59% +0.06%
==========================================
Files 376 376
Lines 58918 58956 +38
Branches 21198 21197 -1
==========================================
+ Hits 41551 41619 +68
+ Misses 14308 14264 -44
- Partials 3059 3073 +14
... and 4 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
I'm not really clear on the use case for constructing |
@speth ... this is ready for a review. For the Python |
I am aware that the |
@speth ... I renamed the factory class method to Ad use case: the Python |
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.
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, I think this is good to go.
Changes proposed in this pull request
Func1
objects from Python with dynamically created classes.TabulatedFunction
toTabulated1
to ensure names are consistentWhile the
Func1
API in Python should mainly serve as an 'advanced feature', it can serve as a template for other API's (example: new MATLAB interface Cantera/enhancements#177).If applicable, provide an example illustrating new features this pull request is introducing
Checklist
scons build
&scons test
) and unit tests address code coverage