Ray Speth
100d6db87b
[clib] Combine "phase_" and "th_" prefixes as "thermo_"
2016-10-17 19:15:38 -04:00
Ray Speth
bdda7b5eaf
[clib] Remove some redundant/unusable/unnecessary functions
2016-10-17 19:15:36 -04:00
Ray Speth
a8c6158543
[Matlab] Remove partial implementations of unneeded methods
2016-10-17 18:42:27 -04:00
Ray Speth
deee889baf
[clib] Make clib headers public
2016-10-13 18:40:03 -04:00
Ray Speth
ae6e7fdff7
Add license/copyright info to files that were missing it
2016-10-10 22:48:23 -04:00
Ray Speth
e332fcbba2
[clib] Make clib actually usable as a C (not C++) interface
...
- Cannot include any C++ headers or use C++ types (e.g. 'bool')
- Functions arguments cannot have default values
- "extern C" needs to be wrapped by "#ifdef __cplusplus"
2016-09-19 18:48:40 -04:00
Bryan W. Weber
8ada40f0be
[Matlab] Add interface to setChemistry
2016-08-12 11:53:53 -04:00
Ray Speth
e2d7e178b3
[SCons/Matlab] Link statically to libstdc++ on Linux
...
Matlab 2016a now uses some C++11 features, and symbols included in some of the
Matlab libraries conflict with the versions from system libraries that Cantera
is compiled with and expects to find, resulting in difficult-to-diagnose memory
errors.
2016-07-13 17:11:34 -04:00
Ray Speth
a7aec575a9
[Matlab] Make ReactorSurface available in Matlab
2016-06-28 14:37:59 -04:00
Bryan W. Weber
bff8d10609
[Matlab] Add interface to the new PureFluid property pairs
2016-01-25 13:14:50 -05:00
Ray Speth
ac9dfa055c
[Thermo] Synchronize Mixture/Multiphase state before printing report
...
Do not assume that the states of the individual ThermoPhase objects still
correspond to the state of the mixture object. See #306 .
2015-11-12 12:42:35 -05:00
Steven DeCaluwe
14864e840b
Extend NoNorm option for setCoverages to the Matlab toolbox
...
Because normalizing the species coverages leads to incorrect Jacobian
calculations, it is sometimes necessary to not normalize the coverages.
As for bulk species mass/mole fractions, this option is currently only
available when passing the coverages as a vector (i.e., not available
for string identifiers).
2015-11-07 21:14:03 -05:00
Ray Speth
0e4b0cba0f
[Matlab] Fix error handling for nAtoms to avoid false positives
...
Species can have negative "atoms" of an "element" in the case where the element
is an electron and the species is a positive ion.
2015-09-08 12:26:58 -04:00
Ray Speth
acdf9cf0ed
Clean up interstitial whitespace
...
Remove extra space around operators, between words, etc.
2015-08-02 23:06:16 -04:00
Ray Speth
e4c45b6429
General whitespace cleanup
...
Remove unnecessary blank lines and trailing whitespace. Replace tabs with
spaces.
2015-08-02 23:06:15 -04:00
Ray Speth
619cd20f14
Fix badly-formatted else/else if/catch clauses
2015-08-02 23:06:15 -04:00
Ray Speth
6cc5652de6
Remove commented-out code
2015-07-20 17:20:46 -04:00
Ray Speth
f1f10b6526
Remove unused, deprecated code marked for removal after Cantera 2.2
2015-07-15 12:08:50 -04:00
Bryan W. Weber
60827267b7
Add MATLAB interface to the setState_RP function
2015-06-15 17:47:37 -04:00
Ray Speth
b495262aff
[Matlab] 'cleanup' now deletes all Cantera objects
...
'cleanup' previously only deleted ThermoPhase, Kinetics, Transport, Domain1D,
Sim1D, and XML_Node objects, while missing all objects associated with reactor
networks (Reactor, ReactorNet, FlowDevice, Wall), MultiPhase, Func1, and
reaction paths (ReactionPathBuilder, ReactionPathDiagram).
Fixes #251 .
2015-04-08 23:08:42 -04:00
Ray Speth
044235c065
[SCons] Remove unnecessary uses of pjoin
2014-10-08 16:54:49 +00:00
Bryan W. Weber
32d5d7b8b2
[Matlab] Fix build warnings about Contents.m
2014-08-26 22:04:50 +00:00
Bryan W. Weber
b7bce3f66d
Fix errors in MATLAB compiling on Windows. Fixes Issue 85.
2014-08-26 12:15:01 +00:00
Bryan W. Weber
ad3ac0a1ad
[Matlab/Doc] Add automatically generated Contents.m to the toolbox.
2014-07-18 14:37:47 +00:00
Ray Speth
ea3f74eb27
[Thermo] 'report' only prints species with non-trivial mole fractions
...
The threshold for printing species is a new, optional parameter to the
'report' function. If any species are excluded, the total number of
minor species and their aggregate mass and mole fraction are printed.
2014-06-03 16:54:15 +00:00
Ray Speth
789574ac80
Remove commented-out code
2014-05-27 02:52:21 +00:00
Ray Speth
ea040e1a5e
[SCons] Always link to static standard libraries with MinGW
2014-02-24 03:25:34 +00:00
Ray Speth
4ca1d9dd1d
[Matlab] Fix detection of errors when importing Kinetics
...
Cast the unsigned return type of newKineticsFromXML to a signed type so that the
check on the Matlab side (which looks at the sign of the return value) can
detect and report errors.
2014-02-13 22:26:45 +00:00
Ray Speth
e59a7a7eeb
[1D] Eliminate deprecated methods of Domain1D
2014-01-30 00:47:52 +00:00
Bryan W. Weber
a689717a7a
[Matlab] Add isothermalCompressibility and thermalExpansionCoeff functions
...
Resolves Issue 157.
2014-01-08 17:10:41 +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
f63f8ae57e
Remove deprecated HTML logging functionality
2013-12-09 01:36:11 +00:00
Ray Speth
6d7ec8df43
[Matlab] Fix 'thermalConductivity' method
2013-11-03 20:46:38 +00:00
Ray Speth
721f0266be
[SCons] Fix some dependency issues for building "ctpath.m"
2013-09-06 20:34:18 +00:00
Ray Speth
717a2367b1
[Transport] Add electricalConductivity method to all language interfaces
...
Thanks to user 'hencken' for the patch.
Resolves Issue 171.
2013-08-23 17:43:55 +00:00
Ray Speth
dfe5945cd6
[Matlab] Add access to class FlowReactor
2013-08-02 23:17:54 +00:00
Ray Speth
9b6354b0c0
[SCons] Fix generation of ctpath.m
...
Was failing because of dependency on dynamically-generated 'python_module_loc'
variable.
2013-07-31 18:14:42 +00:00
Ray Speth
b7d4fbbe54
[clib] Fix error handling for MultiPhase objects
2013-07-26 21:33:59 +00:00
Steven DeCaluwe
6321cf4c8e
Removed calculatePsat from matlab toolbox, and overwrote 'satPressure' for MixtureFugacityTP
...
class to point to the calculatePsat function. Removed 'const' declaration from satPressure
within the ThermoPhase class.
2013-07-15 17:43:45 +00:00
Steven DeCaluwe
06d239a40a
Enabled use of the 'calculatePsat' function for MixtureFugacityTP thermo class
...
in the Matlab toolbox.
2013-07-03 15:44:52 +00:00
Ray Speth
7da738d238
Re-applied consistent formatting to trunk
...
Applied using: astyle -n --style=kr --add-brackets --indent=spaces=4
--indent-col1-comments --unpad-paren --pad-header --align-pointer=type
--lineend=linux
2013-02-07 23:40:59 +00:00
Ray Speth
11a11bea79
Removing deprecated / nonfunctional methods from Reactor
...
These functions / variables are for driving the time integration, which is
handled entirely by ReactorNet.
2012-10-12 20:34:33 +00:00
Ray Speth
021f66c755
Merge bug fixes from the 2.0 maintenance branch
2012-08-15 15:36:34 +00:00
Ray Speth
c092bbaede
Fixed the order of include and library directories when compiling
...
Include directories in the Cantera source tree should be listed first so that
they take precedence over headers from other installed copies of Cantera that
might end up on the include search path. This was potentially a problem when
Cantera was installed in the same location (e.g. /usr/local) as one of its
dependencies (e.g. Sundials).
The same logic applies to directories on the library link path.
2012-08-10 21:03:06 +00:00
Ray Speth
3ce3da1fa2
Fixed code formatting
2012-07-18 18:32:29 +00:00
Ray Speth
b5b536ff83
Removed some deprecated code
2012-07-16 22:19:10 +00:00
Ray Speth
02fdb22b2e
Fixed Matlab extension name on 32-bit platforms
2012-05-31 14:58:11 +00:00
Ray Speth
6011f24b38
Removed unnecessary WITH_FEATURE configuration options
2012-05-31 14:57:32 +00:00
Ray Speth
7cc9a15c33
Fixed a compiler warning when building a 32-bit Matlab extension with MSVC
2012-05-24 16:29:46 +00:00
Ray Speth
802f5e9f06
Fixed some issues installing the Matlab toolbox on Windows
2012-04-11 20:25:59 +00:00