Ray Speth
9c50f7528c
Add support for Sundials 3.1.0 (also 3.0.0)
2018-02-14 22:22:42 -05:00
Ray Speth
50a3fecb23
Rename Sundials-related macros to avoid name conflicts
2018-02-14 22:22:42 -05:00
Ray Speth
7673f7cb52
Remove code deprecated in Cantera 2.3.0
2017-02-12 19:22:33 -05:00
Ray Speth
b9ac39bf68
[Numerics] Failures in BandMatrix raise exceptions
...
Store the 'info' flag returned by the underlying LAPACK function so that callers
can catch the exception and retrieve this information if desired.
Eliminate automatic 'bandmatrix.csv' output.
2016-11-11 23:18:22 -05:00
Ray Speth
43f7bc8cdf
[Numerics] Remove trailing commas when printing Array2D and BandMatrix
2016-11-11 23:06:35 -05:00
Ray Speth
454f156764
[Numerics] Deprecate GeneralMatrix::nRowsAndStruct
2016-11-11 23:06:35 -05:00
Ray Speth
ecbfecd7fd
Replace existing copyright notices with uniform copyright/license info
2016-10-10 22:19:01 -04:00
Ray Speth
4582e724ee
Eliminate compiler warnings issued by Visual Studio 2015
2016-07-30 23:09:17 -04:00
Ray Speth
af3de9aa4d
[Numerics] Fix BandMatrix assignment operator
2016-07-29 15:05:52 -04:00
Ray Speth
01d3679664
[Numerics] Deprecate matrix-type argument to GeneralMatrix
2016-05-14 22:00:22 -04:00
Ray Speth
41ae065a6e
Use Sundials to solve BandMatrix instead of using internal LAPACK
2016-05-14 21:56:17 -04:00
Ray Speth
881fcbaf6f
Improve use of local variables in src/numerics
2016-03-27 22:52:49 -04:00
Ray Speth
b0230fb146
Modify BandMatrix to avoid unnecessary casts from size_t to int
2016-02-04 14:45:36 -05:00
Ray Speth
7562d79bad
Remove unnecessary calls to ostream.close()
2015-11-23 18:06:54 -05:00
Ray Speth
f5ff849b47
Replace std::copy with simpler direct assignment where possible
2015-11-12 17:35:30 -05:00
Ray Speth
75d9ef93c5
Clean up Doxygen docs and comments for numerics classes
2015-11-12 11:41:34 -05:00
Ray Speth
0647823ada
Replace DATA_PTR macro with calls to data()
2015-10-17 18:58:50 -04:00
Ray Speth
3f6d8b0aca
Use cppformat instead of int2str and fp2str
2015-10-14 18:45:23 -04:00
Ray Speth
acdf9cf0ed
Clean up interstitial whitespace
...
Remove extra space around operators, between words, etc.
2015-08-02 23:06:16 -04:00
Ray Speth
6a04193646
Fix un-bracketed if, for, and else statements
2015-08-02 23:06:15 -04:00
Ray Speth
c3c80f79fb
Remove extraneous parentheses
2015-08-02 23:06:14 -04:00
Ray Speth
c08c365ebb
Remove unimplemented option to use QR factorization in BandMatrix
2015-07-16 10:52:42 -04:00
Ray Speth
f1f10b6526
Remove unused, deprecated code marked for removal after Cantera 2.2
2015-07-15 12:08:50 -04:00
Ray Speth
efb80dfe05
Remove unnecessary delimiter lines between functions
...
A single line of white space is sufficient and consistent. Also moved a couple
Doxygen strings out of source files.
2015-01-22 00:04:24 +00:00
Ray Speth
b8a99b4b83
Remove unnecessary explicit calls to default constructors
2015-01-22 00:04:12 +00:00
Ray Speth
eb71d8cdd0
Deprecate "copyData" method of array classes
2014-11-08 00:53:30 +00:00
Ray Speth
002c158761
Cleanup include statements
...
Move includes from header to implementation files where possible, and remove
unnecessary includes.
2014-08-28 16:54:13 +00:00
Harry Moffat
cdec2e90c7
Fixes need to restore capability to solve banded systems with nonlinear solver
2014-08-05 23:11:58 +00:00
Ray Speth
b5396837b2
Make use of std::min, std::max, and clip
2014-06-03 16:52:43 +00:00
Ray Speth
789574ac80
Remove commented-out code
2014-05-27 02:52:21 +00:00
Ray Speth
90c2d58973
[Numerics] move 'm_factored' up to GeneralMatrix
2014-03-24 04:03:01 +00:00
Ray Speth
4467b898a5
[Numerics] Remove unused BandMatrix::err method
2014-03-24 04:02:56 +00:00
Ray Speth
7fef1b0051
[Numerics] BandMatrix does not silently do LU when QR is specified
...
Change GeneralMatrix to allow derived classes to not implement QR
factorization. BandMatrix does not implement QR because this LAPACK
does not contain a QR algorithm for this matrix type.
2014-03-24 04:02:51 +00:00
Ray Speth
4e72cf0334
[Numerics] BandMatrix and SquareMatrix support solving multiple RHS
2014-03-24 04:02:06 +00:00
Ray Speth
e9daef3313
Cleaned up Doxygen Documentation for matrix classes
...
BandMatrix, DenseMatrix, SquareMatrix, and GeneralMatrix
2013-05-29 00:11:22 +00:00
Ray Speth
0a059d406a
Eliminated unnecessary empty destructors from derived classes
...
See http://www.parashift.com/c++-faq-lite/virtual-dtors.html
2013-04-29 18:04:23 +00:00
Ray Speth
94d08f1d5e
Removed unnecessary casts from object duplication functions
2012-10-24 15:45:33 +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
9b2d97f41e
Fixed some compiler warnings
2012-05-25 23:13:18 +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
Ray Speth
8ea4ae728a
Moved a few standard library includes to more local scopes
2012-03-23 22:16:04 +00:00
Ray Speth
3bff32dd55
Fixed problems that generated warnings with the Intel compiler
2012-03-07 00:51:13 +00:00
Ray Speth
8bce9d7332
Fixed compiler warnings revealed by MinGW
2012-02-27 18:14:43 +00:00
Ray Speth
e8b04fb2b4
Fixed numerous compiler warnings from MSVC
2012-02-17 20:29:10 +00:00
Ray Speth
9bc4a261c7
Fixed a bunch of GCC warnings
2012-02-15 20:28:08 +00:00
Ray Speth
a310345b9e
Updated #includes to reflect new header file locations
2012-02-12 02:44:14 +00:00
Ray Speth
2528df0f75
Reorganized source tree structure
...
These changes make it unnecessary to copy header files around during
the build process, which tends to confuse IDEs and debuggers. The
headers which comprise Cantera's external C++ interface are now in
the 'include' directory.
All of the samples and demos are now in the 'samples' subdirectory.
2012-02-12 02:27:14 +00:00