Commit graph

1033 commits

Author SHA1 Message Date
Ray Speth
4669b9cf5a Fix miscellaneous spelling errors 2016-12-30 13:26:50 -05:00
Ray Speth
aa4d07f543 [Thermo] Allow discontinuous thermo warnings to be suppressed
Resolves #354
2016-11-26 00:57:23 -05:00
Ray Speth
469cc63d99 Remove unused code from ReactionPathBuilder 2016-11-25 23:42:01 -05:00
Ray Speth
50ad75f2a2 [Reactor] Make ReactorNet uncopyable 2016-11-14 20:34:45 -05:00
Ray Speth
6dc92b618f [Doc] Eliminate some Doxygen and Sphinx warnings 2016-11-14 17:43:45 -05:00
Ray Speth
0bfdf146c0 [1D] Include transport derivatives when computing Jacobian for adjoint 2016-11-12 14:48:01 -05:00
Ray Speth
ca8b101acc [1D] Add general support for calculating adjoint sensitivities 2016-11-12 14:48:01 -05:00
Ray Speth
b9ac39bf68 [Numerics] Failures in BandMatrix raise exceptions
Store the 'info' flag returned by the underlying LAPACK function so that callers
can catch the exception and retrieve this information if desired.

Eliminate automatic 'bandmatrix.csv' output.
2016-11-11 23:18:22 -05:00
Ray Speth
43f7bc8cdf [Numerics] Remove trailing commas when printing Array2D and BandMatrix 2016-11-11 23:06:35 -05:00
Ray Speth
454f156764 [Numerics] Deprecate GeneralMatrix::nRowsAndStruct 2016-11-11 23:06:35 -05:00
Ray Speth
d34b94230f [Thermo] Deprecate ThermoPhase::setSpeciesThermo 2016-11-11 23:06:35 -05:00
Ray Speth
67ac725731 [Thermo] Eliminate manual memory management in VPStandardStateTP 2016-11-11 23:06:35 -05:00
Ray Speth
56b6b2a233 Deprecate deepStdVectorPointerCopy 2016-11-11 23:06:35 -05:00
Ray Speth
5641fa83e9 [clib/Matlab] Add function for getting Cantera version 2016-11-11 23:06:35 -05:00
Ray Speth
902ab5cccd [clib] Improve consistency of function names 2016-11-11 23:06:35 -05:00
Ray Speth
8b9499160a [clib] Remove wrapper for deprecated 'showErrors' function 2016-11-11 23:06:35 -05:00
Bryan W. Weber
44b2186146 [1D] Remove default argument from setMaxGridPoints 2016-11-11 17:40:46 -05:00
Bryan W. Weber
6acf755670 [1D] Add maxPoints and maxGridPoints functions 2016-11-11 17:40:46 -05:00
Ray Speth
fb9a4b1d61 Deprecate RootFind 2016-11-04 11:36:13 -04:00
Ray Speth
da87260062 [Thermo] Replace RootFind with Boost in RedlichKwongMFTP
As previously implemented, calling densSpinodalLiquid or densSpinodalGas would
crash since the pointer fdpdv_ was uninitialized, and furthermore could not even
be initialized with an instance of the spinodalFunc class because this class was
abstract.

Also fix densSpinodalLiquid and densSpinodalGas to actually calculate the roots
of the equation of state which are used as bounds for the search interval.
2016-11-04 11:36:13 -04:00
Ray Speth
145335880f [SCons] Move PCH-related files out of include to avoid installing them 2016-11-04 11:36:13 -04:00
Bryan W. Weber
6690b964be Fix rcond unintialized warning 2016-10-31 17:14:26 -04:00
Bryan W. Weber
1cdc6b6d7e Add C-Lib and Matlab interface to getDataDirectories 2016-10-31 17:14:26 -04:00
Bryan W. Weber
d1c2ec48e7 Add function to get the data directories Cantera searches 2016-10-31 17:14:26 -04:00
Ray Speth
b01f9cd1e7 [1D] Remove temperature state variable from Surf1D and ReactingSurf1D 2016-10-30 21:35:20 -04:00
Ray Speth
0740131272 [1D] Remove 'dummy' variable from 1D boundaries
Affects Empty1D, Symm1D, OutletRes1D, Outlet1D
2016-10-30 21:35:20 -04:00
Ray Speth
52727a9550 [1D] Eliminate unnecessary state variables from Inlet1D
We do not need to solve the trivial equations 'T = Tin' and 'mdot = mdot_in'.
2016-10-30 21:35:20 -04:00
Ray Speth
388dbafb39 Deprecate wrapString 2016-10-28 18:38:23 -04:00
Ray Speth
7a24dc3817 Replace lowercase with boost string algorithms 2016-10-28 18:20:11 -04:00
Ray Speth
2a8ac43308 [SCons] Add fmt.h to system.h and improve PCH dependency handling 2016-10-28 12:40:53 -04:00
Ray Speth
e3dfc35ca1 [SCons] Use precompiled header to speed up compilation with MSVC
Update Appveyor config to turn off debug info so PCH can be used
2016-10-28 12:05:46 -04:00
Ray Speth
cbcce07981 [SCons] Use precompiled header to speed up compilation with GCC/Clang 2016-10-27 19:59:35 -04:00
Ray Speth
b25784dc09 Replace stripws with boost::algorithm::trim_copy 2016-10-27 11:28:03 -04:00
Ray Speth
2db7ebc55c [clib] Update declaration for stflow_setTransport 2016-10-24 19:00:36 -04:00
BangShiuh
859eb6b94a [1D] Deprecate 'withSoret' argument of setTransport 2016-10-24 18:57:05 -04:00
Ray Speth
ecb2868a18 [Reactor] Suppress recoverable errors in RHS function by default
Accumulate errors and show them if the integrator actually fails. In "verbose"
mode, the errors are shown as they occur.
2016-10-23 22:42:53 -04:00
Ray Speth
f6df8f31b3 [TPX] Move function implementations out of Sub.h 2016-10-19 17:40:50 -04:00
Ray Speth
478a62d2af [Thermo] Make tolerances used in state setters more consistent 2016-10-19 12:55:18 -04:00
Ray Speth
89d0c5601f [Python] Add CanteraError class for execptions
Anything that raises a CanteraError in C++ will now raise CanteraError in
Python, instead of the more generic RuntimeError.

This change increases the required Cython version to 0.23 or newer.
2016-10-18 22:58:14 -04:00
Ray Speth
8a9eabeeac [clib] Add buffer length argument to all functions returning strings
If the buffer is not long enough, the string is truncated and the return value
is the required buffer length. Otherwise, the return value is 0.
2016-10-18 11:21:42 -04:00
Ray Speth
5f0e20bf93 [clib] Rename some functions to increase consistency 2016-10-17 19:15:38 -04:00
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
fd3f2c72fb [clib] Remove ctbdry.h which declared only undefined functions 2016-10-15 20:50:15 -04:00
Ray Speth
b51c1b8e4e [clib] Fix const-ness of clib function arguments 2016-10-15 20:50:15 -04:00
Ray Speth
40630a3ab4 Fix const-ness of some function arguments 2016-10-15 20:50:15 -04:00
g3bk47
83989824ea [1D] made Domain1D::grid(size_t) a const member function 2016-10-15 18:24:35 -04:00
g3bk47
e83b095c3a [Kinetics] added const version of Kinetics::reaction 2016-10-15 18:24:35 -04:00
Ray Speth
5af1dfd29c Add notices to documentation for classes with no tests or examples
See #267
2016-10-13 18:40:03 -04:00
Ray Speth
e6bf450620 [Kinetics] Simplify logic in C_AnyN::multiply 2016-10-13 18:40:03 -04:00