Commit graph

3740 commits

Author SHA1 Message Date
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
Ray Speth
11a0504c0a Formatting cleanup of rxninfo::installReaction 2012-04-04 18:44:59 +00:00
Ray Speth
3d9efad94f Reduced complexity of duplicate reaction detection from n^2 to n*log(n) 2012-04-04 18:44:56 +00:00
Ray Speth
d16f70ab44 Fixed some spelling issues 2012-04-04 18:44:24 +00:00
Ray Speth
5c20b7f2af SCons: Better error handling when sundials paths are given
If sundials_include or sundials_libdir are specified, promote
use_sundials='default' to 'y' so that we won't unexpectedly fall back
to the built in solvers if there's a configuration problem.
2012-04-04 18:44:14 +00:00
Ray Speth
287e4aa67e Fixed problems detecting and linking to Sundials on Windows 2012-04-04 18:44:11 +00:00
Ray Speth
c26e0591f8 Resolved a few Doxygen warnings 2012-03-30 23:48:56 +00:00
Ray Speth
b4d0f37fc4 Removed unused file: mix.h 2012-03-30 23:48:50 +00:00
Ray Speth
bb54b13997 Removed RMG-specific code from ck2cti.py 2012-03-30 23:48:47 +00:00
Ray Speth
382c4bd02e Fixed some parsing issues in ck2cti.py 2012-03-30 23:48:44 +00:00
Ray Speth
e4b804b208 Added command line interface to ck2cti.py 2012-03-30 23:48:40 +00:00
Ray Speth
52cf8cecae Eliminated some unnecessary memory management in stoichiometry managers 2012-03-30 23:48:32 +00:00
Ray Speth
938d767fde Replaced deprecated syntax in ctml_writer.py 2012-03-30 23:48:29 +00:00
Ray Speth
7bfd094eaf Implemented Chebyshev rate expressions 2012-03-30 23:48:25 +00:00
Ray Speth
8cbc083854 Simplified AqueousKinetics by eliminating class AqueousKineticsData 2012-03-30 23:48:20 +00:00
Ray Speth
9adbd2dc8f Simplified GasKinetics by eliminating class GasKineticsData 2012-03-30 23:48:13 +00:00
Ray Speth
4650e05404 Check third-body efficiencies for invalid species identifiers 2012-03-30 23:48:06 +00:00
Ray Speth
64ccd58680 Added a kinetics test suite with tests for P-log reactions
Added a sample mechanism file containing P-log and Chebyshev reactions.
2012-03-30 23:47:58 +00:00
Ray Speth
510b25b884 Implementation of P-log rate expressions
Also includes skeleton for implementing Chebyshev rates.
2012-03-30 23:47:50 +00:00
Ray Speth
234439d10f Make use of the ReactionData struct when installing reactions 2012-03-30 23:47:38 +00:00