Commit graph

6183 commits

Author SHA1 Message Date
Ray Speth
3b522dcfb0 [Python/1D] Print exception messages after failed auto-solve attempts
This helps with debugging cases where the solver fails, especially, if the
failures are not convergence-related and cannot be resolved by successive
attempts at solving the problem.
2016-07-25 15:33:07 -04:00
Ray Speth
feca44aa2d [SCons] Install to lib64 directory on operating systems that use this
Resolves #318.
2016-07-25 14:42:46 -04:00
Ray Speth
908e620325 [SCons] Generate versioned shared objects for cantera_shared.so
See #318.
2016-07-25 14:42:45 -04:00
Ray Speth
9b318f3c90 [SCons] Always link cantera_shared to its dependencies
This is not strictly required on Linux, but it doesn't hurt.

See #318.
2016-07-25 14:42:45 -04:00
Ray Speth
9a309ee410 [Equil] Deprecate some unused VCS-related functions 2016-07-22 13:51:29 -04:00
Ray Speth
ba3a0ee3e9 [Equil] Deprecate broken version of VCS phase stability check feature
Resolves #331.
2016-07-22 13:51:16 -04:00
Ray Speth
bc609ce2da [SCons] Fix Makefiles generated for C++ examples
- Use CXXFLAGS to pass flags to C++ compiler (not CCFLAGS)
- Set CXXFLAGS based on flags that Cantera was compiled with (which will include
  things like -pthread and -std=c++0x as necessary
- Remove incorrect / unused target for the target binary
- Add the generated binary to things remove by 'make clean'
2016-07-22 13:09:54 -04:00
Ray Speth
3261b4108a [SCons] Link Fortran sample programs to the correct standard library 2016-07-20 18:43:41 -04:00
Ray Speth
91161f0bc2 [SCons] Make check for Fortran compiler more robust
If we can compile and run an F90 program that is sufficient. The
previous test required the C compiler to be able to link to the
Fortran standard library, which isn't actually necessary, and would
fail in some cases (such as brew-installed gfortran on OS X).
2016-07-19 18:31:17 -04:00
Ray Speth
8ef4f6445f [SCons] Validate values of target_arch 2016-07-19 17:41:16 -04:00
Ray Speth
aa42aa5c81 [ck2cti] Add tests for surface mechanism conversion 2016-07-15 17:57:13 -04:00
Ray Speth
cff277d350 [ck2cti] Add support for sticking reactions 2016-07-15 17:57:13 -04:00
Ray Speth
ff3429faa9 [ck2cti] Support different units in different REACTIONS sections
This is helpful when combining gas and surface mechanisms which may be written
using different energy units.
2016-07-15 17:57:13 -04:00
Ray Speth
de9bb5b1c9 [ck2cti] Add support for surface coverage dependencies 2016-07-15 17:57:13 -04:00
Ray Speth
db90a7c0a1 [ck2cti] Support conversion of surface mechanism files 2016-07-14 22:19:33 -04:00
Ray Speth
bdb088da53 [SCons] Check for numpy before deciding to build the Python3 module 2016-07-13 17:11:34 -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
69f25b41dc [Matlab] Fix default threshold value when displaying phase info
At some point (after version 2014b), Matlab started passing an additional
argument to 'display', which broke the logic for setting the default
threshold. This caused all composition data to be excluded from the report shown
by typing the name of the phase object.
2016-07-13 17:11:34 -04:00
Ray Speth
00d254a1c2 [Python] Add function to write CSV file from SolutionArray 2016-07-13 17:11:34 -04:00
Ray Speth
faa4c36e1d [Python/Examples] Update examples to use new SolutionArray features 2016-07-09 19:15:07 -04:00
Ray Speth
8ffbbea93f [Python/Examples] Save correct system state after integration step 2016-07-09 19:15:07 -04:00
Ray Speth
b4f2f82fe3 [Python/Examples] Rename 'gri3' to more generic 'gas' 2016-07-09 19:15:07 -04:00
Ray Speth
001b7e91eb [Python] Add species slicing support to SolutionArray 2016-07-09 19:15:07 -04:00
Ray Speth
f2ac1f2347 [Python] Allow SolutionArray to carry 'extra' variables 2016-07-09 19:15:07 -04:00
Ray Speth
59e0f5a6d9 [Python/Examples] Update examples to use SolutionArray 2016-07-09 19:15:07 -04:00
Ray Speth
beb2056926 [Python/Test] Add tests for SolutionArray 2016-07-09 19:15:07 -04:00
Ray Speth
69bec844fd [Python] Fix setting composition using arrays with singleton dimensions 2016-07-09 19:15:07 -04:00
Ray Speth
deafbf8888 [Python] Allow setting SolutionArray using mass/mole fraction arrays 2016-07-09 19:15:07 -04:00
Ray Speth
00b104af50 [Python/Doc] Add documentation for class SolutionArray 2016-07-09 19:15:07 -04:00
Ray Speth
2d32a35eab [Python] Make SolutionArray compatible with InterfacePhase 2016-07-09 19:15:06 -04:00
Ray Speth
366ff043ff [Python] Make SolutionArray compatible with PureFluid 2016-07-09 19:15:06 -04:00
Ray Speth
5c23ea3b4c [Python] Implement SolutionArray.append 2016-07-09 19:15:06 -04:00
Ray Speth
b51b844fb4 [Python] Add more properties to SolutionArray
Add Kinetics and Transport properties, as well as pass-throughs for properties
and functions which are independent of the state.
2016-07-09 19:15:06 -04:00
Ray Speth
21a1be8e0a [Python] Add Solution.state to allow faster iteration over states 2016-07-09 19:15:06 -04:00
Ray Speth
78d275b2a2 [Python] Basic implementation of SolutionArray for thermo properties 2016-07-09 19:15:06 -04:00
Ray Speth
63ab59a586 [Doc] Remove references to CTI class for redlich_kwong 2016-07-08 00:15:54 -04:00
Ray Speth
0d7cc10f99 [Doc] Fix some Doxygen warnings 2016-07-07 23:37:03 -04:00
Ray Speth
bd8a5d0bc9 [Transport] Replace numerical constants for Transport types with strings 2016-07-07 22:52:25 -04:00
Ray Speth
45099255de Deprecate Factory pointer argument to "newFoo" convenience functions 2016-07-07 21:36:11 -04:00
Ray Speth
7f21aa0f45 [Kinetics] Replace numerical constants for Kinetics types with strings 2016-07-07 21:36:11 -04:00
Ray Speth
3b0cf9f832 [Thermo] Make SSVolume_Model_enumType local to class PDSS_SSVol 2016-07-07 21:36:11 -04:00
Ray Speth
0f71bbcec5 [Thermo] Replace numerical constants for ThermoPhase types with strings
Deprecate ThermoPhase::eosType and related methods
2016-07-07 21:36:11 -04:00
Ray Speth
0de6c01384 [Thermo] Deprecate numerical constants for PDSS types 2016-07-05 23:01:14 -04:00
Ray Speth
39c234ac4b [Thermo] Deprecate numerical constants for VPSSMgr types 2016-07-05 22:49:56 -04:00
Ray Speth
62524e8820 [Equil/Test] Fix failures involving use of global variables
Direct use of "global" variables defined in the shared library results in
inconsistent behavior.
2016-07-05 17:12:13 -04:00
Ray Speth
72d8bb014a [SCons] Fix license file generation when using system version of fmt 2016-07-05 15:11:33 -04:00
Ray Speth
97e84aaf9b [SCons] Fix auto-update of fmt submodule 2016-07-05 14:25:28 -04:00
Ray Speth
d4ddabc76c Use system-installed version of fmt library if available
Resolves #348.
2016-07-05 14:17:01 -04:00
Ray Speth
4e23793ebd Update fmt to version 3.0.0 and fix compatibility issues
Resolves #349.
2016-07-05 13:52:46 -04:00
Ray Speth
f985169e93 Introduce basic registration capabilities for factories 2016-07-04 16:01:31 -04:00