-
-
Notifications
You must be signed in to change notification settings - Fork 353
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
Some CLib/sourcegen/dotnet updates #1773
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1773 +/- ##
========================================
Coverage 73.23% 73.23%
========================================
Files 381 381
Lines 54343 54216 -127
Branches 9246 9235 -11
========================================
- Hits 39796 39705 -91
+ Misses 11573 11545 -28
+ Partials 2974 2966 -8 ☔ View full report in Codecov by Sentry. |
e614dd3
to
ba7ece0
Compare
881bdbd
to
c7e588b
Compare
🎉 ... figuring out .NET and sourcegen took a while, but this is now ready for a review. |
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.
This looks good to me. Just a couple of minor comments/questions. Also, can you rebase now that #1761 has been merged?
As of Cantera 3.1, the clib interface is considered experimental, where breakages are acceptable.
Also fix some crosswalk instances
Also remove associated *_del methods as objects are managed by owning Solution instance.
79fac04
to
fd66ed6
Compare
@speth … thanks for your review! I rebased and addressed your comments, so it should be ready. |
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, this looks good to me.
Changes proposed in this pull request
This PR introduces combines some simple CLib updates with required fixes/updates in
sourcegen
anddotnet
(with inconsequential changes in MATLAB)thermo_newFromFile
from CLib and .NETthermo_equilibrate
solver specification from magic number to string (consistent with Python and Fortran APIs)The PR cherry-picks/reimplements some relevant commits from #1761, #1765 and #1770.
If applicable, fill in the issue number this pull request is fixing
Closes #1450, closes Cantera/enhancements#199 (.NET side)
If applicable, provide an example illustrating new features this pull request is introducing
N/A
Checklist
scons build
&scons test
) and unit tests address code coverage