Commit graph

14 commits

Author SHA1 Message Date
Steven DeCaluwe
2d2004da7e Exposing getDeltaEnthalpies to Matlab interface.
The general intent here was to enable calculating reaction enthalpies in the
Matlab toolbox, as part of the li-ion battery simulations in PR #563.

This required several changes:

- Create getDeltaEnthalpies.m in Matlab toolbox/@Kinetics, as well as similar
methods for Gibbs free energy and entropy of reaction
- Add kin_getDelta to kineticsmethods.cpp.
- Add getPartialMolarEnthalpies to metalPhase class (it returns all zeros).

Note that similar methods are not enabled for the corresponding
'Standard State' methods, for the time being.  Mainly because it is
difficult for me to envision a significant use case, but also because of
some lingering confusion between 'standard' and 'reference' states in
Cantera's codebase.
2019-06-27 18:03:07 -04:00
Ray Speth
901ec2f12c [Matlab] Construct objects directly from input file names
Bypass reading and manipulation of XML files within Matlab, so that XML, CTI,
and YAML input files can all be used.
2019-06-25 22:30:59 -04:00
Ray Speth
35be561d99 [Matlab] Eliminate unnecessary copy-constructor-like option 2019-02-04 16:38:40 -05:00
Ray Speth
831b92dac4 [Doc/Kinetics] Clarify values returned by getFwdRateConstants 2018-01-06 21:27:42 -05:00
Ray Speth
7673f7cb52 Remove code deprecated in Cantera 2.3.0 2017-02-12 19:22:33 -05:00
Bryan W. Weber
c6ac27b07c [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
Bryan W. Weber
0c1688a361 [Matlab] Switch to explicit class specific hndl functions. Deprecate generic hndl functions 2014-07-18 14:34:54 +00:00
Bryan W. Weber
ab251257e5 [Matlab] Trivial changes to variable names and whitespace for consistency 2014-07-18 14:33:09 +00:00
Bryan W. Weber
120c6e742c [Matlab] Add fwdRateConstants and revRateConstants functions
Resolves Issue 125.
2014-01-06 18:46:36 +00:00
Ray Speth
3a308a041f [Matlab] Remove broken rxnEqs function
"ReactionEqn" is the working alternative. See Issue 118.
2014-01-06 18:46:25 +00:00
Ray Speth
e4f2acaf3d Fixed issues with Matlab toolbox identified by the code analyzer 2012-03-15 19:54:41 +00:00
Ray Speth
790d40b00c Normalized whitespace and indentation in the matlab toolbox 2012-03-15 19:52:58 +00:00
Ray Speth
7676097b4a Removed execute permission from nonexecutable files 2012-03-13 17:32:41 +00:00
Ray Speth
2528df0f75 Reorganized source tree structure
These changes make it unnecessary to copy header files around during
the build process, which tends to confuse IDEs and debuggers. The
headers which comprise Cantera's external C++ interface are now in
the 'include' directory.

All of the samples and demos are now in the 'samples' subdirectory.
2012-02-12 02:27:14 +00:00