Ray Speth
994c9d1afb
[CTML] Deprecate addInteger and CTML_Version
2016-04-16 23:55:51 -04:00
Ray Speth
ef441e4182
[CTML] Deprecate getFloatDefaultUnits
...
This function is unnecessarily complicated and rarely needed.
2016-04-14 19:41:44 -04:00
Ray Speth
f91afda8cb
Replace usage of fp2str with cppformat and deprecate fp2str
2016-02-04 19:11:45 -05:00
Ray Speth
e58bd09859
Eliminate debug_verbose option and DEBUG_MODE macro
...
Vebose printing can always be enabled at runtime by setting flags on various
classes.
2015-11-18 11:02:30 -05:00
Ray Speth
f8b12adef4
Clean up comments in 'base' source and header files
2015-11-09 19:35:52 -05:00
Ray Speth
3f6d8b0aca
Use cppformat instead of int2str and fp2str
2015-10-14 18:45:23 -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
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
f1f10b6526
Remove unused, deprecated code marked for removal after Cantera 2.2
2015-07-15 12:08:50 -04:00
Ray Speth
5214672ab3
Merge namespace ctml with namespace Cantera
2015-05-27 18:09:07 -04:00
Ray Speth
341b137766
[Doc] Capitalize proper nouns and acronyms
2015-05-25 20:58:44 -04:00
Ray Speth
ced2d20dd8
Use XML_Node::attrib when it is more clear than using operator[]
2014-11-15 00:47:31 +00:00
Ray Speth
a208c54d1c
Add a version of XML_Node::getChildren with a simpler interface
2014-10-22 21:48:04 +00:00
Ray Speth
c4a5f2667f
Remove CTML_VERSION macros
...
CTML_VERSION_1_4_1 was never used, and defining CTML_VERSION_1_4 broke reading
values written by the addInteger and addFloat functions with the getInteger and
getFloat functions, respectively.
2014-10-08 16:54:42 +00:00
Ray Speth
2fc09337c0
Deprecate XML_Node::operator()
2014-09-15 18:04:57 +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
3349a28d38
Update some deprecation warnings.
2014-06-20 18:44:39 +00:00
Ray Speth
e778afad32
Remove deprecated functions
2014-06-20 18:44:33 +00:00
Ray Speth
0392147540
Fix integer sign/size warnings in XML-related functions
2014-02-21 19:08:40 +00:00
Ray Speth
3015e90088
General cleanup of ctml functions
2014-02-06 22:58:49 +00:00
Ray Speth
d516d46f33
Remove unnecessary use of static_cast<int>
2014-01-31 23:15:09 +00:00
Ray Speth
eb82cbc998
Remove undeclared function getNamedFloatArray
...
This function has no declaration in any header file, so it is clearly not used
anywhere.
2013-07-06 21:43:48 +00:00
Ray Speth
843f2ad337
Deprecate ctml::getFloats
2013-06-06 15:33:11 +00:00
Ray Speth
d253fc0d63
Eliminate redundant standard library includes
2013-06-05 17:08:13 +00:00
Ray Speth
1019cdb51e
Cleaned up Doxygen docs for CTML functions
2013-04-12 23:06:54 +00:00
Ray Speth
7b7d3ac0d4
Fixed locale-dependent processing of XML files
...
Floating point values are read using a std::stringstream imbued with the "C"
locale to avoid problems with using std::atof when the user's locale uses a
character other than "." as the decimal separator.
Patch provided by Phillip Berndt.
Fixes Issue 153.
2013-04-03 23:10:18 +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
Harry Moffat
eab8781ea7
Added back ability to get transport parameters from transport objects.
...
Added back read and write of named XML array blocks.
Fixed an error in IonsFromNeutralVPSSTP.
2012-12-21 01:18:28 +00:00
Harry Moffat
27671cf299
Added back in getNamedStringValue() definition. Somehow it had gotten erased, causing multiple problems to fail.
2012-11-07 23:29:08 +00:00
Ray Speth
3df93b8f4c
Removed some dead code
2012-10-24 15:45:08 +00:00
Ray Speth
f4d35e4bd7
Always pass "const std::string&" instead of "const std::string"
2012-10-24 15:44:54 +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
85d9d360c7
Fixed a bunch of spelling issues
2012-08-17 16:43:34 +00:00
Ray Speth
346605abc4
Removed some unused CTML functions
2012-08-08 22:17:05 +00:00
Ray Speth
3ce3da1fa2
Fixed code formatting
2012-07-18 18:32:29 +00:00
Ray Speth
8b6c9a0bf7
Removed some deprecated functions
2012-07-16 22:18:11 +00:00
Ray Speth
3bff32dd55
Fixed problems that generated warnings with the Intel compiler
2012-03-07 00:51:13 +00:00
Ray Speth
6a9f3ea892
Marked some unused functions as deprecated
2012-03-01 00:44:31 +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
f74abb48f0
Fixed GCC warnings
2012-02-17 20:29:50 +00:00
Ray Speth
e8b04fb2b4
Fixed numerous compiler warnings from MSVC
2012-02-17 20:29:10 +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