Ray Speth
025da8b4c0
[Matlab] Remove broken ck2ctml function
...
There are three problems with this function. It does not work, since
it calls ctmethods with the wrong number of arguments. Even if that
were fixed, it wouldn't do what it claims, as the method it calls
generates a CTI file, not an XML file. Finally, it is redundant, as
the 'ck2cti' function can be used for generating the CTI file, and the
CTI to XML conversion is handled automatically when importing the
phase.
Therefore, this function is being removed.
2013-12-06 23:15:08 +00:00
Ray Speth
af0b0f2211
[Python/Test] Run tests that were being accidentally ignored
2013-12-05 20:54:11 +00:00
Ray Speth
1a291b47fe
[CTI] Add optional 'note' field to Phase definitions
...
The note field is preserved when converting to XML, and can be used to
store extra information used by applications other than Cantera.
2013-12-05 20:54:08 +00:00
Ray Speth
7f35228e3f
[Cython] Expose global 'appdelete' method
...
Occasionally useful for debugging memory leaks
2013-12-05 20:54:06 +00:00
Ray Speth
fb9de92058
[Docs] Fix typos in a few equations
2013-12-05 20:54:03 +00:00
Ray Speth
75bc6312ab
[Matlab/Samples] Fix tolerances on flame example
2013-12-05 20:54:01 +00:00
Ray Speth
681a08fc8d
Fix issues with pure fluids near temperature limits
...
Fixes Issue 186.
2013-11-12 23:44:51 +00:00
Ray Speth
81a8274e99
[Cython] Add 'atomic_weight' method and 'atomic_weights' property
...
Resolves Issue 185.
2013-11-12 23:44:46 +00:00
Ray Speth
bbaf0ff7a0
Fix CXX flags for VS2012
...
Resolves Issue 184.
2013-11-12 23:44:42 +00:00
Ray Speth
d7c939e60c
[Cython/Doc] Migration guide covers transport model and Soret effect
2013-11-03 21:06:54 +00:00
Ray Speth
6d7ec8df43
[Matlab] Fix 'thermalConductivity' method
2013-11-03 20:46:38 +00:00
Ray Speth
8b435f6dcb
[SCons] Fix a problem with Cantera.mak and user-provided BLAS/LAPACK
...
All cases need to define the mak_blas_lapack_libs_dep variable that
was introduced in r2535.
2013-10-21 01:55:47 +00:00
Ray Speth
e1074722c5
[SCons] Restore 'single_library' build option
...
The 'single_library=y' build option must be retained in order to support
compilation on Windows and OS X.
2013-10-04 16:22:55 +00:00
Ray Speth
5fff5ce99f
[Thermo] Slightly simplify adding species
...
Eliminate the freezeSpecies and init methods of class Phase, instead adjusting
array sizes as new species are added.
2013-10-04 16:22:35 +00:00
Harry Moffat
5720d7cf90
Fixed an error where the users data was changed before it was used.
...
Eliminated some deprecations which were not sanctioned.
Worked on Cantera.mak. There is a problem with scons eliminating $ from strings.
2013-09-06 22:52:59 +00:00
Harry Moffat
cfa4493b51
Worked on fixing errors in the code that caused problems with downstream code.
...
Took out single_species compilation option
took out some deprecated warnings
Fixed an error in copy constructors for thermo.
Still an error with PYTHONPATH and the test suite
-- more to come.
2013-09-02 00:58:28 +00:00
Ray Speth
0295f975e0
[Reactor] Refactor handling of sensitivity parameters in evalEqs
2013-07-30 15:57:48 +00:00
Ray Speth
957c88fcff
Bump version to 2.1.0
2013-10-24 02:40:14 +00:00
Ray Speth
be1573e85e
[SCons] Fix undefined build variable when building MSI
2013-10-24 02:40:12 +00:00
Ray Speth
904e3e66e9
[ck2cti] Accept reaction units declared in either order
...
That is, energy followed by quantity or quantity followed by energy.
2013-10-21 22:13:00 +00:00
Ray Speth
c885a88817
Use fully qualified names for isnan, isinf, and finite
...
Specify the versions in the global namespace, to avoid ambiguity
between these and the versions in namespace std that are available in
C++11.
2013-10-21 22:12:57 +00:00
Ray Speth
94f1b35b79
[ck2cti] Partial support for scientific notation in stoichiometric coefficients
...
This won't work for positive exponents, because the '+' will still be
interpreted as a delimiter between terms of the reaction expression.
2013-10-21 01:55:18 +00:00
Ray Speth
6d5b7999de
[SCons] Use specified 'python_compiler' to link Python module
...
Fixes Issue 179.
2013-10-15 17:06:35 +00:00
Ray Speth
f871dd8cf0
[SCons] Add 'python_compiler' option for Cython module compilation
2013-10-15 14:59:31 +00:00
Ray Speth
335e8fcd07
[Samples] Fix missing includes in C++ sample programs
2013-10-07 15:17:28 +00:00
Ray Speth
584392d856
[SCons] Fix linking boost_thread in more places
2013-09-30 16:02:39 +00:00
Ray Speth
c028f4cc5c
[SCons] Link boost_thread when building cti2ctml
...
Fixes compilation errors with some versions of Boost.
2013-09-30 01:54:18 +00:00
Ray Speth
2de0ae6350
[SCons/Cython] Fix library_dirs to include BLAS/LAPACK directory
2013-09-30 01:54:12 +00:00
Ray Speth
ddb8bf8eb8
[OneD] Make StFlow::componentIndex virtual
2013-09-30 01:54:06 +00:00
Ray Speth
8498123689
[ck2cti] Show line number for some parsing errors
2013-09-30 01:54:00 +00:00
Ray Speth
f95bc8fb43
[Equil] Avoid floating point overflow from pressure term
...
Since computing the residual norm effectively requires p**2, the
correct limit to avoid an overflow is sqrt(DBL_MAX), or roughly
exp(300).
This change fixes crashes due to SIGFPE in cases where floating point
exceptions have been enabled, and also fixes a few cases where the
solver did not previously converge.
2013-09-30 01:53:54 +00:00
Ray Speth
2ac98393bd
[Equil] Remove a calculation with an unused result
2013-09-30 01:53:48 +00:00
Ray Speth
a6f4c111e7
[Cython] Add declarations for free functions to _cantera.pxd
2013-09-30 01:53:40 +00:00
Ray Speth
0458eb736f
[Cython] Add __init__.pxd to allow 'from cantera cimport ...'
2013-09-28 18:18:23 +00:00
Ray Speth
a6ce399374
[Cython] Move extra Cython-related headers to main include directory
2013-09-28 18:18:12 +00:00
Ray Speth
332569114e
[Cython] Install headers needed for derived Cython modules
2013-09-25 23:05:21 +00:00
Ray Speth
7520170f30
[Cython] Improve support for building derived Cython modules
...
The .pxd file now contains declarations for all of the cdef classes,
and is installed with the module.
2013-09-25 22:57:36 +00:00
Ray Speth
55ece82319
[clib] Fix bounds check on getMolecularWeights
...
The incorrect bounds check here caused problems with phases where
there were more elements than species.
Fixes Issue 173.
2013-09-19 14:49:09 +00:00
Ray Speth
dab827d763
[ck2cti] Make permissive mode default when run from Matlab or C++
2013-09-12 16:04:13 +00:00
Ray Speth
8a58b12698
[ck2cti] Fix to work with Cython module when called from Matlab or C++
2013-09-12 16:04:04 +00:00
Ray Speth
721f0266be
[SCons] Fix some dependency issues for building "ctpath.m"
2013-09-06 20:34:18 +00:00
Ray Speth
7683677cac
Bump version to 2.1.0b3
2013-09-01 00:33:55 +00:00
Ray Speth
b0635fe748
[SCons] Fix compilation of Python 3 module when PYTHONHOME is set
2013-09-01 00:33:49 +00:00
Ray Speth
9f90edc313
[SCons] Update version information for Windows installer
2013-09-01 00:33:43 +00:00
Ray Speth
fc878f09fd
[SCons] Include Sundials library and header files in Windows installer
2013-09-01 00:33:37 +00:00
Ray Speth
1969a4d399
[SCons] Add configuration option for specifying required Boost libraries.
...
The set of Boost libraries which are required by Cantera, through the use of
Boost.Thread, depends on the Boost version. The static libraries are needed
when compiling anything that links to Cantera, so these libraries are copied
to the Cantera installation directory on Windows, where compiling Boost from
source is a burden.
2013-09-01 00:33:32 +00:00
Ray Speth
93e672046a
[Doc] Update docs for ReactionData and SurfaceArrhenius
2013-09-01 00:33:27 +00:00
Ray Speth
cf0a418027
[Reactor] Fix segfault when requesting sensitivities at t = 0
2013-09-01 00:33:19 +00:00
Ray Speth
7447c5957d
[Thermo] Fix deleting objects that have manually-added species
2013-09-01 00:33:06 +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