Ray Speth
15755c1447
Pruning some dead code
2012-05-24 16:30:04 +00:00
Ray Speth
5ef6a024a9
Fixed some case statements that were missing a 'break'
2012-05-24 16:29:55 +00:00
Ray Speth
bb358e812f
Removed unnecessary manual memory management from equilibrate driver
2012-05-24 16:29:52 +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
5af70f3db8
Removed keyword-substitution cruft
2012-05-24 16:29:29 +00:00
Ray Speth
ee746bf895
Fixed a size_t-related error that caused Reactor walls to behave incorrectly
2012-05-24 16:29:20 +00:00
Ray Speth
d70507ad79
Fixed deletion of a bad pointer in CVodesIntegrator
...
m_fdata was not initialized to 0, so if the integrator was deleted before
initialize() was called, the destructor would attempt to delete it using the
uninitialized value.
2012-05-24 16:29:16 +00:00
Ray Speth
754faa3b13
Added option to ignore third-body efficiencies for undeclared species
...
To enable this option, in the phase definition, add
'skip_undeclared_third_bodies' to the list passed as the 'options'
argument.
2012-05-18 22:41:58 +00:00
Ray Speth
1d94cd39e3
Fixed compilation when setting "with_html_log_files=n"
2012-05-17 21:15:09 +00:00
Ray Speth
cbae64b079
Removed (broken) support for MPThreads (Mac OS 9)
2012-05-17 21:15:05 +00:00
Ray Speth
021e11456e
Fixed building with thread safety
2012-05-17 21:15:01 +00:00
Ray Speth
cc2ed9b751
Fixed some small problems with GasTransport
2012-05-13 22:41:20 +00:00
Ray Speth
6167a724e5
Added functions for computing alternate mixture-averaged diffusion coefficients
2012-05-11 15:27:56 +00:00
Ray Speth
49b631d346
Merged mixture-averaged diffusion coefficient calculations in GasTransport
2012-05-11 15:27:50 +00:00
Ray Speth
f8308d5853
Merged viscosity calculations from MixTransport and MultiTransport
2012-05-11 15:27:44 +00:00
Ray Speth
74e9fa050b
Removed a layer of indirection in MultiTransport property updaters
2012-05-11 15:27:38 +00:00
Ray Speth
c7af9ddf81
Improved convergence when solving for pure fluid saturated states
2012-05-11 15:27:33 +00:00
Ray Speth
3af22be158
Modified hydrogen equation of state to fix reference state
...
This makes the reference state for enthalpy and entropy agree with the
book from which the equation of state is taken (Reynolds, Thermodynamic
Properties in SI).
2012-05-07 18:20:23 +00:00
Ray Speth
eb12c611db
Fixed errors in implementation of carbon dioxide equation of state
...
The sign error in computing the entroy term proportional to G[0]
introduced errors in the entropy of about 3 percent.
2012-05-07 18:20:20 +00:00
Ray Speth
a4520bfe85
Added reference for the HFC-134a equation of state
2012-05-07 18:20:18 +00:00
Ray Speth
4ab7da72f7
Corrected entropy calculations for HFC-134a
2012-05-07 18:20:15 +00:00
Ray Speth
79a0165260
Removed unnecessary linker flags when building the Python extension
...
This resolves errors when compiling on OS X when the full set of
cross-compilers (e.g. for ppc) are not present, as well as several
warnings even when they are.
2012-05-07 18:20:05 +00:00
Ray Speth
58e3bade9a
Fixed value checks for falloff parameterizations
2012-04-27 21:20:46 +00:00
Ray Speth
d69eea2b3e
Dead code removal
2012-04-27 21:20:42 +00:00
Ray Speth
2193e4ceb0
Normalized formatting of Elements.h and Elements.cpp
2012-04-27 21:20:38 +00:00
Nicholas Malaya
79b29300a6
[cantera]: updating autotools build system. Library building, need to fix another test. Additionally, adding hypersonic flow transport model-- need to add hypersonic thermodynamics as well.
2012-04-25 13:18:25 +00:00
Ray Speth
34cffd0135
Fixed issues generating version-dependent installer for Windows Python module
...
Passing the '--target-version' option to bdist_msi will generate an
installer that requires the right version of Python without distutils
needing to be able to find a working compiler.
2012-04-19 16:45:15 +00:00
Ray Speth
8078712e2a
Fixed some more problems with overconstrained equilibrum problems
2012-04-16 20:59:58 +00:00
Ray Speth
d4adf41799
Fixed setup of data directories on Windows
2012-04-16 20:59:48 +00:00
Harry Moffat
f5dc3480c7
Fixed an error in a reference state calculation that showed up
...
using cttables.
2012-04-13 21:36:27 +00:00
Ray Speth
3331c7f3ad
Fixed MultiPhaseEquil::getComponents when there are more elements than species
...
When the atomic composition matrix is rank deficient, rows of zeros
will be formed as the elimination proceeds. These rows are now moved
to the bottom of the matrix as they are encountered, so the final
matrix is upper triangular.
2012-04-12 21:41:31 +00:00
Ray Speth
22806f2896
Fixed some indexing problems in the equilibrium solvers
...
The expression (m_nsp - m_nel) where both of the variables are
unsigned types was being used as an array size and an upper bound for
some loop indices, neither of which work when there are more elements
than species.
2012-04-12 21:35:47 +00:00
Ray Speth
d51bd82787
Fixed uninitialized use of m_force in MultiPhaseEquil
2012-04-12 21:35:42 +00:00
Ray Speth
987578d033
Increased timeout for ct2ctml subprocess
2012-04-12 15:28:28 +00:00
Ray Speth
bf5dfeaa97
Moved some #includes to the top of their respective files
2012-04-12 15:28:24 +00:00
Ray Speth
ba8c814814
Use the Windows Registry to set PYTHONPATH
...
Cantera's mechanism conversion scripts are now installed in the main
Cantera directory, so processing should work fine as long as Python is
on the path, whether or not the Cantera Python module is installed.
2012-04-11 20:26:05 +00:00
Ray Speth
802f5e9f06
Fixed some issues installing the Matlab toolbox on Windows
2012-04-11 20:25:59 +00:00
Ray Speth
abf2e04084
Changed visibility of symbols in ctmethods.mex on Linux
...
This allows Cantera to use BLAS/LAPACK functions included in the mex
file instead of the incompatible ones that are part of Matlab.
2012-04-11 17:37:33 +00:00
Ray Speth
a1641019dd
Made dependency of Matlab extension on the Cantera library explicit
2012-04-11 17:37:30 +00:00
Ray Speth
59b878bf41
Distinguish between factorization failures and other errors in DenseMatrix.solve
...
Input errors always throw exceptions, while factorization failures may
be indicated by the return value, depending on the
m_useReturnErrorCode variable of the DenseMatrix.
2012-04-11 17:37:27 +00:00
Ray Speth
eb337eac8d
Fixed 1D grid refinement based on curvature requirement
...
The variable "dz" was being used before being calculated, causing
the algorithm to never insert points based on the curvature criterion.
2012-04-10 03:13:12 +00:00
Ray Speth
d8db89e708
Propagate setSteadyMode from OneDim to child Domain1D objects
2012-04-10 03:13:07 +00:00
Ray Speth
322d8306b1
Fixed some overzealous bounds checking in ctonedim
2012-04-10 03:13:03 +00:00
Harry Moffat
26791b6f6a
Moved Mu0Poly.h to the include tree
2012-04-09 16:02:56 +00:00
Harry Moffat
99124c0dd6
Moved the RedlichKister include file to the include tree.
2012-04-09 15:23:55 +00:00
Harry Moffat
232b861284
Moved Tortuosity.h to include file structure so that 1Delectrode code can work.
...
It works and produces almost the same results as before.
Added DAE_solvers.cpp back in. There was a missing factory function.
Fixed bandsolver indexing calculations in NonlinearSolver and Bandmatrix due
to int to size_t conversion. numerics test programs now work.
2012-04-07 00:06:00 +00:00
Harry Moffat
9c06d1e07c
Fixed an error with the instanteation of electrode reactions using
...
the exchange current density formulation.
Electrode object test problems now all work.
2012-04-05 22:50:51 +00:00
Ray Speth
e11281477e
Added configuration option for building a single library
...
This is necessary particularly for Windows, where there's no easy way
to build shared libraries of the f2c code because those functions
don't have the necessary __declspec(dllexport) in their non-existent
headers.
2012-04-05 22:03:30 +00:00
Ray Speth
6a95fbba6c
Eliminated unnecessary manual memory management in NasaPoly2
2012-04-05 22:03:24 +00:00
Harry Moffat
4dd4d5c5e3
Added include files that I had said I had moved, but in fact did not.
...
Worked on ignore list.
2012-04-05 19:34:43 +00:00