Ray Speth
e04e59cdd3
Removed extraneous parentheses around arguments to 'return'
...
'return' is a keyword, not a function, so these parens are unnecessary.
2013-02-14 01:03:48 +00:00
Ray Speth
4e3a79394b
Eliminated some shadowing of member variables by function arguments
2013-02-14 01:03:19 +00:00
Ray Speth
8a17523715
Use the "charge" member function consistently to access species charges
...
Eliminated local alias to array of charges in some functions. Inlined the
"charge" function to mitigate any performance impact. Fixes a number of shadowed
variable warnings.
2013-02-14 01:03:09 +00:00
Ray Speth
ffd4a7418d
Cleaned up Doxygen docs for the Phase and ThermoPhase classes
2013-02-14 01:02:14 +00:00
Ray Speth
7da738d238
Re-applied consistent formatting to trunk
...
Applied using: astyle -n --style=kr --add-brackets --indent=spaces=4
--indent-col1-comments --unpad-paren --pad-header --align-pointer=type
--lineend=linux
2013-02-07 23:40:59 +00:00
Victor Brunini
4770bdd9d6
Small performance improvement, transform seems to be slightly slower
...
than just looping over the array.
2012-12-13 22:16:16 +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
49dbb605ab
Changed parseCompString to simplify its typical usage pattern
2012-08-17 16:44:34 +00:00
Ray Speth
1becffecb0
Disallow setting negative temperature or density
2012-08-11 23:58:29 +00:00
Ray Speth
3ce3da1fa2
Fixed code formatting
2012-07-18 18:32:29 +00:00
Ray Speth
e77990ab24
Fixed indexing errors in Phase::addUniqueSpecies
...
Also simplified to eliminate unnecessary iterator usage and fixed a comment that
indicated exactly the opposite of what the function actually does.
2012-07-18 18:32:17 +00:00
Ray Speth
cfe5824a7d
Removed some deprecated code
2012-07-16 22:18:35 +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
bf1f14c178
Ignore negative values when setting composition (mass fractions etc.)
...
This should resolve a number of problems when integrating reactor networks,
as well as some other unexpected behavior.
2012-03-25 23:25:41 +00:00
Ray Speth
4506ee2f8a
Fixed some compiler warning issues
2012-03-15 19:55:18 +00:00
Ray Speth
d8edde0264
Expanded array bounds checking in C interface functions
2012-03-15 19:51:37 +00:00
Ray Speth
c440373aba
Folded class Elements into class Phase
2012-03-09 22:57:18 +00:00
Ray Speth
7e39e91b5b
Cleaned up documentation and comments for class Phase
2012-03-09 22:57:05 +00:00
Ray Speth
78a093b485
Folded class Constituents into class Phase
2012-03-09 22:56:11 +00:00
Ray Speth
e41f43300f
Folded class State into class Phase
2012-03-09 22:55:34 +00:00
Ray Speth
8f4f72369e
Use the associated Cabinet to look up an item's index
...
This allowed removal the m_index member and associated methods
of the ThermoPhase, Kinetics, and Transport classes.
2012-02-27 18:12:13 +00:00
Ray Speth
437294ae00
Removed previously-deprecated array_fp typedef
2012-02-22 00:16:22 +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