Ray Speth
b39537bfcb
[Thermo] Merge functionality of VPSSMgr into VPStandardStateTP
...
Remove the now-unused VPSSMgr class and descendants.
2017-02-13 13:25:46 -05:00
Ray Speth
38d291c683
[Thermo] Fix reference pressure assumptions in VPSSMgr classes
...
The reference pressure (p0) must be species-specific, since for certain PDSS
classes (e.g. PDSS_Water) p0 is a function of temperature, while for other
classes (PDSS_ConstVol) it is a constant.
VPSSMgr_Water_ConstVol further assumed that the reference pressure for all
species was 1 atm, ignoring the setting in the PDSS object. Fixing this changed
test results for HMW_test_1 and HMW_test_3.
Added a test that specifically compares VPSSMgr_Water_ConstVol with
VPSSMgr_General.
2017-02-13 13:25:46 -05:00
Ray Speth
7673f7cb52
Remove code deprecated in Cantera 2.3.0
2017-02-12 19:22:33 -05:00
Ray Speth
67ac725731
[Thermo] Eliminate manual memory management in VPStandardStateTP
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
0f669153fb
[Thermo] Remove unnecessary overrides of modifyOneHf298SS
2016-04-30 16:43:37 -04:00
Ray Speth
51b0e46277
[Thermo] ThermoPhase::modifyOneHf298SS always invalidates cached data
2016-04-18 22:20:06 -04:00
Ray Speth
66a3b5b48a
Remove unnecessary and bogus 'inline' declarations
2015-11-12 12:22:09 -05:00
Ray Speth
4382ae6c85
Clean up comments in Thermo class source files
2015-11-09 17:34:46 -05:00
Ray Speth
ceefc5ecb0
Consistently use ThermoPhase::RT()
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
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
f219b49e63
Remove unnecessary newlines in function signatures
2015-08-02 23:06:15 -04:00
Ray Speth
6cc5652de6
Remove commented-out code
2015-07-20 17:20:46 -04:00
Ray Speth
2ca603838d
[Thermo] Extract 'newSpecies(XML_Node&) from thermo initialization
...
VPStandardStateTP phases now use the same pathway for adding species as
other phase in importPhase. Deprecate the now-unused 'installSpecies'
function.
2015-04-20 18:34:37 -04:00
Ray Speth
09ce99dc83
[Thermo] Eliminate redundant assignment of m_kk
...
m_kk is automatically set as species are added to a phase.
2015-02-20 23:43:12 +00:00
Ray Speth
7acf0378c6
[Thermo] Improve usage of local variables
...
Also eliminate some unnecessary temporary variables.
2015-02-12 04:04:18 +00: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
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
789574ac80
Remove commented-out code
2014-05-27 02:52:21 +00:00
Ray Speth
2a9ab96609
Use NotImplementedError instead of 'err' member functions
2014-05-06 14:39:13 +00:00
Ray Speth
2ead29097c
[Thermo] Make signatures of overridden Hf298 functions consistent
2014-02-21 19:08:19 +00:00
Ray Speth
14b1bf093b
Remove option to disable 'h298modify_capability' at compile-time
2014-02-06 22:58:56 +00:00
Ray Speth
607955b9f2
Remove unnecessary conditional surrounding 'delete' statements
2014-01-06 18:45:19 +00:00
Ray Speth
3b78634381
Removed extraneous parentheses around arguments to 'delete'.
...
'delete' is a keyword, not a function, so the parens are not necessary.
2013-02-14 01:03:42 +00:00
Ray Speth
6d6e237f07
Removed unnecessary checks surrounding delete operations
2013-02-14 01:03:32 +00:00
Ray Speth
da33cc66c3
Cleaned up Doxygen docs for class VPStandardStateTP and descendants
2013-02-14 01:02:34 +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
95e66cd5ff
Get rid of static variables in member functions.
2012-12-17 16:14:14 +00:00
Victor Brunini
7d8a61baf1
Clean up function prototypes to avoid 'a is hidden by b' warnings
...
where the subclass prototype had an int and the super had a size_t
for a virtual function of the same name.
2012-11-14 00:04:05 +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
d16f70ab44
Fixed some spelling issues
2012-04-04 18:44:24 +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
35429de71c
Fixed a bunch of spelling errors in the documentation and comments
2012-02-21 16:04:09 +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