Ray Speth
ff4958a720
[Transport] Migrate wtWater test to GTest test suite
2018-09-07 23:24:23 -04:00
Ray Speth
b0deb41708
[Transport] Make WaterTransport constructible using newTransportMgr
...
This makes it possible to specify the WaterTransport model in XML input files,
and to use the model from Python and Matlab.
Resolves #289
2018-09-07 23:24:23 -04:00
Ray Speth
d9f9f69fc3
[SCons/Test] Regression tests also look for input files in test/data
...
This allows the elimination of a number of duplicate input files.
2018-09-07 23:24:23 -04:00
Ray Speth
f46df83841
[Thermo] Make WaterSSTP constructible using newPhase
...
This makes it possible to create a WaterSSTP phase using an XML input file, and
use this model from Python and Matlab.
2018-09-07 23:24:23 -04:00
Ray Speth
3790115b99
[Thermo] Make HMWSolution constructible without XML
2017-08-07 21:32:15 -04:00
Ray Speth
4b69c7f265
[Thermo] Remove unused ionic radius from HMWSoln
2017-08-07 20:58:18 -04:00
Ray Speth
04cac2b277
[Thermo] Refactor construction of PDSS objects
...
Introduce a default constructor for PDSS objects, and avoid
passing in unnecesary arguments to initialization functions.
2017-02-22 22:18:40 -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
5861bc174d
[Test] Remove unused files from test_problems directory
2016-11-14 00:16:34 -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
ac7a9bd238
Deprecate copy constructors for eventually-noncopyable objects
...
The following classes (and their children) will be non-copyable and
non-assignable after Cantera 2.3:
- ThermoPhase
- Kinetics
- Transport
- Species
- SpeciesThermoInterpType
- MultiSpeciesThermo
- VPSSMgr
- PDSS
- ResidJacEval
- RootFind
2016-07-29 18:57:29 -04:00
Ray Speth
14b9454819
[C++] Clean up of top-level headers
...
These headers should only include general functionality, i.e. base classes and
factory methods. Users working directly with derived types can include the
relevant headers directly.
Deprecate some top-level headers which are not really useful.
2016-05-14 16:10:10 -04:00
Ray Speth
a75a8f2c82
[Test] Move testIAPWSPres into the gtest suite
2015-11-24 10:59:15 -05:00
Ray Speth
61a457121a
[Test] Move testIAPWSTripP into the gtest suite
2015-11-24 10:59:14 -05:00
Ray Speth
1cc0d42988
[Test] Move tests for WaterPropsIAPWSphi to gtest suite
...
Remove test-related functions from the implementation.
2015-11-24 10:59:14 -05:00
Ray Speth
ee95c60813
Simplify error handling to eliminate need for global error stack
...
All of the functions for manipulating the global error stack
(CanteraError::save, setError, showErrors, etc.) are deprecated. The ability to
store an error is retained only for use in the C and Fortran interfaces so that
the last error message can be retrieved after a function returns an error code.
2015-11-16 19:50:55 -05:00
Ray Speth
0542e694a9
[Thermo] Merge classes StoichSubstance and StoichSubstanceSSTP
...
Use the implementation of StoichSubstanceSSTP (descended from
SingleSpeciesTP) but change the name to StoichSubstance.
2015-10-19 00:17:40 -04:00
Ray Speth
16143b47b6
Replace most uses of sprintf with cppformat
2015-10-14 18:45:22 -04:00
Ray Speth
5ed6d9a2af
[Test] Fix compilation errors with VS2015
2015-09-08 12:26:58 -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
801334c84e
Merge nested if statements
2015-08-02 23:06:15 -04:00
Ray Speth
f90bf978df
Use += and -= where appropriate
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
c3c80f79fb
Remove extraneous parentheses
2015-08-02 23:06:14 -04:00
Ray Speth
6cc5652de6
Remove commented-out code
2015-07-20 17:20:46 -04:00
Ray Speth
bf2ceed60e
Remove some leftover debugging ifdefs
2015-07-20 15:47:17 -04:00
Ray Speth
d308944509
[Test] Remove unused, platform-specific 'runtest' scripts
2015-07-15 12:17:11 -04:00
Ray Speth
d373e0751e
Remove unnecessary explicit specification of namespace Cantera
2015-06-24 14:45:55 -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
341b137766
[Doc] Capitalize proper nouns and acronyms
2015-05-25 20:58:44 -04:00
Ray Speth
363d3ec3f0
Remove HMWSoln 'testProb' constructor
...
This constructor was used only in HMW_test_1, and it just set the same
parameters that were already read from the XML input file.
2014-11-08 00:53:33 +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
b5396837b2
Make use of std::min, std::max, and clip
2014-06-03 16:52:43 +00:00
Ray Speth
a92d0ef03e
[Test] Fix platform-dependent output in test-IAPWSPres
2014-03-18 01:42:38 +00:00
Ray Speth
c7ba8bfb84
Remove abandoned autotools build system
2014-03-04 17:38:53 +00:00
Ray Speth
52997d6f60
[Test] Fix failures in HMW tests when debug_verbose=y
...
Partially addresses Issue 69.
2013-06-28 21:24:28 +00:00
Ray Speth
d253fc0d63
Eliminate redundant standard library includes
2013-06-05 17:08:13 +00:00
Ray Speth
a01b112967
[Test] Modified IMSTester to exclude output for minor species
2013-04-24 21:47:41 +00:00
Ray Speth
e1702e74a8
[Test] Updated blessed output files using correct physical constants
...
The output for these tests changed after the values of the physical constants
were updated in r1539.
2013-04-24 21:47:27 +00:00
Ray Speth
934010136d
Removed unnecessary temporaries used for storing return values
2013-02-14 01:04:07 +00:00
Ray Speth
6d6e237f07
Removed unnecessary checks surrounding delete operations
2013-02-14 01:03:32 +00:00
Ray Speth
fcb46460cc
Clean up of some of the test code
2012-10-24 15:44:33 +00:00
Ray Speth
a549782c7f
Eliminated some unnecessary usage of strcpy
2012-08-17 16:44:50 +00:00
Ray Speth
85d9d360c7
Fixed a bunch of spelling issues
2012-08-17 16:43:34 +00:00
Ray Speth
51a3decaa1
Moved some classes out of the global namespace into namespace Cantera
2012-08-08 22:18:15 +00:00
Ray Speth
88bb6fe679
Removed obsolete C++ Chemkin mechanism converter
2012-07-26 20:49:50 +00:00
Nicholas Malaya
4757cf6b69
cutting precision off to make tests less stringent: this makes me nervous but a test suite is useless unless it works under certain circumstances
2012-07-16 20:43:13 +00:00
Nicholas Malaya
23afaa2f79
adding more runtest scripts
2012-07-16 20:23:23 +00:00