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
70824559ce
[Test/Equil] Update tests to sometimes use VCS 'estimate_equil' option
2016-04-14 21:51:53 -04:00
Ray Speth
155105c916
Update .gitignore
2016-04-13 21:11:04 -04:00
Ray Speth
1a64a230b1
[Test] Add test of VCS equilibrium solver with higher loglevel
...
This improves the overall coverage of the test suite, since otherwise much
of the logging code in the VCS solver is not executed.
2016-04-08 15:40:22 -04:00
Ray Speth
919045e88c
[Test] Remove unnecessary files from cxx_ex
2016-04-07 23:22:47 -04:00
Ray Speth
f91afda8cb
Replace usage of fp2str with cppformat and deprecate fp2str
2016-02-04 19:11:45 -05:00
Ray Speth
1c09f7f14b
[Thermo] Make continuity check for enthalpy dimensionally consistent
...
All quantities here are nondimensional, so taking h+cp*T makes no sense, and
caused the test to pass even for suspicously discontinuous thermo data (although
the bad data would generally get flagged by the tests for cp and/or s).
2015-12-15 11:41:54 -05: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
7562d79bad
Remove unnecessary calls to ostream.close()
2015-11-23 18:06:54 -05:00
Ray Speth
a7db9a7411
Fix LD_LIBRARY_PATH order when running tests
...
build/lib needs to be first in case LD_LIBRARY_PATH contains another Cantera
installation.
Resolves #310 .
2015-11-22 17:04:05 -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
0647823ada
Replace DATA_PTR macro with calls to data()
2015-10-17 18:58:50 -04:00
Ray Speth
a945ef2c23
Make use of initializer lists where appropriate
2015-10-17 18:58:50 -04:00
Ray Speth
f335350c35
Always use std::shared_ptr
...
Since we compile as c++11, std::shared_ptr is guaranteed to exist.
2015-10-14 18:45:23 -04:00
Ray Speth
e131766b71
Replace auto_ptr with unique_ptr
...
auto_ptr is deprecated in c++11
2015-10-14 18:45:23 -04:00
Ray Speth
71bb73b728
Eliminate unnecessary calles to std::string.c_str()
2015-10-14 18:45:22 -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
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
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
619cd20f14
Fix badly-formatted else/else if/catch clauses
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
f1f10b6526
Remove unused, deprecated code marked for removal after Cantera 2.2
2015-07-15 12:08:50 -04:00
Ray Speth
d4299fc6da
[Test] Fix VCS-LiSi test to not use deprecated "testProb" constructor
2015-07-15 11:35:22 -04:00
Ray Speth
546289f737
Remove deprecated code with functional alternatives
2015-07-13 18:59:09 -04:00
Ray Speth
d373e0751e
Remove unnecessary explicit specification of namespace Cantera
2015-06-24 14:45:55 -04:00
Ray Speth
f252ff16cb
[Test] Move "ChemEquil_gri_pairs" to GTest suite
...
Also extend test to cover MultiPhase and VcsNonideal solvers as well.
2015-06-24 13:05:28 -04:00
Ray Speth
c446686c85
[SCons] Fix test summary when tests are run in parallel
2015-06-19 11:53:07 -04:00
Ray Speth
30d1d5ea99
[Test] Move "ChemEquil_gri_matrix" to GTest suite
...
This also modifies the test to explicitly test each of the equilibrium solvers,
so that failures in any one solver aren't hidden by the fact that a different
solver works for a particular initial condition.
2015-06-17 14:38:11 -04:00
Ray Speth
c2344377ac
[Test] Move "ChemEquil_red1" to GTest suite
...
The old version of this test didn't actually check any meaninful results. The
ChemEquil and VCS solvers are both able to solve this problem, but the
MultiPhase solver currently fails. Also, the BasisOptimize function may fail
depending on the order that the elements are specified in the input file.
2015-06-16 16:16:21 -04:00
Ray Speth
e34b2739b2
[Test] Move "negATest" to GTest suite
2015-06-16 16:16:21 -04:00
Ray Speth
7f847c3877
[SCons] Miscellaneous cleanup of SConstruct/SConscript files
2015-06-13 23:29:58 -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
808f088ffd
Merge namespace VCSnonideal with namespace Cantera
2015-05-27 18:27:25 -04:00
Ray Speth
b42013009f
Update .gitignore
2015-05-26 14:47:40 -04:00
Ray Speth
1c878c16de
Fix issues indicated by compiler warnings
2015-05-26 11:42:20 -04:00
Ray Speth
341b137766
[Doc] Capitalize proper nouns and acronyms
2015-05-25 20:58:44 -04:00
Ray Speth
5f33f426b8
Remove bogus transport data from stoichSolidKinetics test input file
2015-01-08 23:36:19 +00:00
Ray Speth
edac95d06d
Remove unnecessary manual memory management from examples
2014-12-12 01:36:41 +00:00
Ray Speth
404a9b03d2
[Test] Use exit code to indicate failure in surfSolver test
2014-11-15 19:27:12 +00:00