Commit graph

3759 commits

Author SHA1 Message Date
Ray Speth
e2d775c2cb Fixed configuration check for Sundials when Sundials requires BLAS/LAPACK 2012-04-16 21:00:04 +00:00
Ray Speth
8078712e2a Fixed some more problems with overconstrained equilibrum problems 2012-04-16 20:59:58 +00:00
Ray Speth
6803cab965 Added missing data for equilibrium tests 2012-04-16 20:59:54 +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
a42199f62a Added tests for overconstrained equilibrium problems 2012-04-12 21:35:40 +00:00
Ray Speth
b58ba638be Added some tests for the equilibrium solvers 2012-04-12 21:35:36 +00:00
Ray Speth
e99bd87586 Fixed SCons aliases for Python and Matlab unit tests 2012-04-12 21:35:32 +00:00
Ray Speth
16390cc547 All tests now run using "scons test"
The "newtest" target has been removed.  Python and Matlab unit tests
can be run with "scons test-python" and "scons test-matlab",
respectively.
2012-04-12 15:28:33 +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
2076f37421 Fixed a dependency issue with the MSI target
MSI target now automatically implies "install" (to the stage dir)
2012-04-11 20:26:02 +00:00
Ray Speth
802f5e9f06 Fixed some issues installing the Matlab toolbox on Windows 2012-04-11 20:25:59 +00:00
Ray Speth
57e1648d75 Added .gitignore for test_problems directory 2012-04-11 17:37:38 +00:00
Ray Speth
9d290e2238 Updated README 2012-04-11 17:37:36 +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
d8a4c6705a Added an overload of operator<< for std::vector 2012-04-11 17:37:23 +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
Harry Moffat
458fbf579d removed include files that were suppose to have been moved. 2012-04-05 19:17:01 +00:00
Harry Moffat
25ba149aab Sorry for monolithic commit. Will break it up in the future.
Moved the external libraries to separate library files so that libcantera.a just contains its own namespace externals.

Fixed several errors in the equilibrium program that occurred during the port. (int to size_t issues).

Moved some equilibrium program headers to the include file system, so that it can link with equilibrium program.

Worked on Cantera.mak. Needs more work.

Fixed an issue with the Residual virtual base classes within numerics. They didn't inherit due to int to size_t migration. This caused numerous test problems to fail (issue with backwards compatibility - do we want it and how much do we want?).

Added csvdiff back so that it's available for shell environment runtests.
2012-04-05 00:24:31 +00:00
Ray Speth
8487f30ea6 Updated the main documentation page 2012-04-04 18:46:21 +00:00
Ray Speth
095f43c1eb Added modified CSS for Sphinx documentation
This CSS (from Matplotlib) adds thick lines before each documented
class and thin lines at the start of each documented method.
2012-04-04 18:46:16 +00:00
Ray Speth
3938a6bfa7 Moved Matlab input tutorial into Sphinx documentation 2012-04-04 18:46:11 +00:00
Ray Speth
545e258eb3 Moved more general documentation to ReST/Sphinx 2012-04-04 18:46:02 +00:00
Ray Speth
0d991f5251 Removed some obsolete documentation 2012-04-04 18:45:53 +00:00
Ray Speth
0783630204 Moved C++ sample programs into the ReST/Sphinx documentation 2012-04-04 18:45:47 +00:00
Ray Speth
bb2719deec Added instructions for compiling C++ programs using SCons and make 2012-04-04 18:45:43 +00:00
Ray Speth
7e34588c5f Reorganizing C++ User's guide documentation 2012-04-04 18:45:37 +00:00
Ray Speth
e6a5abdfae Added header logo to documentation 2012-04-04 18:45:31 +00:00
Ray Speth
3acf30b3aa Moved build directories for docs to make relative links consistent 2012-04-04 18:45:26 +00:00
Ray Speth
e4eba2c5f7 Added references to the "Defining Phases" documentation 2012-04-04 18:45:20 +00:00
Ray Speth
d02ccc5334 Translated the "Defining Phases" guide to Sphinx/reST format 2012-04-04 18:45:15 +00:00
Ray Speth
e323340c73 Fixed building the Python module with MinGW when Visual Studio is not present 2012-04-04 18:45:11 +00:00
Ray Speth
02ccf4f715 Improved formatting of TypeErrors encountered in ctml_writer.py 2012-04-04 18:45:07 +00:00
Ray Speth
47f3bac7ae Added documentation for the classes used in CTI files 2012-04-04 18:45:03 +00:00