Ray Speth
232e28d2c8
Check file modification time before reusing cached XML
2014-07-30 16:59:04 +00:00
Ray Speth
063c2a261a
Eliminate redundancy between get_XML_File and get_CTML_Tree
...
get_CTML_Tree and getCtmlTree are now deprecated in favor of get_XML_File
2014-07-30 16:58:55 +00:00
Ray Speth
6866725b57
Simplify implementation of get_XML_File
...
This is easier now that we don't have to write the XML file to disk
when importing from a CTI file.
2014-07-30 16:58:52 +00:00
Ray Speth
67539df9f2
Fix #includes to work with Visual Studio 2013
2014-07-25 18:32:57 +00:00
Ray Speth
19e3a09980
Allow '~/' as alias for user's home directory when importing cti/xml
2014-07-10 22:33:20 +00:00
Ray Speth
a470502932
[Transport] Replace transport_log.xml with regular text logging
...
Write plain text to the common Cantera logger to be more consistent with the
verbose/debug logging from other parts of Cantera. This simplifies several of
the transport initialization functions, and eliminates the need for class
XML_Writer.
2014-06-20 18:44:59 +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
4b9e4da822
Fix some compiler warnings
2014-05-27 02:53:35 +00:00
Ray Speth
6c0cea5ee4
Standardize function used for writing a line of repeated characters
2014-05-27 02:53:06 +00:00
Ray Speth
789574ac80
Remove commented-out code
2014-05-27 02:52:21 +00:00
Harry Moffat
675df76b1c
Fixed a long standing problem with the combination of storred XML files and duplicator functions.
...
Now the complete XML file is storred within the ThermPhase object starting with the root node.
This is needed for later processing of kinetics and transport mechanisms when the ThermoPhase
file is duplicated and the original file is deleted.
xml() is now a const function, and still returns the same pointer.
setXMLdata() is a new function will stores the xml data.
2014-05-20 19:02:20 +00:00
Ray Speth
7fff65cecd
Remove previously-deprecated 'PrintCtrl' and 'LogPrintCtrl' classes.
2014-05-08 23:01:32 +00:00
Ray Speth
54ded64e4b
Miscellaneous whitespace cleanup
2014-05-08 23:01:12 +00:00
Ray Speth
bc0346eae7
Avoid deadlocks in cti to ctml conversions on Windows
2014-05-06 14:39:48 +00:00
Ray Speth
8cfac61a83
Use configuration checks to determine names for 'isnan' and 'finite'
2014-05-03 17:39:33 +00:00
Ray Speth
beeaa21644
Deprecate unused stringUtils functions
2014-04-02 15:26:42 +00:00
Ray Speth
43546f870f
fpValueCheck detects (invalid) decimal ponts in exponents
2014-04-02 15:26:31 +00:00
Ray Speth
4a6dd84f81
[Thermo] Check composition strings for invalid float literals
2014-04-02 15:26:20 +00:00
Ray Speth
9e4ae0d050
Deprecate unused global 'error' function
2014-03-28 23:12:36 +00:00
Ray Speth
de8a19ed0f
Remove spaces adjacent to '::' in member function definitions
2014-03-24 04:03:30 +00:00
Ray Speth
95eb7ab3ba
Remove newline after '::' in member function definitions
...
This inconsistency makes it hard to directly search the code for a specific
member function definition.
2014-03-24 04:03:09 +00:00
Ray Speth
7556b828f9
Introduce a more general method of caching results
...
The ValueCache class is intended to standardize the method for implementing
value caching in Cantera, and to reduce the need to introduce additional member
variables to store cached variables and the thermodynamic state at which the
cached values were computed.
The initial usage is to replace the use of the m_tlast variable in IdealGasPhase
as an example.
2014-03-18 00:48:38 +00:00
Harry Moffat
b328e396b0
screwed up and didn't check in a complete fix
2014-03-06 17:37:41 +00:00
Harry Moffat
a58fc91f01
Added back a routine that caused numerous downstream failures.
2014-03-06 04:02:01 +00:00
Ray Speth
c7ba8bfb84
Remove abandoned autotools build system
2014-03-04 17:38:53 +00:00
Ray Speth
0392147540
Fix integer sign/size warnings in XML-related functions
2014-02-21 19:08:40 +00:00
Ray Speth
44847515ca
Fix compilation errors with isnan/isinf using Cygwin's GCC
2014-02-20 03:00:56 +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
3dc335565c
Fix missing include in application.cpp
...
Causes compilation errors on OS X 10.8.
2014-01-31 03:44:27 +00:00
Ray Speth
ff9584105b
Do implicit CTI to XML conversions without generating .xml files
...
When instantiating a phase from a .cti file, do the conversion in memory,
without writing the XML representation to disk. This eliminates the unrequrested
XML files that Cantera normally generates, and also avoids errors when running
Cantera from a directory where the user does not have write permissons.
2014-01-30 00:47:37 +00:00
Ray Speth
f3e0280716
Improve error handling when calling ck2cti and ctml_writer
...
Only look for modules in the new location (inside the cantera package), and
print the path if they aren't found, to aid in debugging.
2014-01-08 17:10:53 +00:00
Ray Speth
907bfa0a10
Eliminated possibility of throwing from XML_Node destructor
2014-01-06 18:45:52 +00:00
Ray Speth
ff75f77add
Remove unnecessary m_nchildren variable from XML_Node
2014-01-06 18:45:41 +00:00
Ray Speth
b7885ea84a
Simplify XML_Node::addChild implementations
2014-01-06 18:45:36 +00:00
Ray Speth
76a9c5e79c
Remove unnecessary overload of XML_Node::addChild
2014-01-06 18:45:31 +00:00
Ray Speth
607955b9f2
Remove unnecessary conditional surrounding 'delete' statements
2014-01-06 18:45:19 +00:00
Ray Speth
f63f8ae57e
Remove deprecated HTML logging functionality
2013-12-09 01:36:11 +00:00
Harry Moffat
cfa4493b51
Worked on fixing errors in the code that caused problems with downstream code.
...
Took out single_species compilation option
took out some deprecated warnings
Fixed an error in copy constructors for thermo.
Still an error with PYTHONPATH and the test suite
-- more to come.
2013-09-02 00:58:28 +00:00
Ray Speth
c885a88817
Use fully qualified names for isnan, isinf, and finite
...
Specify the versions in the global namespace, to avoid ambiguity
between these and the versions in namespace std that are available in
C++11.
2013-10-21 22:12:57 +00:00
Ray Speth
dab827d763
[ck2cti] Make permissive mode default when run from Matlab or C++
2013-09-12 16:04:13 +00:00
Ray Speth
8a58b12698
[ck2cti] Fix to work with Cython module when called from Matlab or C++
2013-09-12 16:04:04 +00:00
Ray Speth
957ddc97ae
Fix calls to ck2cti that pass through the C++ interface
2013-08-02 23:17:40 +00:00
Ray Speth
9a8dbf75f8
CTI to XML conversion works with either new or old Python module
2013-07-29 01:37:54 +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
ebd4df76ab
Fix some Doxygen warnings
2013-06-28 21:24:49 +00:00
Ray Speth
9b31092e90
Deprecate PrintCtrl and LogPrintCtrl
2013-06-24 15:21:46 +00:00
Ray Speth
496dfe31ce
Remove extraneous constructor for XML_Node
2013-06-13 22:50:35 +00:00
Ray Speth
843f2ad337
Deprecate ctml::getFloats
2013-06-06 15:33:11 +00:00