Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1758 +/- ##
==========================================
+ Coverage 73.12% 73.20% +0.07%
==========================================
Files 381 381
Lines 54174 54289 +115
Branches 9223 9242 +19
==========================================
+ Hits 39615 39740 +125
+ Misses 11598 11577 -21
- Partials 2961 2972 +11 ☔ View full report in Codecov by Sentry. |
932b9da to
561f756
Compare
This comment was marked as duplicate.
This comment was marked as duplicate.
c492eb5 to
23f2771
Compare
|
I ended up adding a section to our i.e. unsurprisingly the C++ While I don't believe that C++ functors are all that important to the Python API, I believe that having an interface equivalent to MATLAB is overall beneficial. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Xyz is 'Sum', 'Diff', 'Prod' and 'Ratio'.
727437c to
983e599
Compare
|
Rebased once more and took care of a couple of paper cuts; PR should be ready for a review. |
Add operators and alternative constructor for C++ Func1 objects.
|
@speth ... I updated the Python docstring as follows: which also illustrates |
Changes proposed in this pull request
This PR ensures that Python and MATLAB API's are consistent as far as possible (follow-up to #1741).
Func1.cxx_functorin PythonFunc1operators that implement rules for simplifications (rules had already been part of the code base, but were not used as of Cantera 3.0)Func1::isIdenticalIf applicable, provide an example illustrating new features this pull request is introducing
In MATLAB:
In Python:
Checklist
scons build&scons test) and unit tests address code coverage