Commit graph

6356 commits

Author SHA1 Message Date
Ray Speth
5861bc174d [Test] Remove unused files from test_problems directory 2016-11-14 00:16:34 -05:00
Ray Speth
0d241fd64a Use toSI instead of explicit constant for unit conversions 2016-11-13 22:58:15 -05:00
Ray Speth
955d5de98a [Equil] Eliminate use of 'goto' in vcs_MultiPhaseEquil 2016-11-13 22:23:04 -05:00
Bryan W. Weber
7d3ebdd358 [SCons] Check for NumPy using python_cmd if specified 2016-11-12 17:40:11 -05:00
Bryan W. Weber
adcd5dec3c [SCons] Use python3_array_home option 2016-11-12 17:40:11 -05:00
Ray Speth
170f1d0fad [1D/Python] Avoid unnecessary solve if first attempt succeeded 2016-11-12 16:15:38 -05:00
Ray Speth
4753ae4a86 [1D/Python] Add adjoint laminar flame speed sensitivity calculation
This is approximately an order of magnitude faster than the 'forward' method for
calculating these sensitivities. It also eliminates the need to adjust the
solver tolerances.
2016-11-12 14:48:01 -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
2d623e893e [Python] Fix documentation for Sim1D.set_steady_callback 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
583b715fca [Test] Remove obsolete note on limitation for surfSolver test input 2016-11-11 23:06:35 -05:00
Ray Speth
8e7978959d [Doc] Fix typo in installation docs 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
Ray Speth
9c44db371a [SCons] Fix option to build with PCH disabled 2016-11-11 23:06:35 -05:00
Ray Speth
828fba5611 [CTI] Improve error messages associated with problematic reactions 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
4fb0d52d4b [Test] Remove printed output from tests 2016-11-11 17:40:46 -05:00
Bryan W. Weber
06a739d26e [Test/1D] Add tests for max_grid_points 2016-11-11 17:40:46 -05:00
Bryan W. Weber
3fd46f7a1f [Cython/1D] Modify the auto solver so the minimal code is in the try block.
This ensures we only catch an error from a single solve call so it is handled properly.
2016-11-11 17:40:46 -05:00
Bryan W. Weber
c91bdee2e2 [Cython/1D] Raise an error if the auto solver exceeds the max number of grid points 2016-11-11 17:40:46 -05:00
Bryan W. Weber
0b9a741597 [1D] Change the default max number of grid points to 1000.
The previous default was 3000, which was very high for most domains.
2016-11-11 17:40:46 -05:00
Bryan W. Weber
0a363a108d [1D] Exceeding the max number of grid points should be an error 2016-11-11 17:40:46 -05:00
Bryan W. Weber
a82dd5a483 [Cython/1D] Add Cython interface for getting/setting max_grid_points 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
Bryan W. Weber
4e1c45c2aa [Test] Fix typo in test_multiComponent 2016-11-10 15:16:10 -05:00
Bryan W. Weber
e235f69543 [Cython/Test] Make python tests portable 2016-11-10 15:16:10 -05:00
Bryan W. Weber
fc9270786f [Cython/Test] Add working directory attributes to CanteraTest class 2016-11-10 15:16:10 -05:00
Bryan W. Weber
32ab413683 Add *.gch files to gitignore 2016-11-10 15:16:10 -05:00
Bryan W. Weber
ea4b3502c3 [Cython/Test] Install extra data files from main data directory 2016-11-10 15:16:10 -05:00
Ray Speth
361ca83891 [CI] Upgrade pip when building on AppVeyor
Warning messages from older pip versions cause AppVeyor to think that the build
has failed and abort.
2016-11-05 16:24:33 -04:00
Ray Speth
deeb6198a0 [Test] Add test of clib 2016-11-04 19:15:07 -04: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
Ray Speth
baa0a24905 [SCons] Fix permissions error when installing to stage directory 2016-11-02 21:37:42 -04:00
Ray Speth
19c71f5397 Update libfmt submodule to version 3.0.1
Fixes compilation problems on Cygwin
2016-11-02 19:40:28 -04:00
Ray Speth
334b154eef [SCons] Prevent full rebuild after change to precompiled header 2016-11-02 18:36:50 -04:00
Ray Speth
b7e4902035 [Doc] Describe boundary conditions for 1D flames 2016-11-02 18:36:50 -04:00
Ray Speth
530d503848 [Doc] Describe governing equations for 1D flames 2016-11-02 18:36:50 -04:00
Ray Speth
a01032cd2d Resolve some compiler warnings 2016-11-02 18:36:50 -04:00
Bryan W. Weber
d59cae1e3c Add config.h.build to gitignore 2016-10-31 17:14:26 -04:00
Bryan W. Weber
7ef43421b4 Fix typo in application.h 2016-10-31 17:14:26 -04:00