-
-
Notifications
You must be signed in to change notification settings - Fork 393
Description
Cantera version
2.5.0a3
Expected Behavior
It would be useful to have C++ equivalents of composite classes that are defined in Python (i.e. Solution, Interface, etc.). A replication of those classes would clarify origin and structure of thermo/kinetics/transport managers that are instantiated from the Python composite class (the same holds true for Matlab).
This does not mean the replication of double/triple inheritance within C++. Rather, the C++ classes would receive pointers to previously allocated managers, as well as hold type information (which is currently lost in C++) and a uniquely assignable name.
The motivation is that a common root for composite objects appears to be necessary for serialization within the C++ layer. A direct mapping of Python to C++ objects would also clarify the overall structure of cantera.
Actual Behavior
There is no replication of composite classes within C++
Steps to reproduce
N/A