Victor Brunini
9b6b65fe04
Add function to DenseMatrix that multiplies two square matrices.
2013-01-07 18:18:10 +00:00
Ray Speth
382ad7ba80
Fixed compiler warnings about uninitialized values
2013-01-04 21:37:26 +00:00
Ray Speth
ee2697b4b8
Fixed a compiler error caused by ambiguous call to sqrt
2012-12-17 23:59:40 +00:00
Harry Moffat
ea25de7fe7
Continuing transfering LiquidTransport changes, doing bugfixes, and
...
qualifying against our testsuite.
2012-12-15 00:49:14 +00:00
Victor Brunini
7c70568bb3
Clean up compiler warnings.
2012-11-07 21:08:56 +00:00
Ray Speth
94d08f1d5e
Removed unnecessary casts from object duplication functions
2012-10-24 15:45:33 +00:00
Ray Speth
3df93b8f4c
Removed some dead code
2012-10-24 15:45:08 +00:00
Ray Speth
1d19803885
Pass "const std::string&" instead of "std::string" when possible
2012-10-24 15:42:51 +00:00
Ray Speth
8bcda61e4c
Changed type of CVodesIntegrator members to eliminate unnecessary casts
2012-10-24 15:42:05 +00:00
Ray Speth
7b76e762d2
Fixed sensitivity calculation when using CVodesIntegrator::step
...
Previously, the sensitivity coefficient matrix m_yS was being updated only when
the `integrate` method was used to advance the system. Now, the sensitivities
are updated when a coefficient is requested after taking a timestep, regardless
of the method used to advance the system.
2012-10-24 15:41:59 +00:00
Ray Speth
85d9d360c7
Fixed a bunch of spelling issues
2012-08-17 16:43:34 +00:00
Ray Speth
87062d115d
Integration failures with CVODES now generate a more informative exception
...
The exception message now lists the solution components and the corresponding
weighted error estimate which should indicate which variables are responsible
for the integration failure.
2012-08-11 23:58:37 +00:00
Ray Speth
e168634c72
Translate exceptions into appropriate error codes in cvodes_rhs
2012-08-11 23:58:33 +00:00
Nicholas Malaya
77bb5e15ce
removing several deprecated header files from the makefile.ams. In addition, headers should now be properly installed by the make install step
2012-07-18 22:54:54 +00:00
Ray Speth
3ce3da1fa2
Fixed code formatting
2012-07-18 18:32:29 +00:00
Ray Speth
f04ac23be9
Fixed a memory leak when re-initializing a CVodesIntegrator
2012-06-27 16:12:45 +00:00
Nicholas Malaya
ece7e870b6
[cantera2.0]: fixing all the missing lapack files
2012-06-18 03:06:58 +00:00
Nicholas Malaya
92c5f5c57f
[cantera2.0]: updating a few makefiles for the autotools version. Not yet working without link errors, but getting close
2012-06-18 02:29:29 +00:00
Ray Speth
d3e98fe5a8
Corrected a bunch of spelling errors
2012-05-29 21:21:47 +00:00
Ray Speth
31ffb5e400
Added support for Sundials 2.5
2012-05-25 23:13:51 +00:00
Ray Speth
9b2d97f41e
Fixed some compiler warnings
2012-05-25 23:13:18 +00:00
Ray Speth
5af70f3db8
Removed keyword-substitution cruft
2012-05-24 16:29:29 +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
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
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
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
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
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
d16f70ab44
Fixed some spelling issues
2012-04-04 18:44:24 +00:00
Ray Speth
c26e0591f8
Resolved a few Doxygen warnings
2012-03-30 23:48:56 +00:00
Ray Speth
7f46371653
Show CVODE error codes when integration fails
2012-03-30 23:46:14 +00:00
Ray Speth
8ea4ae728a
Moved a few standard library includes to more local scopes
2012-03-23 22:16:04 +00:00
Ray Speth
b3ae0c9208
Use quotes instead of angle brackets for non-system header #includes
2012-03-15 19:52:16 +00:00
Ray Speth
92017de067
Removed some vestigial ifdef blocks
2012-03-09 22:58:17 +00:00
Ray Speth
3bff32dd55
Fixed problems that generated warnings with the Intel compiler
2012-03-07 00:51:13 +00:00
Ray Speth
5c5bff7d79
Removed unused function 'smlequ'
2012-03-01 00:44:38 +00:00
Ray Speth
657ed19371
Fixed warnings related to printf/sprintf
2012-02-28 19:02:00 +00:00
Ray Speth
e487d95054
Fixed a few "unused variable" warnings
2012-02-28 19:01:43 +00:00
Ray Speth
236756fbf0
Removed rogue tabs in the C++ source code
2012-02-27 18:15:02 +00:00
Ray Speth
8bce9d7332
Fixed compiler warnings revealed by MinGW
2012-02-27 18:14:43 +00:00
Ray Speth
af6303a67e
Removed class ArrayViewer (use Array2D instead)
2012-02-27 18:14:08 +00:00
Ray Speth
8b7dab08bd
Added checks to avoid computing bogus column pointers for matrix types
2012-02-27 18:12:29 +00:00
Ray Speth
db8e338e52
Fixed size_t issues in CVodesIntegrator
2012-02-23 21:24:53 +00:00
Ray Speth
b203b88085
IDA_Solver requires Sundials 2.4
2012-02-23 21:24:42 +00:00
Ray Speth
28270820a5
Use std::swap instead of homegrown alternatives
2012-02-21 16:05:53 +00:00
Ray Speth
35429de71c
Fixed a bunch of spelling errors in the documentation and comments
2012-02-21 16:04:09 +00:00
Ray Speth
fe8a5d49a8
Use std::min and std::max instead of homegrown alternatives
2012-02-21 16:03:32 +00:00
Ray Speth
30d233474a
Use std::min and std::max instead of preprocessor macros
2012-02-21 16:03:09 +00:00
Ray Speth
36c5d0ff96
Fixed more compiler warnings (MSVC 9.0)
2012-02-17 20:30:03 +00:00
Ray Speth
f74abb48f0
Fixed GCC warnings
2012-02-17 20:29:50 +00:00