Ray Speth
ae6e7fdff7
Add license/copyright info to files that were missing it
2016-10-10 22:48:23 -04:00
Ray Speth
a60217cfc6
[Equil] Make better use of local variables
2016-04-05 12:52:01 -04:00
Ray Speth
4887775109
Eliminate unnecessary counter member variables
2015-12-01 15:54:55 -05:00
Ray Speth
f5ff849b47
Replace std::copy with simpler direct assignment where possible
2015-11-12 17:35:30 -05:00
Ray Speth
5bf3b0fc67
Clean up comments in other equilibrium-related classes
2015-11-09 17:59:22 -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
bfb20e1f50
Consistently use vector_fp and vector_int typedefs
2015-08-02 23:06:16 -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
801334c84e
Merge nested if statements
2015-08-02 23:06:15 -04:00
Ray Speth
e4c45b6429
General whitespace cleanup
...
Remove unnecessary blank lines and trailing whitespace. Replace tabs with
spaces.
2015-08-02 23:06:15 -04:00
Ray Speth
217d780233
Fix calls to CanteraError with blank or incorrect first argument
...
The first argument should be the function name from which the exception was
thrown. Leaving this blank makes it difficult to track down the location of the
exception.
2015-06-09 12:03:57 -04:00
Ray Speth
959cbb7d7a
Remove unimplemented method MultiPhaseEquil::printInfo
2014-09-07 21:16:57 +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
Ray Speth
83e38480d6
Throw exceptions instead of calling std::exit after an error
...
By throwing an exception, Cantera is better behaved when used within other
applications, e.g. as in the case of the Matlab and Python interfaces.
2014-06-06 00:17: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
95eb7ab3ba
Remove newline after '::' in member function definitions
...
This inconsistency makes it hard to directly search the code for a specific
member function definition.
2014-03-24 04:03:09 +00:00
Ray Speth
dfc542be76
Fix some issues identified by compiler warnings
2014-01-09 23:12:11 +00:00
Ray Speth
f63f8ae57e
Remove deprecated HTML logging functionality
2013-12-09 01:36:11 +00:00
Ray Speth
d253fc0d63
Eliminate redundant standard library includes
2013-06-05 17:08:13 +00:00
Ray Speth
723cc0a709
Cleaned up Doxygen docs for class MultiPhaseEquil
2013-04-18 22:07:49 +00:00
Ray Speth
31f90fe32d
Removed unnecessary typedef for 'index_t'
2013-01-11 22:56:44 +00:00
Ray Speth
83097b3860
Consolidated definitions of repeatedly-used constants
...
"MIN_X" and "TINY" are replaced by "Tiny". "xxSmall" is replaced with
"SmallNumber".
2013-01-11 22:55:46 +00:00
Ray Speth
6011f24b38
Removed unnecessary WITH_FEATURE configuration options
2012-05-31 14:57:32 +00:00
Ray Speth
d3e98fe5a8
Corrected a bunch of spelling errors
2012-05-29 21:21:47 +00:00
Ray Speth
8078712e2a
Fixed some more problems with overconstrained equilibrum problems
2012-04-16 20:59:58 +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
c26e0591f8
Resolved a few Doxygen warnings
2012-03-30 23:48:56 +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
ca4212cc57
Removed a number of unused / redundant typedefs
2012-03-15 19:51:57 +00:00
Ray Speth
78a093b485
Folded class Constituents into class Phase
2012-03-09 22:56:11 +00:00
Ray Speth
8bce9d7332
Fixed compiler warnings revealed by MinGW
2012-02-27 18:14:43 +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
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