-
Notifications
You must be signed in to change notification settings - Fork 6
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
Roadmap for Code Generation in CLib API #220
Comments
Hi @ischoegl , while the clib revamp is will WIP, is there anything we can do on the MATLAB side to prepare for the switch to code generation for future interfaces? I've listed some near-term goals here: https://github.com/comocheng/wiki/issues/837 |
Hi @ssun30 ... thanks for the note! At the moment, having a relatively complete MATLAB test suite is by far the most beneficial step. Regarding the link to your wiki, I cannot view as it may not be part of the public repo? (or it could be a typo) |
Sorry, our group kanban is indeed private. But here are what I covered over there:
|
Thanks, @ssun30. From what I understand, the MATLAB C++ interface was far from feature-complete in terms of C++ standards, which is why it hadn't been a workable solution. I'm not sure what has changed since, but the experimental CLib can be used for a feature-complete Cantera API once it's done. For code generation for MATLAB, the |
This issue aims to track the progress of the C interface portion of #39 with the objective of a complete transition as early as Cantera 3.2. The traditional CLib interface has been declared experimental in 3.1, while a first replacement prototype was discussed in #39 (comment), although it only created header files.
The roadmap involves the following:
clib-experimental
API ... see Experimentalclib
from doxygen cantera#1835ThermoPhase
,Kinetics
andTransport
… see Autogenerated clib core objects cantera#1842ctrpath
) ... see Sourcegen CLib edge cases cantera#1846zeroD
andoneD
README.md
file contents to main documentation (to a page indoc/sphinx/develop
so we can have this as part of the HTML documentation and information on how Cantera works in one place).clib-experimental
(most functions will have drop-in replacements but include '3' in their name to avoid duplicate symbols):clib_experimental
toclib3
and deprecate (or remove?) the traditional CLib interface. Potentially moveclib
folder tointerfaces
. Docstrings should retain the experimental admonition until the API is fully stable (likely in Cantera 3.3).SolutionArray
The text was updated successfully, but these errors were encountered: