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
Ray Speth
a3645ee925
[Test] Set reaction type in surfkin test input file
...
Surface reactions must have the XML attribute 'type="surface"'. This is set
automatically by the CTI 'surface_reaction' class.
2014-11-11 00:12:15 +00:00
Ray Speth
39b751d655
[Equil] Always use the member function versions of 'equilibrate'
...
The various free functions are deprecated, along with the now unnecessary
headers 'equil.h' and 'equilibrium.h'.
2014-11-08 00:53:45 +00: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
b50ab99326
[Test] Fix fileLog class used in DH_graph_1
...
The class was missing the implementation of writeendl, which caused the
base class method to be called, occasionally leading to confusing test failures.
Not setting the mode of the output file caused it not to be automatically created,
so the log file usually wasn't even being written.
2014-10-08 16:54:55 +00:00
Ray Speth
044235c065
[SCons] Remove unnecessary uses of pjoin
2014-10-08 16:54:49 +00:00
Ray Speth
0db18ad0b1
[SCons/Test] Re-run tests if shared library changes
2014-10-08 16:54:39 +00:00
Ray Speth
1a5f75dd2d
[Test] Use Cantera shared library for tests, when possible
...
On Linux systems, link tests against the Cantera shared library, rather than the
static library to reduce the size of the compiled test suite. This saves over 1
GB of disk space when compiling with debug symbols enabled, and also reduces the
run time of the test suite.
This does not work on Windows, where the shared library only exports the Cantera
C interface.
2014-10-01 17:52:21 +00:00
Ray Speth
4544fd3392
[Test] Build tests with optimization disabled
...
Compiling the tests takes longer than running them, so it actually saves time to
compile the tests with optimizations disabled.
2014-10-01 17:52:18 +00:00
Ray Speth
79461c34e8
[Thermo] Add default value for 'id' argument of 'newPhase'
2014-09-27 00:09:11 +00:00
Ray Speth
53102e8d70
[Test] Convert 'fracCoeff' test to GTest
2014-09-26 13:45:06 +00:00
Ray Speth
337c573958
[Test] Move NASA9poly test to GTest test suite
2014-09-24 23:18:01 +00:00
Ray Speth
ab6ae72e0d
Add missing reaction to "h2o2" mechanism
...
This mechanism, which is supposed to be the H2 mechanism extracted from GRI-3.0,
was actually missing the reaction H+O2+M <-> HO2+M. This updates the original
input file, regenerates h2o2.cti, and updates the blessed output file for one
test (which changed because the newer version of ck2cti actually retains the
given precision of the transport properties).
2014-09-23 02:20:49 +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
Harry Moffat
9a9455a93a
Changed the blessed file. The report function has changed the number of significant figures reported.
2014-08-05 22:07:04 +00:00
Ray Speth
169e6f1c11
[SCons] Remove outdated references to ct2ctml.log
2014-07-30 16:59:09 +00:00