-
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
Separate SpeciesThermo and ThermoPhase code in C++ #21
Comments
Rather than looking directly at the directory structure, I find the inheritance diagrams in the Doxygen documentation to be one of the most useful ways of understanding how the classes are organized, e.g. Perhaps a good "landing page" that brought attention to these important base classes would provide a better starting point for helping new developers explore the codebase. And of course, the more complete documentation envisioned by #6 would help clarify some of this as well. As far as this specific proposal goes, if we moved all of the Reorganizing these files would introduces dozens of additional files which we'd be stuck with throughout the transition. Having multiple files with the same name would be fairly annoying to deal with at least in my IDE of choice (SublimeText) which provides quick access to files based on partial name matches. |
@speth I have used the doxygen inheritance diagrams for that purpose for quite some time, and they are indeed helpful! (although I do find myself using Regarding the other points raised: there are only 20 files in both Regarding IDE's I'm on emacs ... but I do understand that a reorganization would be disruptive during a transition (although I hope it would create a clearer structure in the long run). |
Abstract
C++ code implementing
SpeciesThermo
and(Thermo)Phase
classes is currently both contained in the foldersinclude/cantera/thermo
/src/thermo
, whereas the (historic?)include/cantera/tpx
/src/tpx
folders hold aspects ofPureFluidPhase
.Motivation
It is hard to track 75 (and growing) header files.
thermo.pyx
andspeciesthermo.pyx
in the Cython interface.Possible Solutions
Distribute existing files between two folders (e.g.
thermo
andspecies(thermo)
?) and update header#include
statements. Eliminatetpx
folders and potentially clarify nameSub.h
. Deprecate location of original files by creating (almost empty) placeholder files that#include
moved files while issuing compiler warnings.References
Issues #6 and #20.
The text was updated successfully, but these errors were encountered: